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 outlines various services and their associated `TeamError` reasons within an ad management API, specifically version `v202502`. Services include `CompanyService`, `ContactService`, `ForecastService`, and more. `TeamError.Reason` details why a target error occurred, listing possible issues like `ENTITY_NOT_ON_USERS_TEAMS`, `AD_UNITS_NOT_ON_ORDER_TEAMS`, or `INVALID_TEAM_ASSIGNMENT`. Actions include associating entities with teams, and attempting to create or modify entities based on user team access and roles.\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** [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/ProposalLineItemService.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. |"]]