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.



18552
18553
18554
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18552

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

Instance Attribute Details

#current_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property currentAd



18545
18546
18547
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18545

def current_ad
  @current_ad
end

An ad. Corresponds to the JSON property recommendedAssets



18550
18551
18552
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18550

def recommended_assets
  @recommended_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18557
18558
18559
18560
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18557

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