type AssetError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors associated with assets.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
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)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
AssetError
|
reason
|
AssetError.Reason
The error reason represented by an enum.
Enumerations
-
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThis document outlines the \u003ccode\u003eAssetError\u003c/code\u003e object in Google Ad Manager's API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAssetError\u003c/code\u003e is a type of \u003ccode\u003eApiError\u003c/code\u003e and lists errors related to assets, like creative files or code snippets.\u003c/p\u003e\n"],["\u003cp\u003eIt provides details about the error, including a reason code (\u003ccode\u003ereason\u003c/code\u003e), field path (\u003ccode\u003efieldPath\u003c/code\u003e), and a descriptive error message (\u003ccode\u003eerrorString\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eSeveral reasons for \u003ccode\u003eAssetError\u003c/code\u003e are listed, such as non-unique names, file size issues, missing required code elements, and invalid asset IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAssetError\u003c/code\u003e information helps developers understand and troubleshoot issues when working with assets in the Google Ad Manager API.\u003c/p\u003e\n"]]],["The content outlines services and errors within an API, specifically version 202408. Services include Creative, CreativeSet, Forecast, LineItem, LineItemTemplate, and Order. Errors are categorized under `ApiError` and `AssetError`, with `AssetError` focusing on issues like `NON_UNIQUE_NAME`, `FILE_NAME_TOO_LONG`, `FILE_SIZE_TOO_LARGE`, and more. Various other errors like `AuthenticationError`, `CommonError`, `QuotaError`, and `StringLengthError` are listed, related to asset and service operations, within the namespace `https://www.google.com/apis/ads/publisher/v202408`.\n"],null,[]]