Allowed External CDN JavaScript Libraries in Google Ads
To maintain page speed and protect user privacy, Google Ads (AdWords) strictly prohibits external script references inside HTML5 ZIP packages. You cannot reference scripts from popular CDNs like Cloudflare, CDNJS, or your own server. If you do, the validator will reject your ZIP.
Approved Google CDN Allowlist
Google allowlists specific files hosted on its own secure CDNs. These files do not count toward your ZIP file weight limit. Below are the approved domains and paths:
| Library | Approved CDN Prefix |
|---|---|
| GreenSock (GSAP) | https://s0.2mdn.net/ads/studio/cached... |
| jQuery | https://ajax.googleapis.com/ajax/libs/jquery/... |
| CreateJS | https://code.createjs.com/... or s0.2mdn.net equivalents |
| Google Web Designer components | https://s0.2mdn.net/ads/studio/shared/... |
Always double-check that you are using the HTTPS version of these paths, as non-secure HTTP references will be flagged as an SSL compliance issue.