Class: Google::Apis::DisplayvideoV3::ViewabilityAssignedTargetingOptionDetails

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ViewabilityAssignedTargetingOptionDetails

Returns a new instance of ViewabilityAssignedTargetingOptionDetails.



12714
12715
12716
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12714

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

Instance Attribute Details

#viewabilityString

Required. The predicted viewability percentage. Corresponds to the JSON property viewability

Returns:

  • (String)


12712
12713
12714
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12712

def viewability
  @viewability
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12719
12720
12721
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 12719

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