Class: Google::Apis::DisplayvideoV2::ViewabilityAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ViewabilityAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v2/classes.rb,
lib/google/apis/displayvideo_v2/representations.rb,
lib/google/apis/displayvideo_v2/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.
11945 11946 11947 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11945 def initialize(**args) update!(**args) end |
Instance Attribute Details
#viewability ⇒ String
Required. The predicted viewability percentage.
Corresponds to the JSON property viewability
11943 11944 11945 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11943 def viewability @viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11950 11951 11952 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11950 def update!(**args) @viewability = args[:viewability] if args.key?(:viewability) end |