Class: Google::Apis::DisplayvideoV1::ViewabilityTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/displayvideo_v1/classes.rb,
generated/google/apis/displayvideo_v1/representations.rb,
generated/google/apis/displayvideo_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ViewabilityTargetingOptionDetails

Returns a new instance of ViewabilityTargetingOptionDetails.



8457
8458
8459
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8457

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#viewabilityString

Output only. The predicted viewability percentage. Corresponds to the JSON property viewability

Returns:

  • (String)


8455
8456
8457
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8455

def viewability
  @viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8462
8463
8464
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8462

def update!(**args)
  @viewability = args[:viewability] if args.key?(:viewability)
end