# type ReservationDetailsError (v202505)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202505/ForecastService.ReservationDetailsError) **LineItemService** [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202505/LineItemTemplateService.ReservationDetailsError) [OrderService](https://developers.google.com/ad-manager/api/reference/v202505/OrderService.ReservationDetailsError) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202505/ProposalLineItemService.ReservationDetailsError) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202505/PublisherQueryLanguageService.ReservationDetailsError) **Inheritance** [ApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ApiError) ▼ [ApiVersionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ApiVersionError) [AssetError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.AssetError) [AudienceExtensionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.AudienceExtensionError) [AudienceSegmentError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.AudienceSegmentError) [AuthenticationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.AuthenticationError) [ClickTrackingLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ClickTrackingLineItemError) [CollectionSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CollectionSizeError) [CommonError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CommonError) [CompanyCreditStatusError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CompanyCreditStatusError) [CreativeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CreativeError) [CrossSellError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CrossSellError) [CurrencyCodeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CurrencyCodeError) [CustomFieldValueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CustomFieldValueError) [CustomTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CustomTargetingError) [DateTimeRangeTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.DateTimeRangeTargetingError) [DayPartTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.DayPartTargetingError) [EntityChildrenLimitReachedE...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.EntityChildrenLimitReachedError "EntityChildrenLimitReachedError") [EntityLimitReachedError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.EntityLimitReachedError) [FeatureError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.FeatureError) [ForecastError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ForecastError) [FrequencyCapError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.FrequencyCapError) [GenericTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.GenericTargetingError) [GeoTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.GeoTargetingError) [GrpSettingsError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.GrpSettingsError) [ImageError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ImageError) [InternalApiError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.InternalApiError) [InvalidUrlError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.InvalidUrlError) [InventoryTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.InventoryTargetingError) [LabelEntityAssociationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LabelEntityAssociationError) [LineItemActivityAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemActivityAssociationError "LineItemActivityAssociationError") [LineItemCreativeAssociation...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemCreativeAssociationError "LineItemCreativeAssociationError") [LineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemError) [LineItemFlightDateError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemFlightDateError) [LineItemOperationError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemOperationError) [MobileApplicationTargetingE...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.MobileApplicationTargetingError "MobileApplicationTargetingError") [NotNullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.NotNullError) [NullError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.NullError) [OrderActionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.OrderActionError) [OrderError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.OrderError) [ParseError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ParseError) [PermissionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PermissionError) [PrecisionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PrecisionError) [ProgrammaticError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ProgrammaticError) [PublisherQueryLanguageConte...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PublisherQueryLanguageContextError "PublisherQueryLanguageContextError") [PublisherQueryLanguageSynta...](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.PublisherQueryLanguageSyntaxError "PublisherQueryLanguageSyntaxError") [QuotaError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.QuotaError) [RangeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RangeError) [RegExError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RegExError) [RequestPlatformTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequestPlatformTargetingError) [RequiredCollectionError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredCollectionError) [RequiredError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredError) [RequiredNumberError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredNumberError) [RequiredSizeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.RequiredSizeError) **ReservationDetailsError** [ServerError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.ServerError) [SetTopBoxLineItemError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.SetTopBoxLineItemError) [StatementError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.StatementError) [StringFormatError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.StringFormatError) [StringLengthError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.StringLengthError) [TeamError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TeamError) [TechnologyTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TechnologyTargetingError) [TimeZoneError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TimeZoneError) [TranscodingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TranscodingError) [TypeError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.TypeError) [UniqueError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.UniqueError) [UserDomainTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.UserDomainTargetingError) [VideoPositionTargetingError](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.VideoPositionTargetingError)

Lists all errors associated with LineItem's reservation details.

*** ** * ** ***

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

| ## Field ||
|---|---|
| **`ApiError` (inherited)** ||
| ### `fieldPath` | ` xsd:string` The OGNL field path to identify cause of error. |
| ### `fieldPathElements` | ` https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.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/v202505/LineItemService.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/v202505/LineItemService.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/v202505/LineItemService.LineItemType#PRICE_PRIORITY). `UNLIMITED_END_DATE_TIME_NOT_ALLOWED` : [LineItem.unlimitedEndDateTime](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#unlimitedEndDateTime) can be set to true for only line items of type [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemType#SPONSORSHIP), [LineItemType.NETWORK](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemType#NETWORK), [LineItemType.PRICE_PRIORITY](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemType#PRICE_PRIORITY) and [LineItemType.HOUSE](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemType#HOUSE). `PERCENTAGE_UNITS_BOUGHT_TOO_HIGH` :   When [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#lineItemType) is [LineItemType.SPONSORSHIP](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItemType#SPONSORSHIP), then [LineItem.unitsBought](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.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/v202505/LineItemService.LineItem#unitType) is not allowed for the given [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#lineItemType). See [UnitType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.UnitType) for allowed values. `COST_TYPE_NOT_ALLOWED` :   The [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#costType) is not allowed for the [LineItem.lineItemType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#lineItemType). See [CostType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CostType) for allowed values. `COST_TYPE_UNIT_TYPE_MISMATCH_NOT_ALLOWED` :   When [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#costType) is [CostType.CPM](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CostType#CPM), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#unitType) must be [UnitType.IMPRESSIONS](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.UnitType#IMPRESSIONS) and when [LineItem.costType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#costType) is [CostType.CPC](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.CostType#CPC), [LineItem.unitType](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.LineItem#unitType) must be [UnitType.CLICKS](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.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/v202505/LineItemService.LineItemType#SPONSORSHIP) or [LineItemType.STANDARD](https://developers.google.com/ad-manager/api/reference/v202505/LineItemService.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/v202505/LineItemService.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 /> |