Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata

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

Metadata associated with a YouTube channel attribute.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata

Returns a new instance of GoogleAdsSearchads360V23CommonYouTubeChannelAttributeMetadata.



13181
13182
13183
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13181

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

Instance Attribute Details

#subscriber_countFixnum

The approximate number of subscribers to the YouTube channel. Corresponds to the JSON property subscriberCount

Returns:

  • (Fixnum)


13179
13180
13181
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13179

def subscriber_count
  @subscriber_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13186
13187
13188
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13186

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