type ForecastBreakdownOptions (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Configuration of forecast breakdown.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
timeWindows
|
DateTime[]
The boundaries of time windows to configure time breakdown.
By default, the time window of the forecasted LineItem is assumed if none are
explicitly specified in this field. But if set, at least two
DateTimes are
needed to define the boundaries of minimally one time window.
Also, the time boundaries are required to be in the same time
zone, in strictly ascending order.
|
targets
|
ForecastBreakdownTarget[]
For each time window, these are the breakdown targets. If none specified, the targeting of the
forecasted LineItem is assumed.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eForecastBreakdownOptions allow configuration of how forecast data is broken down for analysis.\u003c/p\u003e\n"],["\u003cp\u003eIt includes options for defining custom time windows for breakdown using \u003ccode\u003etimeWindows\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eBreakdown can be further customized by specifying targeting criteria within each time window using \u003ccode\u003etargets\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIf \u003ccode\u003etimeWindows\u003c/code\u003e is not specified, the forecast uses the LineItem's time window, and if \u003ccode\u003etargets\u003c/code\u003e is omitted, it uses the LineItem's targeting.\u003c/p\u003e\n"]]],["`ForecastBreakdownOptions` configures forecast breakdowns within the `ForecastService`. It uses `timeWindows` and `targets` to define these. `timeWindows`, an array of `DateTime` objects, sets time boundaries; at least two are needed per window, in ascending order within the same time zone. `targets`, an array of `ForecastBreakdownTarget`, specifies breakdown targets for each window. If not set, the targeted `LineItem` settings are used by default for time and targeting.\n"],null,["# type ForecastBreakdownOptions (v202408)\n\n**Service** \n**ForecastService** **Dependencies** \n[AvailabilityForecastOptions](/ad-manager/api/reference/v202408/ForecastService.AvailabilityForecastOptions) \n▼\n**ForecastBreakdownOptions**\n\nConfiguration of forecast breakdown.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `timeWindows` | ` `[DateTime](/ad-manager/api/reference/v202408/ForecastService.DateTime)`[]` The boundaries of time windows to configure time breakdown. By default, the time window of the forecasted [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) is assumed if none are explicitly specified in this field. But if set, at least two [DateTime](/ad-manager/api/reference/v202408/ForecastService.DateTime)s are needed to define the boundaries of minimally one time window. Also, the time boundaries are required to be in the same time zone, in strictly ascending order. \u003cbr /\u003e |\n| ### `targets` | ` `[ForecastBreakdownTarget](/ad-manager/api/reference/v202408/ForecastService.ForecastBreakdownTarget)`[]` For each time window, these are the breakdown targets. If none specified, the targeting of the forecasted [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem) is assumed. |"]]