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.



18256
18257
18258
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18256

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)


18242
18243
18244
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18242

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)


18248
18249
18250
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18248

def multi_client
  @multi_client
end

#nameString

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

Returns:

  • (String)


18254
18255
18256
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18254

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18261
18262
18263
18264
18265
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18261

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