FreeFree feed audit: check your product feed for Google, Meta and TikTok in a minute.Audit my feed
Feedance
Article

HTML5 Banner Specs for Google Ads, DV360 and CM360, and Where Feed-Built Banners Break Them

Google Ads caps HTML5 ZIPs at 600 KB and 40 files; DV360 and CM360 allow 100. Limits, error messages and fixes for banners built from feed rows.

Cagdas PolatCagdas Polat
10 min read
Product feed rows packaged into a zip archive and rendered as HTML5 display banners in standard ad sizes

Google Ads accepts an uploaded HTML5 banner only as a ZIP of 600 KB or less containing no more than 40 files, and only from accounts Google has approved for HTML5 (Google Ads Help). Display & Video 360 and Campaign Manager 360 allow up to 100 files per package and have their own click rules (DV360 Help, CM360 Help).

This guide is for teams that generate HTML5 banners from product feed rows, one package per SKU, category or promotion, for Google's display stack. Hand-built banners rarely hit these limits. Feed-built banners hit them constantly, because the feed decides the file names, image weight, text length and text direction.

By the end you will be able to build a package that passes upload on all three platforms, know where it can serve, and fix the errors feed-driven builds trigger most often.

The three platforms share a ZIP format but disagree on almost every number. If one template feeds all three, build to the strictest column.

RuleGoogle Ads (uploaded HTML5)Display & Video 360Campaign Manager 360
Package sizeZIP of 600 KB or lessNo ZIP limit; 5 MB total downloaded when the ad serves10 MB per package
Files per package40100100
FontsGoogle Fonts onlyBundled font files allowedBundled font files allowed
ClicksWhole ad clickable; custom click code rejectedClick tags required; opens in a new tab or windowAt least one readable click tag
Size declarationad.size meta tag requiredNot statedad.size meta tag optional
Browser storageLocal storage not allowedMax 25 cookies per adNo indexedDB, localStorage, sessionStorage or openDatabase
AnimationNo HTML5 limit stated30 seconds maximumNot stated

Table sources: Google Ads specifications, DV360 HTML5 guidelines, CM360 HTML5 creatives.

