Class: Google::Apis::DisplayvideoV2::ViewabilityTargetingOptionDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ViewabilityTargetingOptionDetails

Returns a new instance of ViewabilityTargetingOptionDetails.



11767
11768
11769
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11767

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

Instance Attribute Details

#viewabilityString

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

Returns:

  • (String)


11765
11766
11767
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11765

def viewability
  @viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11772
11773
11774
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11772

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