[[["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 outlines the `OrderActionError.Reason` enumeration, detailing errors that can occur during order actions within specified services like `ForecastService`, `LineItemService`, `LineItemTemplateService`, and `OrderService`. Key reasons include `PERMISSION_DENIED`, `NOT_APPLICABLE`, `IS_ARCHIVED`, `HAS_ENDED`, and limitations related to unreserved line items or delivered items. The enumeration also covers credit status issues and line item limits, defining when order actions like approval, deletion, or updates are not permitted.\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](/ad-manager/api/reference/v202502/OrderService.OrderActionError.Reason) **PublisherQueryLanguageService** **Dependencies** \n[OrderActionError](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.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. |"]]