Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest

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

Request message for SmartCampaignSuggestService.SuggestSmartCampaignAd.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest

Returns a new instance of GoogleAdsSearchads360V23ServicesSuggestSmartCampaignAdRequest.



54636
54637
54638
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54636

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

Instance Attribute Details

#suggestion_infoGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSmartCampaignSuggestionInfo

Information needed to get suggestion for Smart Campaign. More information provided will help the system to derive better suggestions. Corresponds to the JSON property suggestionInfo



54634
54635
54636
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54634

def suggestion_info
  @suggestion_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54641
54642
54643
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54641

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