Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters

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 improve ad strength recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters

Returns a new instance of GoogleAdsSearchads360V23ServicesApplyRecommendationOperationResponsiveSearchAdImproveAdStrengthParameters.



35112
35113
35114
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35112

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

Instance Attribute Details

#updated_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property updatedAd



35110
35111
35112
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35110

def updated_ad
  @updated_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35117
35118
35119
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35117

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