Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation

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

The add responsive search ad recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdRecommendation.



18597
18598
18599
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18597

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

Instance Attribute Details

#adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property ad



18595
18596
18597
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18595

def ad
  @ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18602
18603
18604
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18602

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