Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation

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 upgrade a Smart Shopping campaign to a Performance Max campaign recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.



18988
18989
18990
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18988

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

Instance Attribute Details

#merchant_idFixnum

Output only. ID of Merchant Center account. Corresponds to the JSON property merchantId

Returns:

  • (Fixnum)


18980
18981
18982
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18980

def merchant_id
  @merchant_id
end

#sales_country_codeString

Output only. Country whose products from merchant's inventory should be included. Corresponds to the JSON property salesCountryCode

Returns:

  • (String)


18986
18987
18988
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18986

def sales_country_code
  @sales_country_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18993
18994
18995
18996
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18993

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