Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo

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

The Merchant Center account details.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo.



18316
18317
18318
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18316

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

Instance Attribute Details

#idFixnum

Output only. The Merchant Center account ID. Corresponds to the JSON property id

Returns:

  • (Fixnum)


18302
18303
18304
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18302

def id
  @id
end

#multi_clientBoolean Also known as: multi_client?

Output only. Whether the Merchant Center account is a Multi-Client account ( MCA). Corresponds to the JSON property multiClient

Returns:

  • (Boolean)


18308
18309
18310
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18308

def multi_client
  @multi_client
end

#nameString

Output only. The name of the Merchant Center account. Corresponds to the JSON property name

Returns:

  • (String)


18314
18315
18316
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18314

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18321
18322
18323
18324
18325
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18321

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