Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation

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

The shopping recommendation to create a catch-all campaign that targets all offers.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationShoppingTargetAllOffersRecommendation.



18734
18735
18736
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18734

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#feed_labelString

Output only. The offer feed label. Corresponds to the JSON property feedLabel

Returns:

  • (String)


18722
18723
18724
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18722

def feed_label
  @feed_label
end

#merchantGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo

The Merchant Center account details. Corresponds to the JSON property merchant



18727
18728
18729
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18727

def merchant
  @merchant
end

#untargeted_offers_countFixnum

Output only. The number of untargeted offers. Corresponds to the JSON property untargetedOffersCount

Returns:

  • (Fixnum)


18732
18733
18734
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18732

def untargeted_offers_count
  @untargeted_offers_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18739
18740
18741
18742
18743
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18739

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