# type PreferredDealError (v202602)

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

Errors associated with preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem.md.txt).

*** ** * ** ***

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` | ` 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. |
| **`PreferredDealError`** ||
| ### `reason` | ` PreferredDealError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `INVALID_PRIORITY` : `INVALID_RATE_TYPE` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem.md.txt) only support [RateType.CPM](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RateType.md.txt#CPM). `INVALID_FREQUENCY_CAPS` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem.md.txt) do not support frequency caps. `INVALID_ROADBLOCKING_TYPE` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem.md.txt) only support [RoadblockingType.ONE_OR_MORE](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RoadblockingType.md.txt#ONE_OR_MORE). `INVALID_DELIVERY_RATE_TYPE` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem.md.txt) only support [DeliveryRateType.FRONTLOADED](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DeliveryRateType.md.txt#FRONTLOADED). `UNKNOWN` : <br /> |