Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters
- 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 text ad recommendation.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters
constructor
A new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters
Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationTextAdParameters.
35240 35241 35242 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35240 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad ⇒ Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd
An ad.
Corresponds to the JSON property ad
35238 35239 35240 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35238 def ad @ad end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
35245 35246 35247 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35245 def update!(**args) @ad = args[:ad] if args.key?(:ad) end |