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.



13326
13327
13328
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13326

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)


13324
13325
13326
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13324

def channel_id
  @channel_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13331
13332
13333
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13331

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