AI-generated Key Takeaways
-
TeamError.Reason outlines the various reasons for errors related to team associations and permissions within the Ad Manager API.
-
Reasons include entities not being on a user's teams, ad units or placements not being on order's teams, missing user teams, invalid team assignments, and the inability to update inactive teams.
-
The enumeration
ENTITY_NOT_ON_USERS_TEAMS
indicates a user cannot use an entity because it's not on their teams. -
The
UNKNOWN
reason is returned when the actual value is not exposed by the requested API version.
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. |