Class: Google::Apis::DisplayvideoV2::YoutubeChannelAssignedTargetingOptionDetails
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::YoutubeChannelAssignedTargetingOptionDetails
- 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 assigned targeting option. This will be populated
in the youtube_channel_details field when targeting_type is
TARGETING_TYPE_YOUTUBE_CHANNEL.
Instance Attribute Summary collapse
-
#channel_id ⇒ String
The YouTube uploader channel id or the channel code of a YouTube channel.
-
#negative ⇒ Boolean
(also: #negative?)
Indicates if this option is being negatively targeted.
Instance Method Summary collapse
-
#initialize(**args) ⇒ YoutubeChannelAssignedTargetingOptionDetails
constructor
A new instance of YoutubeChannelAssignedTargetingOptionDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ YoutubeChannelAssignedTargetingOptionDetails
Returns a new instance of YoutubeChannelAssignedTargetingOptionDetails.
12407 12408 12409 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12407 def initialize(**args) update!(**args) end |
Instance Attribute Details
#channel_id ⇒ String
The YouTube uploader channel id or the channel code of a YouTube channel.
Corresponds to the JSON property channelId
12399 12400 12401 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12399 def channel_id @channel_id end |
#negative ⇒ Boolean Also known as: negative?
Indicates if this option is being negatively targeted.
Corresponds to the JSON property negative
12404 12405 12406 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12404 def negative @negative end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12412 12413 12414 12415 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 12412 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @negative = args[:negative] if args.key?(:negative) end |