[[["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 relate to order status (canceled, pending, archived), user roles (primary, secondary), and programmatic settings.\u003c/p\u003e\n"],["\u003cp\u003eReasons also address team associations for orders, agencies, and advertisers, ensuring proper relationships.\u003c/p\u003e\n"],["\u003cp\u003eLastly, \u003ccode\u003eOrderError.Reason\u003c/code\u003e includes an unknown error to cover cases not exposed by the specific API version.\u003c/p\u003e\n"]]],["The provided content outlines error reasons within the `OrderError.Reason` enumeration, primarily for the `OrderService`. These errors detail restrictions on order modifications, such as preventing updates to canceled, pending, or archived orders. Other reasons involve user and team assignments, ensuring primary users are designated correctly, and order teams are associated with the advertiser. Additionally, it prevents setting programmatic fields on non-programmatic orders. An `UNKNOWN` value is a catch-all for unexposed values.\n"],null,["# enum OrderError.Reason (v202411)\n\n**Service** \n[ForecastService](/ad-manager/api/reference/v202411/ForecastService.OrderError.Reason) [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** [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/OrderService.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. |"]]