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.



35266
35267
35268
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35266

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

Instance Attribute Details

#updated_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property updatedAd



35264
35265
35266
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35264

def updated_ad
  @updated_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35271
35272
35273
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35271

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