Class: Google::Apis::DisplayvideoV3::OnScreenPositionTargetingOptionDetails

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

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.



10100
10101
10102
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10100

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)


10098
10099
10100
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10098

def on_screen_position
  @on_screen_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10105
10106
10107
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 10105

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