Class: Google::Apis::DisplayvideoV2::VideoPlayerSizeAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::VideoPlayerSizeAssignedTargetingOptionDetails
- 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
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
-
#video_player_size ⇒ String
Required.
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.
11903 11904 11905 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11903 def initialize(**args) update!(**args) end |
Instance Attribute Details
#video_player_size ⇒ String
Required. The video player size.
Corresponds to the JSON property videoPlayerSize
11901 11902 11903 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11901 def video_player_size @video_player_size end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11908 11909 11910 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11908 def update!(**args) @video_player_size = args[:video_player_size] if args.key?(:video_player_size) end |