AI-generated Key Takeaways
-
TeamError objects represent errors related to a Team in Google Ad Manager.
-
These errors can occur due to various reasons, such as a user not having access to an entity because it's not on their team, ad units or placements not being on the order's teams, or issues with team assignments.
-
TeamError inherits from ApiError, providing additional context about the error, like field path, trigger, and error string.
-
The
reason
field within a TeamError object further specifies the cause of the error using a dedicated enum, TeamError.Reason. -
This enum includes values like
ENTITY_NOT_ON_USERS_TEAMS
,AD_UNITS_NOT_ON_ORDER_TEAMS
, andMISSING_USERS_TEAM
to clarify the issue.
Errors related to a Team.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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
|