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\u003eAllowedFormats defines the formats a publisher permits on programmatic LineItems or ProposalLineItems.\u003c/p\u003e\n"],["\u003cp\u003eThese formats, including audio (specifically for programmatic video line items), guide how ads are displayed.\u003c/p\u003e\n"],["\u003cp\u003eIf a format isn't recognized or supported by the API version, it's represented by the 'UNKNOWN' enumeration.\u003c/p\u003e\n"]]],["Publishers define allowed formats for programmatic LineItems or ProposalLineItems. The core service utilizes ForecastService and LineItemService, with ProposalLineItemService as a dependency, and LineItemSummary information being relevant. Allowed formats are defined by an enumeration which currently includes `AUDIO`, used for programmatic video line items, and `UNKNOWN` for unspecified formats in the API version. The namespace for the format definitions is provided.\n"],null,["# enum AllowedFormats (v202408)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202408/ForecastService.AllowedFormats) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.AllowedFormats) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202408/LineItemService.LineItemSummary) \n▼\n**AllowedFormats**\n\nThe formats that a publisher allows on their programmatic [LineItem](/ad-manager/api/reference/v202408/LineItemService.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. |"]]