Join us live on
Discord on the Google Advertising and Measurement Community server and on
YouTube on January 29th at 10:00 AM EST! We will discuss the new features added in v23 of the Google Ads API.
GenerateBenchmarksMetricsRequest
Stay organized with collections
Save and categorize content based on your preferences.
| Fields |
application_info
|
AdditionalApplicationInfo
Additional information on the application issuing the request.
|
benchmarks_source
|
BenchmarksSource
Required. The source used to generate benchmarks metrics for.
|
currency_code
|
string
Optional. The three-character ISO 4217 currency code. If unspecified, the default currency for monetary values is USD.
|
customer_benchmarks_group
|
string
The name of the customer being planned for. This is a user-defined value.
|
customer_id
|
string
Required. The ID of the customer. Supply a client customer ID to generate metrics for the customer. A manager account customer ID will not return customer metrics since it does not have any associated direct ad campaigns.
|
date_range
|
DateRange
The date range to aggregate metrics over. If unset, data will be returned for the most recent quarter for which data is available. Dates can be retrieved using BenchmarksService.ListBenchmarksAvailableDates.
|
location
|
LocationInfo
Required. The location to generate benchmarks metrics for.
|
product_filter
|
ProductFilter
Required. The products to aggregate metrics over. Product filter settings support a list of product IDs or a list of marketing objectives.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-22 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-22 UTC."],[],[]]