Class: Google::Apis::DisplayvideoV2::OnScreenPositionTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::OnScreenPositionTargetingOptionDetails
- 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
-
#on_screen_position ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OnScreenPositionTargetingOptionDetails
constructor
A new instance of OnScreenPositionTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_position ⇒ String
Output only. The on screen position.
Corresponds to the JSON property onScreenPosition
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 |