class Google::Apis::DisplayvideoV1::OnScreenPositionAssignedTargetingOptionDetails

On screen position targeting option details. This will be populated in the on_screen_position_details field when targeting_type is ` TARGETING_TYPE_ON_SCREEN_POSITION`.

Attributes

ad_type[RW]

Output only. The ad type to target. Only applicable to insertion order targeting and new line items supporting the specified ad type will inherit this targeting option by default. Possible values are: * `AD_TYPE_DISPLAY`, the setting will be inherited by new line item when line_item_type is ` LINE_ITEM_TYPE_DISPLAY_DEFAULT`. * `AD_TYPE_VIDEO`, the setting will be inherited by new line item when line_item_type is ` LINE_ITEM_TYPE_VIDEO_DEFAULT`. Corresponds to the JSON property `adType` @return [String]

on_screen_position[RW]

Output only. The on screen position. Corresponds to the JSON property `onScreenPosition` @return [String]

targeting_option_id[RW]

Required. The targeting_option_id field when targeting_type is ` TARGETING_TYPE_ON_SCREEN_POSITION`. Corresponds to the JSON property `targetingOptionId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/displayvideo_v1/classes.rb, line 7531
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 7536
def update!(**args)
  @ad_type = args[:ad_type] if args.key?(:ad_type)
  @on_screen_position = args[:on_screen_position] if args.key?(:on_screen_position)
  @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id)
end