# type DealError (v202608)

**Service** [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.DealError.md.txt) [ProposalService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalService.DealError.md.txt) **PublisherQueryLanguageService** **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ApiError.md.txt) ▼ [AdUnitCodeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.AdUnitCodeError.md.txt) [AdUnitHierarchyError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.AdUnitHierarchyError.md.txt) [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ApiVersionError.md.txt) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.AudienceSegmentError.md.txt) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.AuthenticationError.md.txt) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.CollectionSizeError.md.txt) [CommonError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.CommonError.md.txt) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.CreativeError.md.txt) **DealError** [ExchangeRateError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ExchangeRateError.md.txt) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.FeatureError.md.txt) [FileError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.FileError.md.txt) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.InternalApiError.md.txt) [InvalidEmailError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.InvalidEmailError.md.txt) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.InvalidUrlError.md.txt) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.InventoryTargetingError.md.txt) [InventoryUnitError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.InventoryUnitError.md.txt) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.LineItemFlightDateError.md.txt) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.LineItemOperationError.md.txt) [NotNullError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.NotNullError.md.txt) [NullError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.NullError.md.txt) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.OrderActionError.md.txt) [OrderError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.OrderError.md.txt) [ParseError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ParseError.md.txt) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.PermissionError.md.txt) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.PublisherQueryLanguageContextError.md.txt "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.PublisherQueryLanguageSyntaxError.md.txt "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.QuotaError.md.txt) [RangeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RangeError.md.txt) [RegExError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RegExError.md.txt) [RequestError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RequestError.md.txt) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RequiredCollectionError.md.txt) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RequiredError.md.txt) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RequiredNumberError.md.txt) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.RequiredSizeError.md.txt) [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ReservationDetailsError.md.txt) [ServerError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ServerError.md.txt) [StatementError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.StatementError.md.txt) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.StringFormatError.md.txt) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.StringLengthError.md.txt) [TypeError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.TypeError.md.txt) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.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 /> |