type TeamError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Errors related to a Team.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
TeamError
|
reason
|
TeamError.Reason
The error reason represented by an enum.
Enumerations
-
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."],[[["\u003cp\u003eThe \u003ccode\u003eTeamError\u003c/code\u003e object in Google Ad Manager's LineItemService provides information about errors related to teams, such as invalid team assignments or entities not being on a user's teams.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTeamError\u003c/code\u003e inherits from \u003ccode\u003eApiError\u003c/code\u003e and includes fields like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e for debugging purposes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field, with its corresponding enum values, helps identify the specific cause of the team-related error, like \u003ccode\u003eENTITY_NOT_ON_USERS_TEAMS\u003c/code\u003e or \u003ccode\u003eMISSING_USERS_TEAM\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis error is relevant to services like \u003ccode\u003eCompanyService\u003c/code\u003e, \u003ccode\u003eForecastService\u003c/code\u003e, and \u003ccode\u003eLineItemService\u003c/code\u003e, indicating restrictions or issues with team access in those contexts.\u003c/p\u003e\n"],["\u003cp\u003eIt's part of the Google Ad Manager API and falls under the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"]]],["The content details services, including CompanyService, ForecastService, InventoryService, LineItemService, and others, all related to ad management. It also covers error handling through inheritance, with `ApiError` as a base and various specific errors like `ApiVersionError`, `AssetError`, and many more, organized under `LineItemService`. `TeamError` is a specific error type that is described with reasons like `ENTITY_NOT_ON_USERS_TEAMS` or `INVALID_TEAM_ASSIGNMENT`, also listing the field requirements for the errors.\n"],null,[]]