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.



13247
13248
13249
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13247

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)


13245
13246
13247
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13245

def subscriber_count
  @subscriber_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13252
13253
13254
# File 'lib/google/apis/searchads360_v23/classes.rb', line 13252

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