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.



41709
41710
41711
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41709

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



41702
41703
41704
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41702

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



41707
41708
41709
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41707

def results
  @results
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41714
41715
41716
41717
# File 'lib/google/apis/searchads360_v23/classes.rb', line 41714

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