[[["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 permissions within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003eThese errors often arise when a user attempts to interact with entities that are not associated with their assigned teams.\u003c/p\u003e\n"],["\u003cp\u003eSpecific scenarios include restrictions on using ad units, placements, and orders outside of a user's team scope.\u003c/p\u003e\n"],["\u003cp\u003eThe enumeration provides detailed explanations for each error reason, aiding in troubleshooting and resolution.\u003c/p\u003e\n"],["\u003cp\u003eIt also addresses situations like inactive teams or invalid team assignments, ensuring comprehensive error handling.\u003c/p\u003e\n"]]],["The provided content details the `TeamError.Reason` enumeration, which outlines reasons for errors related to team associations within various services. Key error reasons include users lacking access (`ENTITY_NOT_ON_USERS_TEAMS`, `MISSING_USERS_TEAM`), ad units or placements not being on order teams (`AD_UNITS_NOT_ON_ORDER_TEAMS`, `PLACEMENTS_NOT_ON_ORDER_TEAMS`), invalid team assignments (`INVALID_TEAM_ASSIGNMENT`), the inability to use a team that has access to all entities (`ALL_TEAM_ASSOCIATION_NOT_ALLOWED`), the impossibility to update an inactive team(`CANNOT_UPDATE_INACTIVE_TEAM`) and unknown errors(`UNKNOWN`). The namespace for these is `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,["# enum TeamError.Reason (v202408)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202408/CompanyService.TeamError.Reason) [ForecastService](/ad-manager/api/reference/v202408/ForecastService.TeamError.Reason) [InventoryService](/ad-manager/api/reference/v202408/InventoryService.TeamError.Reason) **LineItemService** [LineItemTemplateService](/ad-manager/api/reference/v202408/LineItemTemplateService.TeamError.Reason) [NativeStyleService](/ad-manager/api/reference/v202408/NativeStyleService.TeamError.Reason) [OrderService](/ad-manager/api/reference/v202408/OrderService.TeamError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202408/ProposalLineItemService.TeamError.Reason) [ProposalService](/ad-manager/api/reference/v202408/ProposalService.TeamError.Reason) [TeamService](/ad-manager/api/reference/v202408/TeamService.TeamError.Reason) [UserService](/ad-manager/api/reference/v202408/UserService.TeamError.Reason) [UserTeamAssociationService](/ad-manager/api/reference/v202408/UserTeamAssociationService.TeamError.Reason) **Dependencies** \n[TeamError](/ad-manager/api/reference/v202408/LineItemService.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/v202408`\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. |"]]