Class: Google::Apis::DisplayvideoV2::ViewabilityTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::ViewabilityTargetingOptionDetails
- 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
Represents a targetable viewability. This will be populated in the
viewability_details field of a TargetingOption when targeting_type is
TARGETING_TYPE_VIEWABILITY
.
Instance Attribute Summary collapse
-
#viewability ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ViewabilityTargetingOptionDetails
constructor
A new instance of ViewabilityTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ViewabilityTargetingOptionDetails
Returns a new instance of ViewabilityTargetingOptionDetails.
11966 11967 11968 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11966 def initialize(**args) update!(**args) end |
Instance Attribute Details
#viewability ⇒ String
Output only. The predicted viewability percentage.
Corresponds to the JSON property viewability
11964 11965 11966 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11964 def viewability @viewability end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11971 11972 11973 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11971 def update!(**args) @viewability = args[:viewability] if args.key?(:viewability) end |