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.



41597
41598
41599
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41597

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



41595
41596
41597
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41595

def suggestions
  @suggestions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41602
41603
41604
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41602

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