Class: Google::Apis::DisplayvideoV2::YoutubeVideoAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeVideoAssignedTargetingOptionDetails
- 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
Details for YouTube video assigned targeting option. This will be populated in
the youtube_video_details field when targeting_type is
TARGETING_TYPE_YOUTUBE_VIDEO.
Instance Attribute Summary collapse
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
-
#video_id ⇒ String
YouTube video id as it appears on the YouTube watch page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeVideoAssignedTargetingOptionDetails
constructor
A new instance of YoutubeVideoAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeVideoAssignedTargetingOptionDetails
Returns a new instance of YoutubeVideoAssignedTargetingOptionDetails.
12435 12436 12437 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12435 def initialize(**args) update!(**args) end |
Instance Attribute Details
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
12427 12428 12429 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12427 def negative @negative end |
#video_id ⇒ String
YouTube video id as it appears on the YouTube watch page.
Corresponds to the JSON property videoId
12433 12434 12435 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12433 def video_id @video_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12440 12441 12442 12443 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12440 def update!(**args) @negative = args[:negative] if args.key?(:negative) @video_id = args[:video_id] if args.key?(:video_id) end |