enum OrderActionError.Reason (v202508)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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.
|
IS_ARCHIVED
|
The Order is archived, an OrderAction cannot be applied
to an archived order.
|
HAS_ENDED
|
The Order is past its end date, An OrderAction cannot
be applied to a order that has ended.
|
CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS
|
A Order cannot be approved if it contains reservable
LineItems that are unreserved.
|
CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS
|
Deleting an Order 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 because it has more than the allowed number of LineItems.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# enum OrderActionError.Reason (v202508)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202508/ForecastService.OrderActionError.Reason) **LineItemService** [LineItemTemplateService](/ad-manager/api/reference/v202508/LineItemTemplateService.OrderActionError.Reason) [OrderService](/ad-manager/api/reference/v202508/OrderService.OrderActionError.Reason) [PublisherQueryLanguageService](/ad-manager/api/reference/v202508/PublisherQueryLanguageService.OrderActionError.Reason) **Dependencies** \n[OrderActionError](/ad-manager/api/reference/v202508/LineItemService.OrderActionError) \n▼\n**OrderActionError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202508`\n\n| Enumeration | Description |\n|---------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `PERMISSION_DENIED` | The operation is not allowed due to lack of permissions. |\n| `NOT_APPLICABLE` | The operation is not applicable for the current state of the [Order](/ad-manager/api/reference/v202508/OrderService.Order). |\n| `IS_ARCHIVED` | The [Order](/ad-manager/api/reference/v202508/OrderService.Order) is archived, an [OrderAction](/ad-manager/api/reference/v202508/OrderService.OrderAction) cannot be applied to an archived order. |\n| `HAS_ENDED` | The [Order](/ad-manager/api/reference/v202508/OrderService.Order) is past its end date, An [OrderAction](/ad-manager/api/reference/v202508/OrderService.OrderAction) cannot be applied to a order that has ended. |\n| `CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS` | A [Order](/ad-manager/api/reference/v202508/OrderService.Order) cannot be approved if it contains reservable [LineItem](/ad-manager/api/reference/v202508/LineItemService.LineItem)s that are unreserved. |\n| `CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS` | Deleting an [Order](/ad-manager/api/reference/v202508/OrderService.Order) with delivered line items is not allowed |\n| `CANNOT_APPROVE_COMPANY_CREDIT_STATUS_NOT_ACTIVE` | Cannot approve because company credit status is not active. |\n| `CANNOT_UPDATE_ORDER_OVER_LINE_ITEM_LIMIT` | Cannot update an [Order](/ad-manager/api/reference/v202508/OrderService.Order) because it has more than the allowed number of [LineItem](/ad-manager/api/reference/v202508/LineItemService.LineItem)s. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]