Class: Google::Apis::DisplayvideoV3::YoutubeChannelPackAssignedTargetingOptionDetails

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/displayvideo_v3/classes.rb,
lib/google/apis/displayvideo_v3/representations.rb,
lib/google/apis/displayvideo_v3/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ YoutubeChannelPackAssignedTargetingOptionDetails

Returns a new instance of YoutubeChannelPackAssignedTargetingOptionDetails.



14048
14049
14050
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 14048

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#channel_pack_idFixnum

Required. The ID of the YouTube channel pack. Corresponds to the JSON property channelPackId

Returns:

  • (Fixnum)


14040
14041
14042
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 14040

def channel_pack_id
  @channel_pack_id
end

#negativeBoolean Also known as: negative?

Optional. Indicates if this option is being negatively targeted. Corresponds to the JSON property negative

Returns:

  • (Boolean)


14045
14046
14047
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 14045

def negative
  @negative
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14053
14054
14055
14056
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 14053

def update!(**args)
  @channel_pack_id = args[:channel_pack_id] if args.key?(:channel_pack_id)
  @negative = args[:negative] if args.key?(:negative)
end