Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse

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 KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse

Returns a new instance of GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResponse.



41637
41638
41639
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41637

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

Instance Attribute Details

#aggregate_metric_resultsGoogle::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetricResults

The aggregated historical metrics for keyword plan keywords. Corresponds to the JSON property aggregateMetricResults



41630
41631
41632
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41630

def aggregate_metric_results
  @aggregate_metric_results
end

#resultsArray<Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesGenerateKeywordHistoricalMetricsResult>

List of keywords and their historical metrics. Corresponds to the JSON property results



41635
41636
41637
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41635

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41642
41643
41644
41645
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41642

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