Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed
- 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
Merchant ID and Feed Label from Google Merchant Center.
Instance Attribute Summary collapse
-
#feed_label ⇒ String
Optional.
-
#merchant_id ⇒ Fixnum
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed
constructor
A new instance of GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed
Returns a new instance of GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed.
15361 15362 15363 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15361 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feed_label ⇒ String
Optional. Feed Label from Google Merchant Center.
Corresponds to the JSON property feedLabel
15354 15355 15356 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15354 def feed_label @feed_label end |
#merchant_id ⇒ Fixnum
Required. Merchant ID from Google Merchant Center
Corresponds to the JSON property merchantId
15359 15360 15361 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15359 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15366 15367 15368 15369 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15366 def update!(**args) @feed_label = args[:feed_label] if args.key?(:feed_label) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |