[[["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."],[[["\u003cp\u003e\u003ccode\u003eOrderError.Reason\u003c/code\u003e outlines the potential errors that can occur when interacting with orders within the system.\u003c/p\u003e\n"],["\u003cp\u003eThese errors range from attempting invalid order updates (e.g., updating a canceled order) to issues with user and team associations.\u003c/p\u003e\n"],["\u003cp\u003eThe errors also address programmatic order constraints and cases where the error reason is not explicitly defined (\u003ccode\u003eUNKNOWN\u003c/code\u003e).\u003c/p\u003e\n"]]],["The content outlines the `OrderError.Reason` enumeration, which details specific errors related to orders within the Ad Manager service. Key actions that are not allowed include updating canceled, pending approval, or archived orders. Other restrictions include modifying the proposal ID after order creation, having a secondary user without a primary, a primary user being secondary, and associating a non-linked team or agency. Users and agencies assigned to orders must be on the order's teams. Also states that programmatic order info should not be filled in for non-programmatic orders.\n"],null,["# enum OrderError.Reason (v202411)\n\n**Service** \n**ForecastService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.OrderError.Reason) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.OrderError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.OrderError.Reason) [OrderService](/ad-manager/api/reference/v202411/OrderService.OrderError.Reason) [PublisherQueryLanguageService](/ad-manager/api/reference/v202411/PublisherQueryLanguageService.OrderError.Reason) [TeamService](/ad-manager/api/reference/v202411/TeamService.OrderError.Reason) **Dependencies** \n[OrderError](/ad-manager/api/reference/v202411/ForecastService.OrderError) \n▼\n**OrderError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|-------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `UPDATE_CANCELED_ORDER_NOT_ALLOWED` | Updating a canceled order is not allowed. |\n| `UPDATE_PENDING_APPROVAL_ORDER_NOT_ALLOWED` | Updating an order that has its approval pending is not allowed. |\n| `UPDATE_ARCHIVED_ORDER_NOT_ALLOWED` | Updating an archived order is not allowed. |\n| `CANNOT_MODIFY_PROPOSAL_ID` | DSM can set the proposal ID only at the time of creation of order. Setting or changing proposal ID at the time of order update is not allowed. |\n| `PRIMARY_USER_REQUIRED` | Cannot have secondary user without a primary user. |\n| `PRIMARY_USER_CANNOT_BE_SECONDARY` | Primary user cannot be added as a secondary user too. |\n| `ORDER_TEAM_NOT_ASSOCIATED_WITH_ADVERTISER` | A team associated with the order must also be associated with the advertiser. |\n| `USER_NOT_ON_ORDERS_TEAMS` | The user assigned to the order, like salesperson or trafficker, must be on one of the order's teams. |\n| `AGENCY_NOT_ON_ORDERS_TEAMS` | The agency assigned to the order must belong to one of the order's teams. |\n| `INVALID_FIELDS_SET_FOR_NON_PROGRAMMATIC_ORDER` | Programmatic info fields should not be set for a non-programmatic order. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]