# type ReservationDetailsError (v202605)

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

Lists all errors associated with LineItem's reservation details.

*** ** * ** ***

Namespace
:
    `https://www.google.com/apis/ads/publisher/v202605`

| ## 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. |
| **`ReservationDetailsError`** ||
| ### `reason` | ` ReservationDetailsError.Reason ` The error reason represented by an enum. *** ** * ** *** **Enumerations** `UNLIMITED_UNITS_BOUGHT_NOT_ALLOWED` :   There is no limit on the number of ads delivered for a line item when you set [LineItem.duration](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#duration) to be `LineItemSummary.Duration.NONE`. This can only be set for line items of type [LineItemType.PRICE_PRIORITY](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#PRICE_PRIORITY). `UNLIMITED_END_DATE_TIME_NOT_ALLOWED` : [LineItem.unlimitedEndDateTime](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#unlimitedEndDateTime) can be set to true for only line items of type [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#SPONSORSHIP), [LineItemType.NETWORK](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#NETWORK), [LineItemType.PRICE_PRIORITY](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#PRICE_PRIORITY) and [LineItemType.HOUSE](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#HOUSE). `PERCENTAGE_UNITS_BOUGHT_TOO_HIGH` :   When [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#lineItemType) is [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#SPONSORSHIP), then [LineItem.unitsBought](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#unitsBought) represents the percentage of available impressions reserved. That value cannot exceed 100. `DURATION_NOT_ALLOWED` :   The line item type does not support the specified duration. See `LineItemSummary.Duration` for allowed values. `UNIT_TYPE_NOT_ALLOWED` :   The [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#unitType) is not allowed for the given [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#lineItemType). See [UnitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType.md.txt) for allowed values. `COST_TYPE_NOT_ALLOWED` :   The [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#costType) is not allowed for the [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#lineItemType). See [CostType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType.md.txt) for allowed values. `COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED` :   When [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#costType) is [CostType.CPM](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType.md.txt#CPM), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#unitType) must be [UnitType.IMPRESSIONS](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType.md.txt#IMPRESSIONS) and when [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#costType) is [CostType.CPC](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType.md.txt#CPC), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt#unitType) must be [UnitType.CLICKS](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType.md.txt#CLICKS). `LINE_ITEM_TYPE_NOT_ALLOWED` :   Inventory cannot be reserved for line items which are not of type [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#SPONSORSHIP) or [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType.md.txt#STANDARD). `NETWORK_REMNANT_ORDER_CANNOT_UPDATE_LINEITEM_TYPE` :   Network remnant line items cannot be changed to other line item types once delivery begins. This restriction does not apply to any new line items created in Ad Manager. `BACKFILL_WEBPROPERTY_CODE_NOT_ALLOWED` :   A dynamic allocation web property can only be set on a line item of type AdSense or Ad Exchange. `CPA_DEPRECATED` :   CPA [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt)s can't have end dates older than February 22, 2024. `UNKNOWN` :   The value returned if the actual value is not exposed by the requested API version. <br /> |