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.



17800
17801
17802
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17800

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)


17793
17794
17795
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17793

def customer_id
  @customer_id
end

#descriptive_nameString

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

Returns:

  • (String)


17798
17799
17800
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17798

def descriptive_name
  @descriptive_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17805
17806
17807
17808
# File 'lib/google/apis/searchads360_v23/classes.rb', line 17805

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