[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[],["The document details the `OrderActionError.Reason` enumeration, which outlines various reasons why actions on orders might fail within the ad manager API. Key issues include permission denial, inapplicability due to order state, order being archived or past its end date, unreserved line items, deleting orders with delivered items, inactive company credit status, or line item limits. It also specifies that an action cannot be taken if the API does not know the state. The namespace for these errors is `https://www.google.com/apis/ads/publisher/v202502`.\n"],null,["# enum OrderActionError.Reason (v202502)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202502/ForecastService.OrderActionError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.OrderActionError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.OrderActionError.Reason) **OrderService** [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.OrderActionError.Reason) **Dependencies** \n[OrderActionError](/ad-manager/api/reference/v202502/OrderService.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/v202502`\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/v202502/OrderService.Order). |\n| `IS_ARCHIVED` | The [Order](/ad-manager/api/reference/v202502/OrderService.Order) is archived, an [OrderAction](/ad-manager/api/reference/v202502/OrderService.OrderAction) cannot be applied to an archived order. |\n| `HAS_ENDED` | The [Order](/ad-manager/api/reference/v202502/OrderService.Order) is past its end date, An [OrderAction](/ad-manager/api/reference/v202502/OrderService.OrderAction) cannot be applied to a order that has ended. |\n| `CANNOT_APPROVE_WITH_UNRESERVED_LINE_ITEMS` | A [Order](/ad-manager/api/reference/v202502/OrderService.Order) cannot be approved if it contains reservable [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem)s that are unreserved. |\n| `CANNOT_DELETE_ORDER_WITH_DELIVERED_LINEITEMS` | Deleting an [Order](/ad-manager/api/reference/v202502/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 (archive, pause, resume) an [Order](/ad-manager/api/reference/v202502/OrderService.Order) because it has more than the allowed number of [LineItem](/ad-manager/api/reference/v202502/ForecastService.LineItem)s. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]