[[["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\u003eTeamError.Reason\u003c/code\u003e outlines the potential errors related to team access and assignments within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThese errors often involve users lacking access to specific entities because they are not on the required teams.\u003c/p\u003e\n"],["\u003cp\u003eThe errors can also relate to ad units, placements, and orders not being assigned to the correct teams for proper access.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTeamError.Reason\u003c/code\u003e provides specific codes, like \u003ccode\u003eENTITY_NOT_ON_USERS_TEAMS\u003c/code\u003e or \u003ccode\u003eAD_UNITS_NOT_ON_ORDER_TEAMS\u003c/code\u003e, for easier identification of the access issue.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should consult this documentation to understand and handle these errors, ensuring smooth workflow and access control in Ad Manager.\u003c/p\u003e\n"]]],["The provided content details the `TeamError.Reason` enumeration within the Google Ad Manager API v202411. It outlines various reasons for team-related errors, including `ENTITY_NOT_ON_USERS_TEAMS`, `AD_UNITS_NOT_ON_ORDER_TEAMS`, and `PLACEMENTS_NOT_ON_ORDER_TEAMS`. Additional errors include missing team assignments, invalid team associations, and attempts to update inactive teams. `UNKNOWN` is used for values not exposed by the API. The content is found under the \"Service\" section of multiple entities including `ContactService` and `UserService` and the `TeamError` dependency.\n"],null,["# enum TeamError.Reason (v202411)\n\n**Service** \n**CompanyService** [ContactService](/ad-manager/api/reference/v202411/ContactService.TeamError.Reason) [ForecastService](/ad-manager/api/reference/v202411/ForecastService.TeamError.Reason) [InventoryService](/ad-manager/api/reference/v202411/InventoryService.TeamError.Reason) [LineItemService](/ad-manager/api/reference/v202411/LineItemService.TeamError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202411/LineItemTemplateService.TeamError.Reason) [NativeStyleService](/ad-manager/api/reference/v202411/NativeStyleService.TeamError.Reason) [OrderService](/ad-manager/api/reference/v202411/OrderService.TeamError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202411/ProposalLineItemService.TeamError.Reason) [ProposalService](/ad-manager/api/reference/v202411/ProposalService.TeamError.Reason) [TeamService](/ad-manager/api/reference/v202411/TeamService.TeamError.Reason) [UserService](/ad-manager/api/reference/v202411/UserService.TeamError.Reason) [UserTeamAssociationService](/ad-manager/api/reference/v202411/UserTeamAssociationService.TeamError.Reason) **Dependencies** \n[TeamError](/ad-manager/api/reference/v202411/CompanyService.TeamError) \n▼\n**TeamError.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| `ENTITY_NOT_ON_USERS_TEAMS` | User cannot use this entity because it is not on any of the user's teams. |\n| `AD_UNITS_NOT_ON_ORDER_TEAMS` | The targeted or excluded ad unit must be on the order's teams. |\n| `PLACEMENTS_NOT_ON_ORDER_TEAMS` | The targeted placement must be on the order's teams. |\n| `MISSING_USERS_TEAM` | Entity cannot be created because it is not on any of the user's teams. |\n| `ALL_TEAM_ASSOCIATION_NOT_ALLOWED` | A team that gives access to all entities of a given type cannot be associated with an entity of that type. |\n| `INVALID_TEAM_ASSIGNMENT` | The assignment of team to entities is invalid. |\n| `CANNOT_UPDATE_INACTIVE_TEAM` | Cannot modify or create a team with an inactive status. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]