Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters

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

Parameters to use when applying a responsive search ad recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters

Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdParameters.



35131
35132
35133
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35131

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

Instance Attribute Details

#adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property ad



35129
35130
35131
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35129

def ad
  @ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35136
35137
35138
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35136

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