Class: Google::Apis::DisplayvideoV1::OnScreenPositionTargetingOptionDetails

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 on screen position, which could be used by display and video ads. This will be populated in the on_screen_position_details field when targeting_type is TARGETING_TYPE_ON_SCREEN_POSITION.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OnScreenPositionTargetingOptionDetails

Returns a new instance of OnScreenPositionTargetingOptionDetails.



6643
6644
6645
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6643

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

Instance Attribute Details

#on_screen_positionString

Output only. The on screen position. Corresponds to the JSON property onScreenPosition

Returns:

  • (String)


6641
6642
6643
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6641

def on_screen_position
  @on_screen_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6648
6649
6650
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 6648

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