Class: Google::Apis::DisplayvideoV1::ViewabilityAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::ViewabilityAssignedTargetingOptionDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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
-
#targeting_option_id ⇒ String
Required.
-
#viewability ⇒ String
Output only.
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.
8798 8799 8800 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8798 def initialize(**args) update!(**args) end |
Instance Attribute Details
#targeting_option_id ⇒ String
Required. The targeting_option_id of a TargetingOption of type
TARGETING_TYPE_VIEWABILITY (e.g., "509010" for targeting the
VIEWABILITY_10_PERCENT_OR_MORE option).
Corresponds to the JSON property targetingOptionId
8791 8792 8793 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8791 def targeting_option_id @targeting_option_id end |
#viewability ⇒ String
Output only. The predicted viewability percentage.
Corresponds to the JSON property viewability
8796 8797 8798 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8796 def viewability @viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8803 8804 8805 8806 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 8803 def update!(**args) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) @viewability = args[:viewability] if args.key?(:viewability) end |