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.



18860
18861
18862
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18860

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)


18848
18849
18850
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18848

def feed_label
  @feed_label
end

#merchantGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationMerchantInfo

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



18853
18854
18855
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18853

def merchant
  @merchant
end

#untargeted_offers_countFixnum

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

Returns:

  • (Fixnum)


18858
18859
18860
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18858

def untargeted_offers_count
  @untargeted_offers_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18865
18866
18867
18868
18869
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18865

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