AI-generated Key Takeaways
- 
          The UserService provides access to various error types that can be encountered when interacting with the service, including ApiError,ApiVersionError,AuthenticationError, and more.
- 
          The TokenErroris specifically for exceptions that occur when using a token.
- 
          The ApiErrorobject, whichTokenErrorinherits from, contains fields such asfieldPath,fieldPathElements,trigger, anderrorStringto help identify the cause and details of an error.
- 
          The TokenErroritself has areasonfield which can indicate if a token isINVALID,EXPIRED, or if the reason isUNKNOWN.
An error for an exception that occurred when using a token.
- Namespace
- 
               https://www.google.com/apis/ads/publisher/v202505
| 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. | 
| TokenError | |
| 
                            | 
 Enumerations 
 |