# type LineItemOperationError (v202511)

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

Lists all errors for executing operations on line items

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202511/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. |
| **`LineItemOperationError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItemOperationError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `NOT_ALLOWED` :   The operation is not allowed due to lack of permissions. `NOT_APPLICABLE` :   The operation is not applicable for the current state of the [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem). `HAS_COMPLETED` :   The [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) is completed. A [LineItemAction](https://developers.google.com/ad-manager/api/reference/v202511/LineItemService.LineItemAction) cannot be applied to a line item that is completed. `HAS_NO_ACTIVE_CREATIVES` :   The [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) has no active creatives. A line item cannot be activated with no active creatives. `CANNOT_ACTIVATE_LEGACY_DFP_LINE_ITEM` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) of type [LineItemType.LEGACY_DFP](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItemType#LEGACY_DFP) cannot be Activated. `CANNOT_ACTIVATE_UNCONFIGURED_LINE_ITEM` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) with publisher creative source cannot be activated if the corresponding deal is not yet configured by the buyer. `CANNOT_DELETE_DELIVERED_LINE_ITEM` :   Deleting an [LineItem](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem) that has delivered is not allowed `CANNOT_RESERVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE` :   Reservation cannot be made for line item because the [LineItem.advertiserId](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.Company#creditStatus) that is not `ACTIVE` or `ON_HOLD`. `CANNOT_ACTIVATE_INVALID_COMPANY_CREDIT_STATUS` :   Cannot activate line item because the [LineItem.advertiserId](https://developers.google.com/ad-manager/api/reference/v202511/ForecastService.LineItem#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202511/CompanyService.Company#creditStatus) that is not `ACTIVE`, `INACTIVE`, or `ON_HOLD`. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |