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