# type DealError (v202608)

**Service** [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.DealError.md.txt) **ProposalService** [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.DealError.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** [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](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.LineItemOperationError.md.txt) [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)

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

*** ** * ** ***

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. |
| **`DealError`** ||
| ### `reason` | ` 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/v202608/ForecastService.ProposalLineItem.md.txt) to a [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt#isSold) is `true`. `CANNOT_ARCHIVE_LINE_ITEM_WHEN_SOLD` :   Cannot archive [proposal line items](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.ProposalLineItem.md.txt) from a [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt#isSold) is `true`. `CANNOT_ARCHIVE_PROPOSAL_WHEN_SOLD` :   Cannot archive a [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) when [Proposal.isSold](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt#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/v202608/ProposalService.Proposal.md.txt). `CAN_ONLY_EXECUTE_IF_LOCAL_EDITS` : [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) must be marked as editable by [EditProposalsForNegotiation](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.EditProposalsForNegotiation.md.txt) before performing requested action. `MISSING_PROPOSAL_LINE_ITEMS` : [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) contains no [proposal line items](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.ProposalLineItem.md.txt). `MISSING_ENVIRONMENT` :   No environment set for [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt). `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/v202608/ProposalService.Proposal.md.txt) in Marketplace. `CANNOT_GET_PRODUCT` :   No `Product` exists for buyer-initiated programmatic [proposals](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt). `NEW_VERSION_FROM_BUYER` :   A new version of the [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) was sent from buyer, cannot execute the requested action before performing [DiscardLocalVersionEdits](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.DiscardLocalVersionEdits.md.txt). `PROPOSAL_OUT_OF_SYNC_WITH_MARKETPLACE` :   A new version of the [Proposal](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.Proposal.md.txt) 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/v202608/ProposalService.Proposal.md.txt) changes were found. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |