---
title: "POST /v23/customers/{+customerId}:generateBenchmarksMetrics"
method: POST
path: "/v23/customers/{+customerId}:generateBenchmarksMetrics"
tags: ["customers"]
---

# POST /v23/customers/{+customerId}:generateBenchmarksMetrics

`POST /v23/customers/{+customerId}:generateBenchmarksMetrics`

Returns YouTube advertisement metrics for the given client against industry benchmarks. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [BenchmarksError]() [FieldError]() [HeaderError]() [InternalError]() [QuotaError]() [RangeError]() [RequestError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesGenerateBenchmarksMetricsRequest — Request message for BenchmarksService.GenerateBenchmarksMetrics.
  - `benchmarksSource` GoogleAdsSearchads360V23ServicesBenchmarksSource — The source used to generate benchmarks metrics for. The ID of the source can be obtained from BenchmarksService.ListBenchmarksSources.
    - `industryVerticalId` string, int64 — The ID of the Industry Vertical.
  - `customerBenchmarksGroup` string — The name of the customer being planned for. This is a user-defined value.
  - `location` GoogleAdsSearchads360V23CommonLocationInfo — A location criterion.
    - `geoTargetConstant` string — The geo target constant resource name.
  - `productFilter` GoogleAdsSearchads360V23ServicesProductFilter — The type and list of products to aggregate benchmarks metrics over.
    - `productList` GoogleAdsSearchads360V23ServicesProductFilterProductList — The list of products to generate benchmarks metrics for.
      - `productCodes` string[] — Required. Products to generate benchmarks metrics for.
    - `marketingObjectiveList` GoogleAdsSearchads360V23ServicesProductFilterMarketingObjectiveList — The list of marketing objectives to generate benchmarks metrics for.
      - `marketingObjectives` string[] — Required. Marketing objectives to generate benchmarks metrics for.
  - `currencyCode` string — Optional. The three-character ISO 4217 currency code. If unspecified, the default currency for monetary values is USD.
  - `applicationInfo` GoogleAdsSearchads360V23CommonAdditionalApplicationInfo — Additional information about the application/tool issuing the request. This field is only used by ContentCreatorInsightsService, AudienceInsightsService, and ReachPlanService APIs.
    - `applicationInstance` 'UNSPECIFIED' | 'UNKNOWN' | 'DEVELOPMENT_AND_TESTING' | 'PRODUCTION' — The instance type of the application sending the request.
    - `applicationId` string — The unique identifier of the agency proprietary application. This identifier is generated by Google. Reach out to your Google representative to request an application_id for each new application being integrated.
  - `dateRange` GoogleAdsSearchads360V23CommonDateRange — A date range.
    - `startDate` string — The start date, in yyyy-mm-dd format. This date is inclusive.
    - `endDate` string — The end date, in yyyy-mm-dd format. This date is inclusive.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/searchads360.md) · [All operations](https://skmtc.net/google/apis/searchads360/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/searchads360/revisions/40d087435afd/schema)
