[[["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 identifies potential errors encountered when creating or updating orders in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration outlines reasons for order errors, such as updating canceled orders, missing primary users, or team association conflicts.\u003c/p\u003e\n"],["\u003cp\u003eIt includes error codes for programmatic order issues and situations where users or agencies are not associated with the order's teams.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOrderError.Reason\u003c/code\u003e namespace provides programmatic access to these error codes for troubleshooting and debugging.\u003c/p\u003e\n"]]],["The content outlines error reasons related to order management within a service, specifically for `OrderError.Reason`. Key actions that are restricted include updating canceled, pending approval, or archived orders. Modifying the proposal ID after order creation is disallowed. User and team association rules are enforced, requiring primary users, team alignment with advertisers, and user membership on assigned teams. Additionally, programmatic fields are forbidden in non-programmatic orders. `UNKNOWN` values are used if values are not accessible by API.\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** [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/LineItemService.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. |"]]