enum AllowedFormats (v202502)
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/v202502
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."],[],["The document defines the `AllowedFormats` for programmatic `LineItem` and `ProposalLineItem` within the `ForecastService`. These formats are used by publishers. The service relies on `LineItemSummary` and `ProposalLineItem`. The namespace for these services is `https://www.google.com/apis/ads/publisher/v202502`. Two enumerated values are provided: `AUDIO`, relevant for programmatic video, and `UNKNOWN`, returned when the actual value is not available in the API version.\n"],null,["# enum AllowedFormats (v202502)\n\n**Service** \n**ForecastService** [LineItemService](/ad-manager/api/reference/v202502/LineItemService.AllowedFormats) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.AllowedFormats) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202502/ForecastService.LineItemSummary) [ProposalLineItem](/ad-manager/api/reference/v202502/ForecastService.ProposalLineItem) \n▼\n**AllowedFormats**\n\nThe formats that a publisher allows on their programmatic [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem)\nor [ProposalLineItem](/ad-manager/api/reference/v202502/ForecastService.ProposalLineItem).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\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. |"]]