# enum OrderActionError.Reason (v202605)

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

The reasons for the target error.

*** ** * ** ***

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

| Enumeration | Description |
|---|---|
| `PERMISSION_DENIED` | The operation is not allowed due to lack of permissions. |
| `NOT_APPLICABLE` | The operation is not applicable for the current state of the [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt). |
| `IS_ARCHIVED` | The [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt) is archived, an [OrderAction](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.OrderAction.md.txt) cannot be applied to an archived order. |
| `HAS_ENDED` | The [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt) is past its end date, An [OrderAction](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.OrderAction.md.txt) cannot be applied to a order that has ended. |
| `CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS` | A [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt) cannot be approved if it contains reservable [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt)s that are unreserved. |
| `CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS` | Deleting an [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt) with delivered line items is not allowed |
| `CANNOT_APPROVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE` | Cannot approve because company credit status is not active. |
| `CANNOT_UPDATE_ORDER_OVER_LINE_ITEM_LIMIT` | Cannot update an [Order](https://developers.google.com/ad-manager/api/reference/v202605/OrderService.Order.md.txt) because it has more than the allowed number of [LineItem](https://developers.google.com/ad-manager/api/reference/v202605/ForecastService.LineItem.md.txt)s. |
| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |