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 content outlines the `AllowedFormats` for programmatic `LineItem` or `ProposalLineItem` within a publisher's service. These formats, applicable to the ForecastService and LineItemService, are defined under the namespace `https://www.google.com/apis/ads/publisher/v202502`. Two specific enumeration values are presented: `AUDIO`, designated for programmatic video line items, and `UNKNOWN`, which indicates a value not exposed by the current API version. Key actions include defining allowed formats and specifying their relevance to line item types.\n"],null,["# enum AllowedFormats (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.AllowedFormats) **LineItemService** [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.AllowedFormats) **Dependencies** \n[LineItemSummary](/ad-manager/api/reference/v202502/LineItemService.LineItemSummary) \n▼\n**AllowedFormats**\n\nThe formats that a publisher allows on their programmatic [LineItem](/ad-manager/api/reference/v202502/LineItemService.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. |"]]