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:
And also runs a 'click' action when the button on the scene is clicked:
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