Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters

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 asset recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters

Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdAssetParameters.



35194
35195
35196
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35194

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

Instance Attribute Details

#updated_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property updatedAd



35192
35193
35194
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35192

def updated_ad
  @updated_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35199
35200
35201
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35199

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