Google Ads HTML5 banner rules: what an upload checks
Google Ads takes HTML5 banners as ZIPs of up to 600 KB with at most 40 files. The rules an upload checks, and how Wavemaker builds banners that pass them.

On this page
Google Ads takes an HTML5 banner as a ZIP of at most 600 KB holding no more than 40 files. The index.html file sits at the top level with an ad.size meta tag that declares a supported display size. Every asset has to be inside the ZIP, and animation must stop within 30 seconds. A banner that breaks a rule is rejected or disapproved.
What an HTML5 banner is
An HTML5 banner is a small web page packaged as a ZIP. The HTML, CSS, JavaScript and images all go in one archive, and the ad server loads the page into a fixed slot. A static image ad is one JPG, PNG or GIF file; an HTML5 banner can animate because it runs code.
Google's Display & Video 360 help on HTML5 creatives describes these ads as built with JavaScript, HTML and CSS. It splits them into display banners (click to go to the advertiser's site) and rich media (animations, galleries, games, embedded video). Rich media in Display & Video 360 has its own rules, which this post doesn't cover. Everything below is about a display banner uploaded to Google Ads.
The ZIP limits: 600 KB and 40 files
Google Ads caps the whole ZIP at 600 KB, and Wavemaker's checks read that as at most 600,000 bytes. The archive can hold at most 40 files. The Brief's troubleshooting notes for Google Ads uploads summarize Google's uploaded display ads specification. They list both limits and say anything over 600 KB returns an error on upload.
You'll still see 150 KB quoted. A Udonis guide to Google display ad sizes gives 150 KB as the cap for HTML5 ZIPs, while The Brief's summary of Google's spec applies 150 KB to certain regional ad sizes and 600 KB to the rest. Check which limit applies to your size before you start trimming assets.
Display & Video 360 uses different numbers. Google's DV360 help says an HTML5 ZIP there can include up to 100 files with no size limit, though publishers may want it smaller. A banner built to DV360's limits can fail a Google Ads upload, so build to the stricter destination.
Banner size: the ad.size tag and supported sizes
Google Ads reads a banner's size from the banner itself. The primary file, index.html, has to sit at the top level of the ZIP, and its head declares the dimensions in a meta tag named ad.size. For a 300 x 250 banner, the tag's content is width=300,height=250. If the tag is missing or the main file is buried in a subfolder, the upload has no size to read.
Google Ad Manager's HTML5 guidelines say the primary HTML file and its assets must be at the root level of the ZIP or in clearly referenced subfolders, and that the primary HTML file shouldn't be nested within multiple subdirectories.
The declared size must also be one Google accepts. Udonis notes that HTML5 creatives use the same standard dimensions as image ads and that Google won't take non-standard sizes. Pick the size before you design, because the ad.size tag can't make an unsupported size acceptable.
Assets, file types and outside references
An uploaded HTML5 banner has to carry everything it needs. After size and weight, these rules cause most disapprovals.
- Every referenced file must be inside the ZIP, with relative paths in the HTML. Ad Manager's guidelines warn against hosting essential parts of the creative elsewhere.
- Outside references are blocked. The Brief notes that Google only lets you reference files in the uploaded ZIP. Linear Design's HTML5 specs by platform says creatives that call external domains are typically disapproved, with documented exceptions for Google Fonts and certain Google-hosted libraries.
- Accepted file types, per The Brief's summary, are CSS, JS, HTML, GIF, PNG, JPEG and SVG. Remove files with any other extension before you zip.
- Google Ads' policy page on unacceptable HTML5 ads gives examples of banners that don't work or appear blank: assets embedded in child frames, resources loaded from unapproved third-party sources, and non-Google fonts or audio or video tags.
- The Brief also suggests keeping file names to 50 characters and converting custom fonts to SVG if you aren't using Google Fonts.
No clickTag for Google Ads
A banner uploaded to Google Ads doesn't declare its own clickTag. You set the final URL on the ad in Google Ads, and Google handles the click-through. Google Ad Manager is the opposite. Its guidelines tell you to set exit URLs through click tags, keep click tags readable (not minified or obfuscated) and avoid hard-coded click-through URLs, and Ad Manager warns on upload if it finds them. DV360 has its own click-tag requirements, in Google's HTML5 display banner guidelines linked from the DV360 help.
Wavemaker's developer docs split this into three destinations, so one build doesn't have to serve every ad server:
| Destination | Where the banner goes | Click handling |
|---|---|---|
google/display-html5 | Upload to Google Ads | No clickTag in the banner; Google Ads sets the click-through |
google/ad-manager | Google Ad Manager | The banner declares its own clickTag |
web/banner | Your own site or placement | The banner links to your own page |
Animation length and loading
Animated HTML5 in Google Ads has to stop within 30 seconds. Linear Design's comparison table cites Google's uploaded display spec for that rule and notes that DV360 direct uploads have similar 30-second guidance. Plan the motion so the banner rests on its final frame, with the offer and logo readable.
Google Ads' policy page lists audio or video tags among the causes of HTML5 ads that don't work, and The Brief's summary says Google Ads doesn't support video files in these ZIPs. Udonis adds that audio should be user-initiated and that banners should load politely. If the idea depends on video, a video placement is usually a better fit than an HTML5 display banner.
Account access and the validator
Google doesn't open HTML5 upload to every Google Ads account. The Brief says an account gains access once it meets Google's requirements, that meeting them doesn't guarantee access, and that you can apply through Google's HTML5 access form if the option still isn't there. For accounts without access, The Brief mentions responsive display ads and AMP HTML ads.
Before uploading, run the ZIP through the Google Ads HTML5 Validator. Google's policy help points to it for finding out why an ad appears broken or blank. If an ad is disapproved, edit it in Ads under Campaigns and save. Google's policy page says the automatic re-review typically takes 24 to 48 hours, so each round costs a day or two. Catch errors before the first upload.
How Wavemaker packages a banner for Google Ads
Since 2026-10-20, Wavemaker can build HTML5 banners for a Google Ads upload. Through the session API, a display_set deliverable with formats: ["html5"] and destination: "google/display-html5" asks the hosted agent for HTML5 ZIPs. The agent builds each banner and checks it against the rules above: index.html at the top with an ad.size meta tag, at most 40 local files, a ZIP of at most 600,000 bytes, a supported display size, no clickTag, and animation that stops within 30 seconds. The fields and destinations are in the session API guide to making an ad.
Wavemaker plays each packaged banner in a sandboxed browser with no network, so a banner that loads an outside file shows the problem there instead of in Google's review. Each delivery returns the ZIP with a backup image and a preview MP4. Delivery refuses a file whose type isn't one of the requested formats, so a request for HTML5 can't be met with PNGs.
Some steps are yours. Generation doesn't upload anything or launch a campaign, and deliver only checks a file against the destination's spec and records the delivery. Get HTML5 access in your Google Ads account first, then upload the ZIP and set the final URL there. In the web app, you can brief a banner set in New chat; the Help guide to images and ads covers references and the quality menu. Before you send, open the quality menu beside Send and choose Check what this message costs to see the expected and highest likely cost. Checking spends nothing.
To try it from a backend, start with the HTML5 banner deliverables in the integration docs.