AI-generated Key Takeaways
-
TeamError represents errors related to a Team, including issues with user team associations, ad units and placements not being on order teams, missing user teams, and invalid team assignments.
-
TeamError inherits properties from ApiError such as fieldPath, fieldPathElements, trigger, and errorString.
-
The specific reason for a TeamError is provided by the
reason
field, which is represented by a TeamError.Reason enum. -
Enumeration values for TeamError reasons include
ENTITY_NOT_ON_USERS_TEAMS
,AD_UNITS_NOT_ON_ORDER_TEAMS
,PLACEMENTS_NOT_ON_ORDER_TEAMS
,MISSING_USERS_TEAM
,ALL_TEAM_ASSOCIATION_NOT_ALLOWED
,INVALID_TEAM_ASSIGNMENT
,CANNOT_UPDATE_INACTIVE_TEAM
, andUNKNOWN
.
Errors related to a Team.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
Field |
|
---|---|
ApiError (inherited)
|
|
|
The OGNL field path to identify cause of error. |
|
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)}. |
|
The data that caused the error. |
|
A simple string representation of the error and reason. |
TeamError
|
|
|
The error reason represented by an enum. Enumerations
|