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.



18486
18487
18488
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18486

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

Instance Attribute Details

#current_adGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesAd

An ad. Corresponds to the JSON property currentAd



18479
18480
18481
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18479

def current_ad
  @current_ad
end

An ad. Corresponds to the JSON property recommendedAssets



18484
18485
18486
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18484

def recommended_assets
  @recommended_assets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18491
18492
18493
18494
# File 'lib/google/apis/searchads360_v23/classes.rb', line 18491

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