Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse

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

Response message for AudienceInsightsService. GenerateTargetingSuggestionMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateTargetingSuggestionMetricsResponse.



42362
42363
42364
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42362

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

Instance Attribute Details

#suggestionsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesTargetingSuggestionMetrics>

Suggested targetable audiences. There will be one suggestion for each GenerateTargetingSuggestionMetricsRequest.audiences requested, matching the order requested. Corresponds to the JSON property suggestions



42360
42361
42362
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42360

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42367
42368
42369
# File 'lib/google/apis/searchads360_v23/classes.rb', line 42367

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