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.
15295 15296 15297 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15295 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
15288 15289 15290 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15288 def feed_label @feed_label end |
#merchant_id ⇒ Fixnum
Required. Merchant ID from Google Merchant Center
Corresponds to the JSON property merchantId
15293 15294 15295 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15293 def merchant_id @merchant_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15300 15301 15302 15303 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15300 def update!(**args) @feed_label = args[:feed_label] if args.key?(:feed_label) @merchant_id = args[:merchant_id] if args.key?(:merchant_id) end |