enum TeamError.Reason (v202508)
Stay organized with collections
Save and categorize content based on your preferences.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Enumeration |
Description |
ENTITY_NOT_ON_USERS_TEAMS
|
User cannot use this entity because it is not on any of the user's teams.
|
AD_UNITS_NOT_ON_ORDER_TEAMS
|
The targeted or excluded ad unit must be on the order's teams.
|
PLACEMENTS_NOT_ON_ORDER_TEAMS
|
The targeted placement must be on the order's teams.
|
MISSING_USERS_TEAM
|
Entity cannot be created because it is not on any of the user's teams.
|
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.
|
INVALID_TEAM_ASSIGNMENT
|
The assignment of team to entities is invalid.
|
CANNOT_UPDATE_INACTIVE_TEAM
|
Cannot modify or create a team with an inactive status.
|
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-13 UTC.
[null,null,["Last updated 2025-08-13 UTC."],[],[],null,["# enum TeamError.Reason (v202508)\n\n**Service** \n**CompanyService** [ContactService](/ad-manager/api/reference/v202508/ContactService.TeamError.Reason) [ForecastService](/ad-manager/api/reference/v202508/ForecastService.TeamError.Reason) [InventoryService](/ad-manager/api/reference/v202508/InventoryService.TeamError.Reason) [LineItemService](/ad-manager/api/reference/v202508/LineItemService.TeamError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202508/LineItemTemplateService.TeamError.Reason) [NativeStyleService](/ad-manager/api/reference/v202508/NativeStyleService.TeamError.Reason) [OrderService](/ad-manager/api/reference/v202508/OrderService.TeamError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202508/ProposalLineItemService.TeamError.Reason) [ProposalService](/ad-manager/api/reference/v202508/ProposalService.TeamError.Reason) [TeamService](/ad-manager/api/reference/v202508/TeamService.TeamError.Reason) [UserService](/ad-manager/api/reference/v202508/UserService.TeamError.Reason) [UserTeamAssociationService](/ad-manager/api/reference/v202508/UserTeamAssociationService.TeamError.Reason) **Dependencies** \n[TeamError](/ad-manager/api/reference/v202508/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/v202508`\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. |"]]