Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel

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 returned as an example of the content in a lineup.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel

Returns a new instance of GoogleAdsSearchads360V23CommonLineupAttributeMetadataSampleChannel.



401
402
403
# File 'lib/google/apis/searchads360_v23/classes.rb', line 401

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

Instance Attribute Details

#display_nameString

The name of the sample channel. Corresponds to the JSON property displayName

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/searchads360_v23/classes.rb', line 389

def display_name
  @display_name
end

#youtube_channelGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYouTubeChannelInfo

A YouTube Channel criterion. Corresponds to the JSON property youtubeChannel



394
395
396
# File 'lib/google/apis/searchads360_v23/classes.rb', line 394

def youtube_channel
  @youtube_channel
end

#youtube_channel_metadataGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata

Metadata associated with a YouTube channel attribute. Corresponds to the JSON property youtubeChannelMetadata



399
400
401
# File 'lib/google/apis/searchads360_v23/classes.rb', line 399

def 
  @youtube_channel_metadata
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



406
407
408
409
410
# File 'lib/google/apis/searchads360_v23/classes.rb', line 406

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