Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics

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

The aggregate metrics specification of the request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics

Returns a new instance of GoogleAdsSearchads360V23CommonKeywordPlanAggregateMetrics.



6063
6064
6065
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6063

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

Instance Attribute Details

#aggregate_metric_typesArray<String>

The list of aggregate metrics to fetch data. Corresponds to the JSON property aggregateMetricTypes

Returns:

  • (Array<String>)


6061
6062
6063
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6061

def aggregate_metric_types
  @aggregate_metric_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6068
6069
6070
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6068

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