AI-generated Key Takeaways
-
Common errors can be used across services and include reasons such as NOT_FOUND, ALREADY_EXISTS, UNSUPPORTED_OPERATION, and REQUEST_TOO_LARGE.
-
CommonError inherits from ApiError, which includes fields like fieldPath, fieldPathElements, trigger, and errorString to help identify the cause of an error.
-
The namespace for these errors is
https://www.google.com/apis/ads/publisher/v202508
. -
The reason for a CommonError is specified by the
CommonError.Reason
enumeration.
A place for common errors that can be used across services.
- 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. |
CommonError
|
|
|
Enumerations
|