Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo

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

Wrapper for information about a Google Ads account.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationAccountInfo.



17734
17735
17736
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17734

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

Instance Attribute Details

#customer_idFixnum

Output only. The customer ID of the account. Corresponds to the JSON property customerId

Returns:

  • (Fixnum)


17727
17728
17729
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17727

def customer_id
  @customer_id
end

#descriptive_nameString

Output only. The descriptive name of the account. Corresponds to the JSON property descriptiveName

Returns:

  • (String)


17732
17733
17734
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17732

def descriptive_name
  @descriptive_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17739
17740
17741
17742
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17739

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