Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdImproveAdStrengthRecommendation.



18577
18578
18579
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18577

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

Instance Attribute Details

#current_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property currentAd



18570
18571
18572
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18570

def current_ad
  @current_ad
end

An ad. Corresponds to the JSON property recommendedAd



18575
18576
18577
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18575

def recommended_ad
  @recommended_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18582
18583
18584
18585
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18582

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