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.



18511
18512
18513
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18511

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

Instance Attribute Details

#current_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property currentAd



18504
18505
18506
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18504

def current_ad
  @current_ad
end

An ad. Corresponds to the JSON property recommendedAd



18509
18510
18511
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18509

def recommended_ad
  @recommended_ad
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18516
18517
18518
18519
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18516

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