AI-generated Key Takeaways
-
AssetError is an error type that lists all errors associated with assets within the API.
-
It includes inherited ApiError fields like fieldPath and trigger, as well as its own reason field indicating specific asset-related issues like non-unique names or invalid file sizes.
-
The reason for an AssetError is represented by an enum that details specific issues such as file name or size problems, missing required parameters in code snippets, or invalid asset IDs.
Lists all errors associated with assets.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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. |
AssetError
|
|
|
The error reason represented by an enum. Enumerations
|