# type PreferredDealError (v202602)

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

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

*** ** * ** ***

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/ProposalLineItemService.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` | ` https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.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) only support [RateType.CPM](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RateType#CPM). `INVALID_FREQUENCY_CAPS` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem) do not support frequency caps. `INVALID_ROADBLOCKING_TYPE` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem) only support [RoadblockingType.ONE_OR_MORE](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.RoadblockingType#ONE_OR_MORE). `INVALID_DELIVERY_RATE_TYPE` :   Preferred deal [proposal line items](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.ProposalLineItem) only support [DeliveryRateType.FRONTLOADED](https://developers.google.com/ad-manager/api/reference/v202602/ProposalLineItemService.DeliveryRateType#FRONTLOADED). `UNKNOWN` : <br /> |