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.



35092
35093
35094
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35092

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

Instance Attribute Details

#updated_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property updatedAd



35090
35091
35092
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35090

def updated_ad
  @updated_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



35097
35098
35099
# File 'lib/google/apis/searchads360_v23/classes.rb', line 35097

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