Class: Google::Apis::DisplayvideoV2::OnScreenPositionTargetingOptionDetails

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



9411
9412
9413
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9411

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)


9409
9410
9411
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9409

def on_screen_position
  @on_screen_position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9416
9417
9418
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 9416

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