<button default="" value="grpc">gRPC</button> <button value="rest">REST</button>

| ### GenerateKeywordHistoricalMetrics |
|---|
| `` rpc GenerateKeywordHistoricalMetrics(`https://developers.google.com/google-ads/api/reference/rpc/v26/GenerateKeywordHistoricalMetricsRequest`) returns (`https://developers.google.com/google-ads/api/reference/rpc/v26/GenerateKeywordHistoricalMetricsResponse`) `` Returns a list of keyword historical metrics. List of thrown errors: [AuthenticationError](https://developers.google.com/google-ads/api/reference/rpc/v26/AuthenticationErrorEnum.AuthenticationError) [AuthorizationError](https://developers.google.com/google-ads/api/reference/rpc/v26/AuthorizationErrorEnum.AuthorizationError) [CollectionSizeError](https://developers.google.com/google-ads/api/reference/rpc/v26/CollectionSizeErrorEnum.CollectionSizeError) [HeaderError](https://developers.google.com/google-ads/api/reference/rpc/v26/HeaderErrorEnum.HeaderError) [InternalError](https://developers.google.com/google-ads/api/reference/rpc/v26/InternalErrorEnum.InternalError) [QuotaError](https://developers.google.com/google-ads/api/reference/rpc/v26/QuotaErrorEnum.QuotaError) [RequestError](https://developers.google.com/google-ads/api/reference/rpc/v26/RequestErrorEnum.RequestError) |

Authorization scopes

:   Requires the following OAuth scope:

    - `https://www.googleapis.com/auth/adwords`

    For more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2).