**Service** **ForecastService** [LineItemService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemService.ProgrammaticError) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202605/LineItemTemplateService.ProgrammaticError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.ProgrammaticError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalLineItemService.ProgrammaticError) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202605/ProposalService.ProgrammaticError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ApiError) ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AdUnitCodeError) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AssetError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.AuthenticationError) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ClickTrackingLineItemError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CompanyCreditStatusError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CreativeError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CrossSellError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CustomTargetingError) [DateError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.DateError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.GrpSettingsError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.InventoryTargetingError) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.InventoryUnitError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LabelEntityAssociationError) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemActivityAssociationError "LineItemActivityAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.PrecisionError) **ProgrammaticError** [PublisherProvidedSignalsTar...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.PublisherProvidedSignalsTargetingError "PublisherProvidedSignalsTargetingError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RegExError) [RequestError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequestError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.RequiredSizeError) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ReservationDetailsError) [ServerError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.ServerError) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.SetTopBoxLineItemError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TimeZoneError) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.VideoPositionTargetingError)

Errors associated with programmatic line items.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.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/v202605/ForecastService.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/v202605/ForecastService.CreativeRotationType#SEQUENTIAL). `INVALID_LINE_ITEM_TYPE` :   Programmatic line items only support [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItemType#STANDARD) and [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.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/v202605/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 /> |