AI-generated Key Takeaways
-
The
GenerateKeywordForecastMetricsrequest message is used for generating keyword forecast metrics. -
The request requires a
customer_id, acampaignto forecast, and optionally aforecast_periodandcurrency_code. -
The
forecast_periodmust be in the future and within one year, defaulting to next Sunday to the following Saturday if not set. -
The
currency_codecan be set if a different currency than the customer's account currency is needed.
Request message for KeywordPlanIdeaService.GenerateKeywordForecastMetrics.
| Fields | |
|---|---|
|
The ID of the customer. |
|
The date range for the forecast. The start date must be in the future and end date must be within 1 year from today. The reference timezone used is the one of the Google Ads account belonging to the customer. If not set, a default date range from next Sunday to the following Saturday will be used. |
|
Required. The campaign used in the forecast. |
|
The currency used for exchange rate conversion. By default, the account currency of the customer is used. Set this field only if the currency is different from the account currency. The list of valid currency codes can be found at https://developers.google.com/google-ads/api/data/codes-formats#currency-codes. |