GoAdserver
Live demo

HTML5 rich media banners

Animated and interactive banners built in HTML, CSS and JavaScript, uploaded as a .zip and served like any banner.

Live zones on a demo account with made-up advertisers. Every click goes through the ad server's clickTag and is counted.

DEMO 1

Animated 300 × 250 in a sidebar

Three HTML5 banners share this zone: a photo carousel, a fare ticker with a live countdown and an interactive “pick your roast” unit — click its buttons, they change the banner instead of opening the ad. Reload the page for another one. Each is an ordinary .zip (index.html, CSS, JavaScript, images) uploaded to the media bank.

Zone #12512627 · banner zone · 300 × 250 · only the HTML5 campaigns

Kestrel Stays: carouselSkyHopper: countdownNordbrew: picker
Show the code
<!-- once per page, in <head> -->
<script src="https://g2.gsrv.dev/ctrl/19460.js"></script>
<!-- where it goes -->
<div id="id_12512627"></div>
<script>
goCtrl.add({"display":"id_12512627","sid":12512627,"plugin":"banner"});
</script>
DEMO 2

Leaderboard 728 × 90

A range meter that counts up and fills, then starts again. Small file, no external libraries: plain CSS and a few lines of JavaScript.

Zone #12512629 · banner zone · 728 × 90

A desktop size, shown scaled down on this phone
Show the code
<!-- once per page, in <head> -->
<script src="https://g2.gsrv.dev/ctrl/19460.js"></script>
<!-- where it goes -->
<div id="id_12512629"></div>
<script>
goCtrl.add({"display":"id_12512629","sid":12512629,"plugin":"banner"});
</script>
DEMO 3

Half-page 300 × 600

A slow zoom on the hero photo and figures that count up as the banner loads. The whole unit clicks through to the advertiser.

Zone #12512628 · banner zone · 300 × 600

Show the code
<!-- once per page, in <head> -->
<script src="https://g2.gsrv.dev/ctrl/19460.js"></script>
<!-- where it goes -->
<div id="id_12512628"></div>
<script>
goCtrl.add({"display":"id_12512628","sid":12512628,"plugin":"banner"});
</script>
BUILD ONE

How to build an HTML5 banner

Any tool that exports an IAB / clickTag HTML5 banner works, or write one by hand. Three rules:

Upload: Media bank → Banner → tick HTML5 banners · API: POST /api/v1/creatives/upload with type=html5

  1. A .zip with an index.html at the top (or inside one folder), up to 5 MB, with only web files: HTML, CSS, JavaScript, images, fonts, short video or audio.
  2. Its size: pick the banner size when you upload, or put <meta name="ad.size" content="width=300,height=250"> in index.html and it is read from there.
  3. Its click: the ad server opens the banner with ?clickTag=<click URL>. Open that on a click — window.open(clickTag) — and the click is counted, then sent on to the ad's destination URL.
<meta name="ad.size" content="width=300,height=250">
<div id="ad">Your offer here</div>
<script>
  var clickTag = new URLSearchParams(location.search).get('clickTag');
  document.getElementById('ad').onclick = function () { window.open(clickTag, '_blank'); };
</script>

Download the example .zip

About the format: HTML5 rich media ads · Advertiser manual: Ads and creatives · All formats: Ad formats · More demos: all live demos

Run these formats on your own network

Every format on this page is part of the GoAdserver ad server. Talk to us about your platform.

Contact us