Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation
- 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
-
#merchant_id ⇒ Fixnum
Output only.
-
#sales_country_code ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation
constructor
A new instance of GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation
Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationUpgradeSmartShoppingCampaignToPerformanceMaxRecommendation.
18922 18923 18924 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#merchant_id ⇒ Fixnum
Output only. ID of Merchant Center account.
Corresponds to the JSON property merchantId
18914 18915 18916 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18914 def merchant_id @merchant_id end |
#sales_country_code ⇒ String
Output only. Country whose products from merchant's inventory should be
included.
Corresponds to the JSON property salesCountryCode
18920 18921 18922 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18920 def sales_country_code @sales_country_code end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18927 18928 18929 18930 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18927 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 |