# type LineItemOperationError (v202608)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItemOperationError.md.txt) [LineItemService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemService.LineItemOperationError.md.txt) [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemTemplateService.LineItemOperationError.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202608/OrderService.LineItemOperationError.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.LineItemOperationError.md.txt) **ProposalService** [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.LineItemOperationError.md.txt) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ApiError.md.txt) ▼ [AdProductBookingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.AdProductBookingError.md.txt) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ApiVersionError.md.txt) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.AudienceSegmentError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.AuthenticationError.md.txt) [BillingError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.BillingError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.CommonError.md.txt) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.CurrencyCodeError.md.txt) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.CustomFieldValueError.md.txt) [DealError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.DealError.md.txt) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.EntityChildrenLimitReachedError.md.txt "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.EntityLimitReachedError.md.txt) [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ExchangeRateError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.FeatureError.md.txt) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ForecastError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.InternalApiError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.InvalidUrlError.md.txt) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.LabelEntityAssociationError.md.txt) **LineItemOperationError** [NotNullError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.NullError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.PermissionError.md.txt) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.PrecisionError.md.txt) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProgrammaticError.md.txt) [ProposalActionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProposalActionError.md.txt) [ProposalError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProposalError.md.txt) [ProposalLineItemError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProposalLineItemError.md.txt) [ProposalLineItemMakegoodError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProposalLineItemMakegoodError.md.txt) [ProposalLineItemProgrammati...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ProposalLineItemProgrammaticError.md.txt "ProposalLineItemProgrammaticError") [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.RangeError.md.txt) [RequestError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.RequestError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.RequiredNumberError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.StringLengthError.md.txt) [TeamError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.TeamError.md.txt) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.TimeZoneError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.UniqueError.md.txt)

Lists all errors for executing operations on line items

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` 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` | ` 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/v202608/ForecastService.LineItem.md.txt). `HAS_COMPLETED` :   The [LineItem](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt) is completed. A [LineItemAction](https://developers.google.com/ad-manager/api/reference/v202608/LineItemService.LineItemAction.md.txt) cannot be applied to a line item that is completed. `HAS_NO_ACTIVE_CREATIVES` :   The [LineItem](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt) 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/v202608/ForecastService.LineItem.md.txt) of type [LineItemType.LEGACY_DFP](https://developers.google.com/ad-manager/api/reference/v202608/AdRuleService.LineItemType.md.txt#LEGACY_DFP) cannot be Activated. `CANNOT_ACTIVATE_UNCONFIGURED_LINE_ITEM` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.LineItem.md.txt) 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/v202608/ForecastService.LineItem.md.txt) 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/v202608/ForecastService.LineItem.md.txt#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.Company.md.txt#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/v202608/ForecastService.LineItem.md.txt#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202608/CompanyService.Company.md.txt#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 /> |