# type DealError (v202602)

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

Errors associated with creating or updating programmatic [proposals](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal).

*** ** * ** ***

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/ProposalService.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. |
| **`DealError`** ||
| ### `reason` | ` https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.DealError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `CANNOT_ADD_LINE_ITEM_WHEN_SOLD` :   Cannot add new [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ProposalLineItem) to a [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal#isSold) is `true`. `CANNOT_ARCHIVE_LINE_ITEM_WHEN_SOLD` :   Cannot archive [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ProposalLineItem) from a [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal#isSold) is `true`. `CANNOT_ARCHIVE_PROPOSAL_WHEN_SOLD` :   Cannot archive a [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal#isSold) is `true`. `CANNOT_CHANGE_FIELD_REQUIRING_BUYER_APPROVAL` :   Cannot change a field that requires buyer approval during the current operation. `CANNOT_GET_SELLER_ID` :   Cannot find seller ID for the [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal). `CAN_ONLY_EXECUTE_IF_LOCAL_EDITS` : [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) must be marked as editable by [EditProposalsForNegotiation](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.EditProposalsForNegotiation) before performing requested action. `MISSING_PROPOSAL_LINE_ITEMS` : [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) contains no [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ForecastService.ProposalLineItem). `MISSING_ENVIRONMENT` :   No environment set for [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal). `MISSING_AD_EXCHANGE_PROPERTY` :   The Ad Exchange property is not associated with the current network. `CANNOT_FIND_PROPOSAL_IN_MARKETPLACE` :   Cannot find [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) in Marketplace. `CANNOT_GET_PRODUCT` :   No `Product` exists for buyer-initiated programmatic [proposals](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal). `NEW_VERSION_FROM_BUYER` :   A new version of the [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) was sent from buyer, cannot execute the requested action before performing [DiscardLocalVersionEdits](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.DiscardLocalVersionEdits). `PROPOSAL_OUT_OF_SYNC_WITH_MARKETPLACE` :   A new version of the [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) exists in Marketplace, cannot execute the requested action before the proposal is synced to newest revision. `NO_PROPOSAL_CHANGES_FOUND` :   No [Proposal](https://developers.google.com/ad-manager/api/reference/v202602/ProposalService.Proposal) changes were found. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |