enum AllowedFormats (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
The formats that a publisher allows on their programmatic LineItem
or ProposalLineItem.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Enumeration |
Description |
AUDIO
|
Audio format.
This is only relevant for programmatic video line items.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
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\u003eThe ForecastService allows publishers to define what formats are permitted on their programmatic LineItems or ProposalLineItems.\u003c/p\u003e\n"],["\u003cp\u003eAllowed formats currently include audio, which is specifically relevant for programmatic video line items, and an unknown format for cases where the actual value isn't exposed by the API version.\u003c/p\u003e\n"],["\u003cp\u003eThis service uses the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e and relies on dependencies such as LineItemSummary and ProposalLineItem.\u003c/p\u003e\n"]]],["The `ForecastService` interacts with `LineItemService` and `ProposalLineItemService`. It uses `LineItemSummary` and `ProposalLineItem` dependencies. `AllowedFormats` defines acceptable formats for programmatic `LineItem` or `ProposalLineItem` objects. Formats include `AUDIO`, specific to programmatic video line items, and `UNKNOWN`, for cases where the API version doesn't expose the actual value. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum AllowedFormats (v202408)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202408/LineItemService.AllowedFormats) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.AllowedFormats) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/ForecastService.LineItemSummary) [ProposalLineItem](/ad-manager/api/reference/v202408/ForecastService.ProposalLineItem) \n▼\n**AllowedFormats**\n\nThe formats that a publisher allows on their programmatic [LineItem](/ad-manager/api/reference/v202408/ForecastService.LineItem)\nor [ProposalLineItem](/ad-manager/api/reference/v202408/ForecastService.ProposalLineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Enumeration | Description |\n|-------------|-------------------------------------------------------------------------------------|\n| `AUDIO` | Audio format. This is only relevant for programmatic video line items. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]