Creative ValidatorHTML5 validatorTag testerGuides

GAM HTML5 ZIP upload errors: what to check and what to send support

Updated October 9, 2026 · Creative Validator

A generic HTML5 bundle error does not identify the failing file or rule. Start by distinguishing an upload rejection from a creative that saves successfully but fails during preview or clicking. Those are different problems and need different evidence.

Check an HTML5 bundle — choose the Google Ad Manager validation profile.

Try the worked examples: Missing primary HTML in a GAM ZIP · A click handler that bypasses clickTag · A missing asset inside an HTML5 ZIP

1. Confirm which archive you are uploading

Extract a delivery folder first if it contains several individual creative ZIPs. Inspect the individual creative archive for an obvious entry document, such as index.html, and its referenced assets. Uploading an outer delivery archive can produce a missing-primary-HTML error or cause an unrelated loose HTML test file to render.

Google's HTML5 guidelines cover the primary document, relative asset references, fixed dimensions and readable click-tag code. Check those requirements against the actual archive rather than just its filename.

2. Check dimensions, weight and exit behavior

A literal default URL in a click-tag declaration is not, by itself, proof of a broken exit. Test what happens when the value is changed, then click the creative. Also check the resulting click-tag configuration in GAM after a successful upload.

A blank local default or an external loader assigning an already-declared clickTag is not proof that GAM will reject the ZIP. Check the destination configured in GAM and test the trafficked click. A local blank exit, destination editability, upload acceptance and successful live serving are separate observations. Keep a readable declaration in the primary HTML; investigate loader overwrites rather than assuming every write is invalid.

3. Review JavaScript build compatibility

A bundle can render locally and still fail GAM's upload processor. Creative Validator warns about these patterns when the GAM profile is selected. These are review signals, not a list of universally forbidden JavaScript features or a reproduction of Google's scanner.

In a reviewed October 2026 upload investigation, a full bundle failed with HtmlBundleProcessorError.INVALID_HTML5_PACKAGE, naming a JavaScript asset. Three variants were accepted after changing one of the patterns above; their primary HTML and click loader were unchanged. Small isolated probes also accepted individual patterns. This supports contextual warnings, not a universal rejection rule. The observations do not reveal whether Google's implementation uses scoring, parsing, signatures or another mechanism. Upload acceptance did not establish serving or click correctness.

Detection covers parseable scripts and recognizable constructors and request bindings. Aliases, generated code and unparsed scripts can limit coverage. No warning is a guarantee of acceptance. Review request completion behavior and the Function constructor before changing a build.

4. Run a controlled comparison

Keep the original archive unchanged. Give each repair a distinct filename and change one suspected cause at a time. Record whether the original, the repaired version and a minimal control each upload successfully in the same workflow. Confirm the artwork shown in preview belongs to the file you intended to test.

If a minimal control works but the campaign bundle fails, you have narrowed the investigation. You have not yet proved which campaign asset or parser rule caused the rejection.

5. Keep local validation separate from GAM acceptance

A Creative Validator pass means the checks performed did not find a blocking issue. It does not certify Google's private ingestion pipeline. Similarly, rendering in a local browser does not establish that GAM will accept the ZIP. Preserve any remaining uncertainty in the handoff to the creative developer.

When an older creative still serves but the same source archive fails a fresh upload, document both observations. Reusing an existing creative does not exercise the fresh-upload path. Matching source-file hashes can establish that two supplied files are identical, but does not establish that they match GAM's stored asset unless that asset is also retrieved and compared.

6. Read the processing response and give support a reproducible case

If the UI only says "HTML5 bundle has some errors", open the browser's developer tools, select Network, and reproduce the upload. Inspect the response for the AssetService request with methodName=createAsset. Search for HtmlBundleProcessorError and any "Encountered error processing HTML5 file" detail. An HTTP 200 can contain an application-level failure. Record the returned code and file path; an internal code such as INVALID_HTML5_PACKAGE may not appear in the public SOAP API enum.

A HAR export can contain cookies, tokens, request payloads and creative files. Share a redacted error excerpt where possible; review an export before sending it to support. Creative Validator does not need your GAM credentials or an unredacted HAR to scan a ZIP.

Ask support to identify the specific processing reason and failing asset, and to provide a correction they have tested through a fresh upload. An HTTP 200 response alone does not prove that the application accepted the bundle; the response body and UI outcome matter.

Related resources