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 document details various services within an ad management API, including Company, Contact, Forecast, Inventory, LineItem, and others. It focuses on `TeamError.Reason`, outlining error conditions related to team associations. These include issues like users lacking access to entities (`ENTITY_NOT_ON_USERS_TEAMS`), ad units/placements missing from order teams, invalid team assignments, inactive team modification attempts, and scenarios where teams giving access to all entities can't be directly linked to an entity.\n"],null,["# enum TeamError.Reason (v202502)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202502/CompanyService.TeamError.Reason) [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** [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/ProposalService.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. |"]]