Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYouTubeChannelInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

A YouTube Channel criterion.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYouTubeChannelInfo

Returns a new instance of GoogleAdsSearchads360V23CommonYouTubeChannelInfo.



13266
13267
13268
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13266

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

Instance Attribute Details

#channel_idString

The YouTube uploader channel id or the channel code of a YouTube channel. Corresponds to the JSON property channelId

Returns:

  • (String)


13264
13265
13266
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13264

def channel_id
  @channel_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13271
13272
13273
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13271

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