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.



40944
40945
40946
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40944

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



40937
40938
40939
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40937

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



40942
40943
40944
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40942

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



40949
40950
40951
40952
# File 'lib/google/apis/searchads360_v23/classes.rb', line 40949

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