Class: Google::Apis::DisplayvideoV2::YoutubeChannelPackAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeChannelPackAssignedTargetingOptionDetails
- 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 channel pack assigned targeting option. This will be
populated in the youtube_channel_pack_details field when targeting_type is
TARGETING_TYPE_YOUTUBE_CHANNEL_PACK.
Instance Attribute Summary collapse
-
#channel_pack_id ⇒ Fixnum
Required.
-
#negative ⇒ Boolean
(also: #negative?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeChannelPackAssignedTargetingOptionDetails
constructor
A new instance of YoutubeChannelPackAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeChannelPackAssignedTargetingOptionDetails
Returns a new instance of YoutubeChannelPackAssignedTargetingOptionDetails.
11613 11614 11615 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11613 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_pack_id ⇒ Fixnum
Required. The ID of the YouTube channel pack.
Corresponds to the JSON property channelPackId
11605 11606 11607 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11605 def channel_pack_id @channel_pack_id end |
#negative ⇒ Boolean Also known as: negative?
Optional. Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
11610 11611 11612 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11610 def negative @negative end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
11618 11619 11620 11621 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 11618 def update!(**args) @channel_pack_id = args[:channel_pack_id] if args.key?(:channel_pack_id) @negative = args[:negative] if args.key?(:negative) end |