enum AllowedFormats (v202411)
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/v202411
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\u003eAllowedFormats defines the allowed formats for programmatic LineItems or ProposalLineItems, such as audio.\u003c/p\u003e\n"],["\u003cp\u003eThese formats specify what a publisher permits on their programmatic inventory.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAUDIO\u003c/code\u003e format is specifically for programmatic video line items.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the API version doesn't expose the actual value.\u003c/p\u003e\n"]]],["Publishers define allowed formats for programmatic LineItems or ProposalLineItems. The allowed formats are accessed through the ForecastService, LineItemService, and ProposalLineItemService, with LineItemSummary as a dependency. The formats include `AUDIO`, relevant for programmatic video line items, and `UNKNOWN`, returned when the actual value is unavailable in the requested API version. These formats are part of the `https://www.google.com/apis/ads/publisher/v202411` namespace.\n"],null,["# enum AllowedFormats (v202411)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202411/ForecastService.AllowedFormats) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.AllowedFormats) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202411/LineItemService.LineItemSummary) \n▼\n**AllowedFormats**\n\nThe formats that a publisher allows on their programmatic [LineItem](/ad-manager/api/reference/v202411/LineItemService.LineItem)\nor [ProposalLineItem](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\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. |"]]