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.



15421
15422
15423
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15421

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)


15414
15415
15416
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15414

def feed_label
  @feed_label
end

#merchant_idFixnum

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

Returns:

  • (Fixnum)


15419
15420
15421
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15419

def merchant_id
  @merchant_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15426
15427
15428
15429
# File 'lib/google/apis/searchads360_v23/classes.rb', line 15426

def update!(**args)
  @feed_label = args[:feed_label] if args.key?(:feed_label)
  @merchant_id = args[:merchant_id] if args.key?(:merchant_id)
end