AI-generated Key Takeaways
-
AssetError.Reason provides specific reasons for errors related to assets within various services like CreativeService, ForecastService, and OrderService.
-
Reasons for AssetError include issues such as non-unique names, file size/name limits, missing dynamic allocation parameters, invalid code snippet values, and unknown errors.
-
The
NON_UNIQUE_NAMEreason indicates that an asset name must be unique per advertiser to avoid errors. -
Errors related to dynamic allocation stem from missing required client code, height, width, or format in the code snippet.
The reasons for the target error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
| Enumeration | Description |
|---|---|
NON_UNIQUE_NAME
|
An asset name must be unique across advertiser. |
FILE_NAME_TOO_LONG
|
The file name is too long. |
FILE_SIZE_TOO_LARGE
|
The file size is too large. |
MISSING_REQUIRED_DYNAMIC_ALLOCATION_CLIENT
|
Required client code is not present in the code snippet. |
MISSING_REQUIRED_DYNAMIC_ALLOCATION_HEIGHT
|
Required height is not present in the code snippet. |
MISSING_REQUIRED_DYNAMIC_ALLOCATION_WIDTH
|
Required width is not present in the code snippet. |
MISSING_REQUIRED_DYNAMIC_ALLOCATION_FORMAT
|
Required format is not present in the mobile code snippet. |
INVALID_CODE_SNIPPET_PARAMETER_VALUE
|
The parameter value in the code snippet is invalid. |
INVALID_ASSET_ID
|
Invalid asset Id. |
UNKNOWN
|
The value returned if the actual value is not exposed by the requested API version. |