enum TeamError.Reason (v202502)
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/v202502
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],["The content details `TeamError.Reason`, an enumeration of error types within the Google Ad Manager API (v202502). It lists reasons like `ENTITY_NOT_ON_USERS_TEAMS`, `AD_UNITS_NOT_ON_ORDER_TEAMS`, `MISSING_USERS_TEAM`, `INVALID_TEAM_ASSIGNMENT`, and `CANNOT_UPDATE_INACTIVE_TEAM`. These errors occur across various services (e.g., `ContactService`, `LineItemService`) when entities lack proper team association or are affected by team-related restrictions. The `UNKNOWN` value serves as a default for unexposed API values.\n"],null,["# enum TeamError.Reason (v202502)\n\n**Service** \n**CompanyService** [ContactService](/ad-manager/api/reference/v202502/ContactService.TeamError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.TeamError.Reason) [InventoryService](/ad-manager/api/reference/v202502/InventoryService.TeamError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.TeamError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.TeamError.Reason) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.TeamError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.TeamError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.TeamError.Reason) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.TeamError.Reason) [TeamService](/ad-manager/api/reference/v202502/TeamService.TeamError.Reason) [UserService](/ad-manager/api/reference/v202502/UserService.TeamError.Reason) [UserTeamAssociationService](/ad-manager/api/reference/v202502/UserTeamAssociationService.TeamError.Reason) **Dependencies** \n[TeamError](/ad-manager/api/reference/v202502/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/v202502`\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. |"]]