Class: Google::Apis::DisplayvideoV3::ViewabilityAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV3::ViewabilityAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/representations.rb
Overview
Assigned viewability targeting option details. This will be populated in the
viewability_details field of an AssignedTargetingOption when targeting_type is
TARGETING_TYPE_VIEWABILITY
.
Instance Attribute Summary collapse
-
#viewability ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ViewabilityAssignedTargetingOptionDetails
constructor
A new instance of ViewabilityAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ViewabilityAssignedTargetingOptionDetails
Returns a new instance of ViewabilityAssignedTargetingOptionDetails.
12714 12715 12716 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12714 def initialize(**args) update!(**args) end |
Instance Attribute Details
#viewability ⇒ String
Required. The predicted viewability percentage.
Corresponds to the JSON property viewability
12712 12713 12714 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12712 def viewability @viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12719 12720 12721 |
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12719 def update!(**args) @viewability = args[:viewability] if args.key?(:viewability) end |