Creating HTML5 Ads for Appnexus

In the attached example, I’ve setup a Hype document setup as a template for AppNexus.

The document has two modifications: It loads the AppNexus ad library in the head:

<script type="text/javascript" src="https://acdn.adnxs.com/html5-lib/1.3.0/appnexus-html5-lib.min.js"></script>

And also runs a ‘click’ action when the button on the scene is clicked:

window.open(APPNEXUS.getClickTag(), "_blank");

appnexus-example.zip (41.9 KB)

To use this template, simply adapt the click action to correspond to your clickable ‘exit’. Then, after exporting from Tumult Hype, zip your .html file and .hyperesources folder and upload it to AppNexus.

This document was adapted from the documentation here: https://wiki.appnexus.com/display/industry/Creatives

1 Like