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.



6003
6004
6005
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6003

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>)


6001
6002
6003
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6001

def aggregate_metric_types
  @aggregate_metric_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6008
6009
6010
# File 'lib/google/apis/searchads360_v23/classes.rb', line 6008

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