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.



18190
18191
18192
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18190

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)


18176
18177
18178
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18176

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)


18182
18183
18184
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18182

def multi_client
  @multi_client
end

#nameString

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

Returns:

  • (String)


18188
18189
18190
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18188

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18195
18196
18197
18198
18199
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18195

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