This endpoint is available only to specific developers. Contact your Roku representative to learn how to gain access.
Forecasts show the total attainable reach (household audience size) for an ad group’s given location and placement, so you can compare how different targeting choices affect your potential reach.
How forecasting works
You send the settings that define where and when the ad group would run and who it would target, and Ads API returns the household reach that configuration can attain.
The inputs that shape a forecast are:
- Flight dates - The date and time that the ad group starts and ends.
- Placement - Where the ads can run.
- Location targeting (optional) - The countries, states or territories, metro markets, and postal codes that you include or exclude.
- Audience targeting (optional) - The age, gender, demographics, household income, and custom audiences that you include or exclude.
Narrower targeting generally reduces the reach that a forecast returns. For more information about audiences, see About standard audiences and About custom audiences.
Create a forecast
Make a POST Create forecasts call /v1/developer/forecasts). Pass the forecast settings in the request body, inside a data object with a type of forecast and the settings under attributes.
Required parameters
| Parameter | Type | Description |
|---|---|---|
start_at | string | The ad group start date and time, in ISO 8601 format (for example, 2026-11-01T00:00:00Z) |
end_at | string | The ad group end date and time, in ISO 8601 format |
placement | object | Where the ads can run. This can be an array of strings with supported values:
|
Optional parameters
Include the following fields in data.attributes to refine the forecast. If you omit them, the forecast doesn't apply that targeting. Currently the only supported country value is United States.
| Parameter | Type | Description |
|---|---|---|
location_targeting | object | The geographic targeting criteria to include or exclude for the forecast |
audience_targeting | object | The standard or custom audiences to include or exclude for the forecast. Specify standard audiences by name and custom audiences by uid. See About standard audiences and About custom audiences for more information. |
Forecast response
Each reach_forecast object contains the following fields under household.attainable_reach:
daily- the number of households the ad group can reach in a single day.cumulative- the number of households the ad group can reach over the flight dates.