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.



15361
15362
15363
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15361

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)


15354
15355
15356
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15354

def feed_label
  @feed_label
end

#merchant_idFixnum

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

Returns:

  • (Fixnum)


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