# type ProgrammaticError (v202602)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ProgrammaticError) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.ProgrammaticError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202602/LineItemTemplateService.ProgrammaticError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202602/OrderService.ProgrammaticError) **ProposalLineItemService** [ProposalService](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.ProgrammaticError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ApiVersionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.AuthenticationError) [BillingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.BillingError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.CommonError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.CustomTargetingError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DayPartTargetingError) [DealError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DealError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.EntityLimitReachedError) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ExchangeRateError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.GrpSettingsError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.InternalApiError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.InventoryTargetingError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LabelEntityAssociationError) [LineItemError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.NotNullError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PrecisionError) [PreferredDealError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PreferredDealError) **ProgrammaticError** [ProposalActionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalActionError) [ProposalError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalError) [ProposalLineItemActionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItemActionError) [ProposalLineItemError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItemError) [ProposalLineItemMakegoodError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItemMakegoodError) [ProposalLineItemProgrammati...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItemProgrammaticError "ProposalLineItemProgrammaticError") [PublisherProvidedSignalsTar...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PublisherProvidedSignalsTargetingError "PublisherProvidedSignalsTargetingError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RangeError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RequiredNumberError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ServerError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.TimeZoneError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.VideoPositionTargetingError)

Errors associated with programmatic line items.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202602`

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.FieldPathElement[]` A parsed copy of the field path. For example, the field path "operations\[1\].operand" corresponds to this list: {FieldPathElement(field = "operations", index = 1), FieldPathElement(field = "operand", index = null)}. |
| ### `trigger` | ` xsd:string` The data that caused the error. |
| ### `errorString` | ` xsd:string` A simple string representation of the error and reason. |
| **`ProgrammaticError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProgrammaticError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `AUDIENCE_EXTENSION_NOT_SUPPORTED` :   Audience extension is not supported by programmatic line items. `AUTO_EXTENSION_DAYS_NOT_SUPPORTED` :   Auto extension days is not supported by programmatic line items. `VIDEO_NOT_SUPPORTED` :   Video is currently not supported. `ROADBLOCKING_NOT_SUPPORTED` :   Roadblocking is not supported by programmatic line items. `INVALID_CREATIVE_ROTATION` :   Programmatic line items do not support [CreativeRotationType.SEQUENTIAL](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.CreativeRotationType#SEQUENTIAL). `INVALID_LINE_ITEM_TYPE` :   Programmatic line items only support [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LineItemType#STANDARD) and [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.LineItemType#SPONSORSHIP) if the relevant feature is on. `INVALID_COST_TYPE` :   Programmatic line items only support [CostType.CPM](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.CostType#CPM). `SIZE_NOT_SUPPORTED` :   Programmatic line items only support a creative size that is supported by AdX. The list of supported sizes is maintained based on the list published in the help docs: <https://support.google.com/adxseller/answer/1100453> `ZERO_COST_PER_UNIT_NOT_SUPPORTED` :   Zero cost per unit is not supported by programmatic line items. `CANNOT_UPDATE_FIELD_FOR_APPROVED_LINE_ITEMS` :   Some fields cannot be updated on approved line items. `CANNOT_CREATE_LINE_ITEM_FOR_APPROVED_ORDER` :   Creating a new line item in an approved order is not allowed. `CANNOT_UPDATE_BACKFILL_WEB_PROPERTY_FOR_APPROVED_LINE_ITEMS` :   Cannot change backfill web property for a programmatic line item whose order has been approved. `COST_PER_UNIT_TOO_LOW` :   Cost per unit is too low. It has to be at least 0.005 USD. `INVALID_BUYER` :   Error which occurs when a buyer is invalid given the state of the programmatic line item. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |