GenerateKeywordForecastMetrics

  • The GenerateKeywordForecastMetrics RPC returns metrics like impressions, clicks, and total cost for a keyword forecast for a given campaign.

  • This RPC requires the OAuth scope https://www.googleapis.com/auth/adwords for authorization.

  • The function can throw various errors including AuthenticationError, AuthorizationError, and QuotaError.

GenerateKeywordForecastMetrics

rpc GenerateKeywordForecastMetrics(GenerateKeywordForecastMetricsRequest) returns (GenerateKeywordForecastMetricsResponse)

Returns metrics (such as impressions, clicks, total cost) of a keyword forecast for the given campaign.

List of thrown errors: AuthenticationError AuthorizationError CollectionSizeError HeaderError InternalError QuotaError RequestError

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/adwords

For more information, see the OAuth 2.0 Overview.