AI-generated Key Takeaways
-
AssetError
objects detail errors encountered when working with assets in Google Ad Manager. -
These errors can arise from issues like non-unique asset names, excessive file sizes, or missing parameters in dynamic allocation code snippets.
-
The
reason
field categorizes the specific cause of the error, such asNON_UNIQUE_NAME
,FILE_SIZE_TOO_LARGE
, orMISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT
. -
Refer to the
AssetError.Reason
enumeration for a comprehensive list of potential error reasons and their descriptions. -
The
AssetError
object inherits properties fromApiError
, offering additional context for troubleshooting.
Lists all errors associated with assets.
- 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. |
AssetError
|
|
|
The error reason represented by an enum. Enumerations
|