class Google::Apis::DisplayvideoV1::ViewabilityAssignedTargetingOptionDetails

Assigned viewability targeting option details. This will be populated in the viewability_details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_VIEWABILITY`.

Attributes

targeting_option_id[RW]

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` @return [String]

viewability[RW]

Output only. The predicted viewability percentage. Corresponds to the JSON property `viewability` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 9657
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/displayvideo_v1/classes.rb, line 9662
def update!(**args)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
  @viewability = args[:viewability] if args.key?(:viewability)
end