Class: Google::Apis::DisplayvideoV1::VideoPlayerSizeAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::VideoPlayerSizeAssignedTargetingOptionDetails
- 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
Video player size targeting option details. This will be populated in the
video_player_size_details field when targeting_type is
TARGETING_TYPE_VIDEO_PLAYER_SIZE
. Explicitly targeting all options is not
supported. Remove all video player size targeting options to achieve this
effect.
Instance Attribute Summary collapse
-
#targeting_option_id ⇒ String
Required.
-
#video_player_size ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ VideoPlayerSizeAssignedTargetingOptionDetails
constructor
A new instance of VideoPlayerSizeAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ VideoPlayerSizeAssignedTargetingOptionDetails
Returns a new instance of VideoPlayerSizeAssignedTargetingOptionDetails.
8385 8386 8387 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8385 def initialize(**args) update!(**args) end |
Instance Attribute Details
#targeting_option_id ⇒ String
Required. The targeting_option_id field when targeting_type is
TARGETING_TYPE_VIDEO_PLAYER_SIZE
.
Corresponds to the JSON property targetingOptionId
8378 8379 8380 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8378 def targeting_option_id @targeting_option_id end |
#video_player_size ⇒ String
Output only. The video player size.
Corresponds to the JSON property videoPlayerSize
8383 8384 8385 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8383 def video_player_size @video_player_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8390 8391 8392 8393 |
# File 'generated/google/apis/displayvideo_v1/classes.rb', line 8390 def update!(**args) @targeting_option_id = args[:targeting_option_id] if args.key?(:targeting_option_id) @video_player_size = args[:video_player_size] if args.key?(:video_player_size) end |