AI-generated Key Takeaways
-
The
TeamError
object in Google Ad Manager's API represents errors related to team access and assignments. -
It provides details about why a team-related operation failed, such as a user lacking access or an invalid team assignment.
-
TeamError
includes fields likereason
, which specifies the cause of the error through an enum, and inherited fields fromApiError
for additional context. -
Several reasons for
TeamError
are defined, covering scenarios like entities not being on user teams, ad units not on order teams, and invalid team assignments. -
This error helps developers troubleshoot issues when working with teams and entities within the Google Ad Manager system.
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
|