One correction: many spec sheets still give 150 KB as the Google Ads HTML5 limit (for example Creatopy's guide). On Google's current page, 150 KB is the limit for GIF, JPG and PNG image ads; the HTML5 ZIP limit is 600 KB. 150 KB is still a sensible target because it matches the IAB initial-load guidance below, but it is not the upload rule.

Who can upload HTML5 to Google Ads

HTML5 upload is gated. Google's specification page lists three minimums: the account has been open more than 90 days, has more than USD 9,000 lifetime spend, and has a good policy history. Google replies within seven business days, and meeting the criteria does not guarantee access (Google Ads Help).

Google's own pages disagree on the spend threshold. The dynamic remarketing page says you can request access with more than USD 1,000 lifetime spend and good policy and payment history (Google Ads Help), while the error reference repeats 90 days and USD 9,000 (Google Ads Help). Plan around the stricter number.

Without approval, upload fails with Your HTML5 ad couldn't be uploaded. Your account doesn't support HTML5 ads. Google's alternatives are responsive display ads or AMPHTML, which uses the same 600 KB budget (one HTML document plus up to 39 assets) and allows no custom exits.

What has to be inside a Google Ads HTML5 ZIP

  • A DOCTYPE, <html> and <body> tags, with explicit end tags. Self-closing tags such as <path /> are rejected.
  • A size meta tag in <head>: <meta name="ad.size" content="width=300,height=250">.
  • Only HTML, CSS, JS, GIF, PNG, JPG, JPEG and SVG files, referenced by relative paths. No external references except Google Fonts and Google-hosted CreateJS, GreenSock and jQuery.
  • UTF-8 for non-ASCII characters.
  • File and folder names using only letters, numbers, periods, hyphens and underscores (error reference).

Accepted sizes are 200×200, 240×400, 250×250, 250×360, 300×250, 336×280, 580×400, 120×600, 160×600, 300×600, 300×1050, 468×60, 728×90, 930×180, 970×90, 970×250, 980×120, 300×50, 320×50 and 320×100. In Google Web Designer, use the Google Ads environment and publish locally; expandables, timers and multiple exits are not supported.

A minimal head for an Arabic 300×250 banner:

<!DOCTYPE html><html lang="ar" dir="rtl"><head><meta charset="utf-8"><meta name="ad.size" content="width=300,height=250"><link href="https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic&display=swap" rel="stylesheet"></head>

dir="rtl" on the html element is the W3C's recommended way to set right-to-left direction for a document (W3C). The font comes from Google Fonts because Google Ads accepts no other web fonts.

How clicks work on each platform

Google Ads makes the whole ad clickable and sends clicks to the final URL set in the interface. Extra exits fail with HTML5 ad contains multiple exits; custom exit code fails with Your HTML5 ad is modifying clickability, which is not supported. For non-GWD tools, Google's fix is to remove the ExitApi script and any onclick calls to ExitApi.exit (Google Ads Help).

Campaign Manager 360 needs at least one click tag. Google's example declares var clickTag = "http://www.google.com"; in the head and opens it with window.open(window.clickTag). Don't minify the click tag, avoid hardcoded landing page URLs, and keep % out of file names (CM360 Help). DV360 also requires unminified click tags that open in a new tab or window (DV360 Help).

In practice we keep two build targets from one template: no click code for Google Ads, a clickTag for CM360 and DV360.

Where uploaded HTML5 can serve in Google Ads

Google associates HTML5 ads with the Display Network, App campaigns and Demand Gen, and states that HTML5 in Demand Gen serves only on the Display Network, not on YouTube, Discover, Maps or Gmail (Google Ads Help).

Performance Max is murkier. The specification page does not list uploaded HTML5 as a Performance Max asset, but the error reference includes The bundle contains incompatible vertical information, explained as "Custom HTML5 for Performance Max supports only dynamic HTML5 for the retail vertical." Treat it as limited and confirm with your Google rep before building for it.

Dynamic remarketing is the route for live product data. Google Web Designer's dynamic templates bind elements to feed fields, and retail feeds come from Merchant Center (GWD Help, feed setup). The campaign needs an attached feed, the ad should show one or more products rather than a fixed number, and the business type must match the campaign. A feed-linked ZIP uploaded to a campaign without a feed returns The uploaded ZIP file isn't supported. Upload ads that aren't linked to a feed.

Weight and runtime limits that apply after upload

  • IAB. The New Ad Portfolio gives 300×250 and 728×90 a 150 kB initial load and 300 kB subload after gzip, caps animation at 15 seconds and recommends no more than 30% CPU per ad (IAB). Its flexible sizing grid lists 728×90 at 75 kB, contradicting its own table, so check with the publisher.
  • DV360. No autoplay audio and a maximum of 100 HTTP calls per ad.
  • Chrome. Chrome unloads an ad the user hasn't interacted with if it uses more than 4 MB of network, the main thread for more than 15 seconds in any 30-second window, or more than 60 seconds in total (Chrome for Developers).

A product carousel that loops forever and lazy-loads extra images is the usual way to trip the Chrome limits.

Where feed-driven banners break the spec

File names built from titles or SKUs

When image files are named from feed values, spaces, slashes and symbols reach the path and Google Ads rejects the package. Non-Latin letters (Turkish ı, Arabic script) are a risk too, so transliterate or name files by product id. Normalise before packaging:

Feed-derived name (fails)Normalised name (passes)Why
Kadın Deri Çanta 35cm.jpgkadin-deri-canta-35cm.jpgSpaces are not allowed; transliterate ı and Ç to be safe
SKU 4471/BLK.pngsku-4471-blk.pngThe slash creates a folder; the space is not allowed
Parfüm & Oud 100ml.jpgparfum-oud-100ml.jpg& and spaces are not allowed
IMG_1234.JPG referenced as img_1234.jpgOne case rule for files and referencesGoogle matches names exactly, including case

A template that loads the feed's image_link from your CDN at serve time is an external reference, rejected with Your HTML5 ad is trying to reference an asset not found in your .ZIP file. In uploaded static HTML5 the image must be inside the ZIP, so the banner is a snapshot that cannot read your feed live.

Full-resolution photos from image_link plus a few additional_image_link values exhaust 600 KB and 40 files quickly. Resize to the rendered slot size, cap images per package, and run a size check in the build so a heavy SKU fails in your pipeline, not at upload.

Text length and direction

A 140-character title will overflow a 300×50 slot. GWD's dynamic templates include text fitting; in a custom build, cap characters per size with a feed rule. For Arabic, set dir="rtl", load an Arabic Google Fonts family, and test rows that mix Arabic text with Latin model numbers and prices.

Price freshness

A banner showing a price is only as current as its last rebuild. Rebuild when price or availability changes, or pause affected packages. If the source is a Feedance feed, refresh is daily on Essentials and hourly on Business, so schedule rebuilds after it.

We put these normalisation steps in feed rules so every template receives clean values. The rendering side is covered in the feed attributes that decide whether dynamic creative renders.

Pre-upload checklist for feed-driven HTML5 packages

CheckPass condition
Account accessHTML5 approved on the Google Ads account
Package size≤ 600 KB ZIP (Google Ads), ≤ 10 MB (CM360), ≤ 5 MB served (DV360)
File count≤ 40 (Google Ads), ≤ 100 (DV360, CM360)
Size tagad.size present and an accepted size
File namesLetters, numbers, periods, hyphens, underscores; case matches; no %
External referencesOnly Google Fonts and Google-hosted libraries (Google Ads)
Click codeNone for Google Ads; readable clickTag for CM360 and DV360
AnimationStops within 15 s (IAB) or 30 s (DV360)
Encoding and directionUTF-8; dir="rtl" on Arabic packages
Price snapshotBuilt after the latest feed refresh
Error as Google Ads prints itUsual causeFix
The file size for your ad is too big.Unresized photos, deep galleriesResize, cap images
The ad you uploaded includes a file path or file name with characters other than letters, numbersNames generated from titles or SKUsASCII slugs or product ids
Your HTML5 ad is trying to reference an asset that we can't find in your .ZIP fileCase or path mismatchOne naming rule
Your HTML5 ad is missing a primary .HTML file.Missing ad.size, unclosed head, curly quotesAdd tag, straight quotes
HTML5 ad contains multiple exitsPer-product click targets in a carouselKeep one exit

Error strings are quoted from Google's error reference.

What this guide doesn't cover

This is the Google display stack only. Social catalog ads on Meta and TikTok are a separate creative pipeline. If most of your spend is there, tools built around catalog imagery, such as Confect or Hunch, are the closer fit, and you may not need HTML5 at all.

Rich media formats and publisher-direct specs, often stricter than IAB, are out of scope. Google Ads publishes no HTML5 animation limit, so for GDN-only buys the 15-second rule is guidance, not an upload check. Where platform pages contradict each other we have given both numbers; check the live page before a large build, because these specs change without a dated changelog.

Frequently asked questions

What is the maximum HTML5 file size in Google Ads?

A ZIP of 600 KB or less with no more than 40 files. The often-quoted 150 KB is Google's limit for image ads and the IAB initial-load guidance.

Why can't I upload HTML5 ads to my Google Ads account?

HTML5 upload needs approval: an account open more than 90 days, more than USD 9,000 lifetime spend and good policy history, per the specification page. Until then, use responsive display or AMPHTML ads.

Can uploaded HTML5 ads run in Performance Max?

The specification page doesn't list them as a Performance Max asset. The error reference says custom HTML5 for Performance Max supports only dynamic HTML5 for retail, so confirm for your account.

Do HTML5 ads in Demand Gen show on YouTube?

No. Google says HTML5 in Demand Gen serves only on the Display Network.

Can an HTML5 banner read prices from my feed live?

Not as an uploaded static package in Google Ads, because external references are blocked. Live product data comes through feed-linked dynamic remarketing HTML5 built against a Merchant Center feed.

Do I need a clickTag for Google Ads HTML5?

No. Google Ads makes the whole ad clickable and rejects custom exit code. CM360 and DV360 require a readable click tag.

Can I use my own font for Turkish or Arabic text?

Not in Google Ads, which supports only Google Fonts. DV360 and CM360 accept bundled font files, which count toward package weight, so subset them.

Sources

If you produce HTML5 banners from a catalog and want one template to render every SKU, see how feed-driven HTML5 creative works in Creative Suite, then book a demo with a sample feed.

Want a second pair of eyes on your feed? We will review it with you and show where the gaps are before your next submission.
Run a free audit
Cagdas Polat
Written by
Cagdas Polat

Co-founder of Feedance, where he leverages his background as a computer engineer and marketer to drive analytical insights. With a strong focus on transforming data into actionable strategies, he is dedicated to helping brands achieve significant growth in the digital landscape.

LinkedIn

See which
products earn.

Connect your feed and GA4. We show Product Score, 4T, Price War and Broken Size on your own catalog.