# type LineItemOperationError (v202602)

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

Lists all errors for executing operations on 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/LineItemService.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/v202602/LineItemService.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/v202602/LineItemService.LineItem). `HAS_COMPLETED` :   The [LineItem](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItem) is completed. A [LineItemAction](https://developers.google.com/ad-manager/api/reference/v202602/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/v202602/LineItemService.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/v202602/LineItemService.LineItem) of type [LineItemType.LEGACY_DFP](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.LineItemType#LEGACY_DFP) cannot be Activated. `CANNOT_ACTIVATE_UNCONFIGURED_LINE_ITEM` :   A [LineItem](https://developers.google.com/ad-manager/api/reference/v202602/LineItemService.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/v202602/LineItemService.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/v202602/LineItemService.LineItem#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202602/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/v202602/LineItemService.LineItem#advertiserId) it is associated with has [Company.creditStatus](https://developers.google.com/ad-manager/api/reference/v202602/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 /> |