# enum ReservationDetailsError.Reason (v202608)

**Service** [ForecastService](https://developers.google.com/ad-manager/api/reference/v202608/ForecastService.ReservationDetailsError.Reason.md.txt) **LineItemService** [LineItemTemplateService](https://developers.google.com/ad-manager/api/reference/v202608/LineItemTemplateService.ReservationDetailsError.Reason.md.txt) [OrderService](https://developers.google.com/ad-manager/api/reference/v202608/OrderService.ReservationDetailsError.Reason.md.txt) [ProposalLineItemService](https://developers.google.com/ad-manager/api/reference/v202608/ProposalLineItemService.ReservationDetailsError.Reason.md.txt) [PublisherQueryLanguageService](https://developers.google.com/ad-manager/api/reference/v202608/PublisherQueryLanguageService.ReservationDetailsError.Reason.md.txt) **Dependencies** [ReservationDetailsError](https://developers.google.com/ad-manager/api/reference/v202608/LineItemService.ReservationDetailsError.md.txt) ▼ **ReservationDetailsError.Reason**

The reasons for the target error.

*** ** * ** ***

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

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