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

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` | ` https://developers.google.com/ad-manager/api/reference/v202605/PublisherQueryLanguageService.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` | ` https://developers.google.com/ad-manager/api/reference/v202605/PublisherQueryLanguageService.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#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#PRICE_PRIORITY). `UNLIMITED_END_DATE_TIME_NOT_ALLOWED` : [LineItem.unlimitedEndDateTime](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#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#SPONSORSHIP), [LineItemType.NETWORK](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType#NETWORK), [LineItemType.PRICE_PRIORITY](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType#PRICE_PRIORITY) and [LineItemType.HOUSE](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType#HOUSE). `PERCENTAGE_UNITS_BOUGHT_TOO_HIGH` :   When [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#lineItemType) is [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType#SPONSORSHIP), then [LineItem.unitsBought](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#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#unitType) is not allowed for the given [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#lineItemType). See [UnitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType) for allowed values. `COST_TYPE_NOT_ALLOWED` :   The [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#costType) is not allowed for the [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#lineItemType). See [CostType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType) for allowed values. `COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED` :   When [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#costType) is [CostType.CPM](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType#CPM), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#unitType) must be [UnitType.IMPRESSIONS](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType#IMPRESSIONS) and when [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#costType) is [CostType.CPC](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.CostType#CPC), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem#unitType) must be [UnitType.CLICKS](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.UnitType#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#SPONSORSHIP) or [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202605/AdRuleService.LineItemType#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)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 /> |