Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation

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 asset recommendation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation

Returns a new instance of GoogleAdsSearchads360V23ResourcesRecommendationResponsiveSearchAdAssetRecommendation.



18612
18613
18614
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18612

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

Instance Attribute Details

#current_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property currentAd



18605
18606
18607
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18605

def current_ad
  @current_ad
end

An ad. Corresponds to the JSON property recommendedAssets



18610
18611
18612
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18610

def recommended_assets
  @recommended_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18617
18618
18619
18620
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18617

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