type HtmlBundleProcessorError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Lists all errors associated with html5 file processing.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
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.
|
HtmlBundleProcessorError
|
reason
|
HtmlBundleProcessorError.Re...
The error reason represented by an enum.
Enumerations
-
CANNOT_EXTRACT_FILES_FROM_BUNDLE
- Cannot extract files from HTML5 bundle.
-
CLICK_TAG_HARD_CODED
- Bundle cannot have hard-coded click tag url(s).
-
CLICK_TAG_IN_GWD_UNUPPORTED
- Bundles created using GWD (Google Web Designer) cannot have click tags. GWD-published
bundles should use exit events instead of defining var
clickTAG .
-
CLICK_TAG_NOT_IN_PRIMARY_HTML
- Click tag detected outside of primary HTML file.
-
CLICK_TAG_INVALID
- Click tag or exit function has invalid name or url.
-
FILE_SIZE_TOO_LARGE
- HTML5 bundle or total size of extracted files cannot be more than 1000 KB.
-
FILES_TOO_MANY
- HTML5 bundle cannot have more than 50 files.
-
FLASH_UNSUPPORTED
- Flash files in HTML5 bundles are not supported. Any file with a .swf or .flv extension
causes this error.
-
GWD_COMPONENTS_UNSUPPORTED
- The HTML5 bundle contains unsupported GWD component(s).
-
GWD_ENABLER_METHODS_UNSUPPORTED
- The HTML5 bundle contains Unsupported GWD Enabler method(s).
-
GWD_PROPERTIES_INVALID
- GWD properties are invalid.
-
LINKED_FILES_NOT_FOUND
- The HTML5 bundle contains broken relative file reference(s).
-
PRIMARY_HTML_MISSING
- No primary HTML file detected.
-
PRIMARY_HTML_UNDETERMINED
- Multiple HTML files are detected. One of them should be named as
index.html
-
SVG_BLOCK_INVALID
- An SVG block could not be parsed.
-
CANNOT_DECODE_BUNDLE
- The HTML5 bundle cannot be decoded.
-
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\u003eThe \u003ccode\u003eCreativeService.HtmlBundleProcessorError\u003c/code\u003e object lists all errors associated with processing HTML5 files, specifically within the context of Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from the \u003ccode\u003eApiError\u003c/code\u003e object, providing standard error reporting fields like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field is crucial and uses the \u003ccode\u003eHtmlBundleProcessorError.Reason\u003c/code\u003e enum to pinpoint the specific reason for the HTML5 file processing failure, with a variety of reasons like file size, file count, click tag issues, or unsupported GWD components, allowing for targeted troubleshooting.\u003c/p\u003e\n"],["\u003cp\u003eThis error occurs within the namespace \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e in the Google Ad Manager API.\u003c/p\u003e\n"]]],["The core content outlines error handling for HTML5 file processing within a service. It details the `HtmlBundleProcessorError` and its various reasons, such as issues with extracting files, incorrect click tags, file size or quantity limits, unsupported file types (e.g., Flash), missing or multiple primary HTML files, and more. The `ApiError` and its related fields like `fieldPath`, `trigger` and `errorString` are the base class from which other errors are derived, and are the framework for how the errors are structured.\n"],null,[]]