Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAssetSetMerchantCenterFeed

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

Merchant ID and Feed Label from Google Merchant Center.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_labelString

Optional. Feed Label from Google Merchant Center. Corresponds to the JSON property feedLabel

Returns:

  • (String)


15288
15289
15290
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15288

def feed_label
  @feed_label
end

#merchant_idFixnum

Required. Merchant ID from Google Merchant Center Corresponds to the JSON property merchantId

Returns:

  • (Fixnum)


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