enum ProposalLineItemProgrammaticError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
INVALID_PRODUCT_TYPE
|
Programmatic proposal line items only support
ProductType.DFP .
|
VIDEO_NOT_SUPPORTED
|
EnvironmentType.VIDEO_PLAYER is currently not supported.
|
ROADBLOCKING_NOT_SUPPORTED
|
Programmatic proposal line items do not support
RoadblockingType.CREATIVE_SET.
|
INVALID_CREATIVE_ROTATION
|
Programmatic proposal line items do not support
CreativeRotationType.SEQUENTIAL.
|
INVALID_PROPOSAL_LINE_ITEM_TYPE
|
Programmatic proposal line items only support
LineItemType.STANDARD.
|
INVALID_RATE_TYPE
|
Programmatic proposal line items only support RateType.CPM.
|
ZERO_COST_PER_UNIT_NOT_SUPPORTED
|
Programmatic proposal line items do not support zero for
ProposalLineItem.netRate.
|
INVALID_PROGRAMMATIC_CREATIVE_SOURCE
|
Only programmatic proposal line items support
ProgrammaticCreativeSource.
|
INVALID_MAX_VIDEO_CREATIVE_DURATION
|
Programmatic proposal line item has invalid video creative
duration.
|
CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCE
|
Cannot update programmatic creative source if the proposal line item
has been sent to the buyer.
|
INVALID_NUM_UNITS
|
The Goal.units value is invalid.
|
MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWED
|
Cannot mix guaranteed and Preferred Deal proposal line items in a programmatic proposal.
|
MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWED
|
Cannot mix native and banner size in a programmatic proposal line item.
|
CANNOT_UPDATE_SIZES
|
Cannot update sizes when a programmatic proposal line item with publisher creative source is
sent to a buyer.
|
INVALID_PROGRAMMATIC_PRICING_MODEL
|
Only PricingModel.NET is supported for programmatic
proposal line items.
|
BUYER_DISABLED_FOR_PG_VIOLATING_SLA
|
Buyer is currently disabled for guaranteed deals due to violation of
Programmatic Guaranteed service level agreement.
|
PG_NOT_SUPPORTED_FOR_AGENCY_BUYER
|
Deals with agencies are limited to preferred deals, private auctions, and public
marketplace packages.
|
BUYER_NOT_FOUND
|
Buyer not found.
|
INVALID_ENVIRONMENT_PLATFORM_TYPE_PAIR
|
Cannot create/update proposal line items with an invalid
environment and request platform pair.
|
CANNOT_MIX_AUDIO_VIDEO_PROGRAMMATIC_LINE_ITEM
|
A proposal line item must either be of video, or audio type, but not
both.
|
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\u003e\u003ccode\u003eProposalLineItemProgrammaticError\u003c/code\u003e outlines reasons for programmatic proposal line item errors in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese errors often relate to unsupported settings for programmatic proposal line items, such as specific product or rate types, creative sources, and roadblocking options.\u003c/p\u003e\n"],["\u003cp\u003eSeveral errors address restrictions when dealing with guaranteed deals, including buyer limitations and service-level agreement violations.\u003c/p\u003e\n"],["\u003cp\u003eThe list also includes errors related to specific settings like creative durations, environment types, and platform pairings for programmatic line items.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUNKNOWN\u003c/code\u003e is returned if the specific error reason is not exposed by the API version being used.\u003c/p\u003e\n"]]],["This document details the constraints and restrictions for programmatic proposal line items within the ad management system. Key limitations include support for only `ProductType.DFP`, `LineItemType.STANDARD`, and `RateType.CPM`, and `PricingModel.NET`. Video player environments, creative sets, and sequential creative rotations are unsupported. Mixing guaranteed and Preferred Deals, or native and banner sizes, is prohibited. Additionally, zero cost per unit is not allowed, and updating certain properties after sending to a buyer is restricted.\n"],null,["# enum ProposalLineItemProgrammaticError.Reason (v202411)\n\n**Service** \n[ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.ProposalLineItemProgrammaticError.Reason) **ProposalService** **Dependencies** \n[ProposalLineItemProgrammati...](/ad-manager/api/reference/v202411/ProposalService.ProposalLineItemProgrammaticError \"ProposalLineItemProgrammaticError\") \n▼\n**ProposalLineItemProgrammati...**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_PRODUCT_TYPE` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) only support `ProductType.DFP`. |\n| `VIDEO_NOT_SUPPORTED` | [EnvironmentType.VIDEO_PLAYER](/ad-manager/api/reference/v202411/ForecastService.EnvironmentType#VIDEO_PLAYER) is currently not supported. |\n| `ROADBLOCKING_NOT_SUPPORTED` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) do not support [RoadblockingType.CREATIVE_SET](/ad-manager/api/reference/v202411/ForecastService.RoadblockingType#CREATIVE_SET). |\n| `INVALID_CREATIVE_ROTATION` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) do not support [CreativeRotationType.SEQUENTIAL](/ad-manager/api/reference/v202411/ForecastService.CreativeRotationType#SEQUENTIAL). |\n| `INVALID_PROPOSAL_LINE_ITEM_TYPE` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) only support [LineItemType.STANDARD](/ad-manager/api/reference/v202411/AdRuleService.LineItemType#STANDARD). |\n| `INVALID_RATE_TYPE` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) only support [RateType.CPM](/ad-manager/api/reference/v202411/ForecastService.RateType#CPM). |\n| `ZERO_COST_PER_UNIT_NOT_SUPPORTED` | Programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) do not support zero for [ProposalLineItem.netRate](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem#netRate). |\n| `INVALID_PROGRAMMATIC_CREATIVE_SOURCE` | Only programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) support [ProgrammaticCreativeSource](/ad-manager/api/reference/v202411/ForecastService.ProgrammaticCreativeSource). |\n| `INVALID_MAX_VIDEO_CREATIVE_DURATION` | Programmatic [proposal line item](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) has invalid video creative duration. |\n| `CANNOT_UPDATE_PROGRAMMATIC_CREATIVE_SOURCE` | Cannot update programmatic creative source if the [proposal line item](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) has been sent to the buyer. |\n| `INVALID_NUM_UNITS` | The [Goal.units](/ad-manager/api/reference/v202411/ForecastService.Goal#units) value is invalid. |\n| `MIX_GUARANTEED_AND_PREFERRED_DEAL_NOT_ALLOWED` | Cannot mix guaranteed and Preferred Deal proposal line items in a programmatic proposal. |\n| `MIX_NATIVE_AND_BANNER_SIZE_NOT_ALLOWED` | Cannot mix native and banner size in a programmatic proposal line item. |\n| `CANNOT_UPDATE_SIZES` | Cannot update sizes when a programmatic proposal line item with publisher creative source is sent to a buyer. |\n| `INVALID_SPONSORSHIP_CONTRACTED_UNITS_BOUGHT` | The {ProposalLineItem#contractedUnitsBought} cannot be `null` or zero for programmatic [RateType.CPD](/ad-manager/api/reference/v202411/ForecastService.RateType#CPD) [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem). |\n| `INVALID_PROGRAMMATIC_PRICING_MODEL` | Only `PricingModel.NET` is supported for programmatic [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem). |\n| `BUYER_DISABLED_FOR_PG_VIOLATING_SLA` | Buyer is currently disabled for guaranteed deals due to violation of Programmatic Guaranteed service level agreement. |\n| `PG_NOT_SUPPORTED_FOR_AGENCY_BUYER` | Deals with agencies are limited to preferred deals, private auctions, and public marketplace packages. |\n| `BUYER_NOT_FOUND` | Buyer not found. |\n| `INVALID_ENVIRONMENT_PLATFORM_TYPE_PAIR` | Cannot create/update [proposal line items](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) with an invalid environment and request platform pair. |\n| `CANNOT_MIX_AUDIO_VIDEO_PROGRAMMATIC_LINE_ITEM` | A [proposal line item](/ad-manager/api/reference/v202411/ForecastService.ProposalLineItem) must either be of video, or audio type, but not both. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]