Ensuring BannerSnack HTML5 Compatibility With Terminus

To ensure compatibility with Terminus Ad Experiences, complete the following step for each HTML5 creative you want to upload.

 Bannersnack.gif

Built In Method:

1. Click "Save"

2. Enter the URL where you would like your click to go to (make sure you have your UTM parameters.)

3. Click the "Download" icon.

4. Choose "HTML5"

5. Choose "Custom AD Network"

6. Select "The TradeDesk"

Once you get the zip file it's ready to upload to Terminus! 

 

Custom Code Method:

1. Find the closing </body> tag and past the following block of code right before it.

____________________________________________________________

<script type="text/javascript">
function getParameterByName(name) {
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
results = regex.exec(location.search);
return results === null ? "" :
decodeURIComponent(results[1].replace(/\+/g, " "));
}
var banner = document.getElementById('YOUR_DIV_ID_HERE');
banner.onclick=function(){
var clickTag = getParameterByName('clickTAG');
window.open(clickTag, "_blank");
};
</script>

___________________________________________________________________

3. Replace YOUR_DIV_ID_HERE with the DIV ID= from your <div> tag directly after the opening <body> tag. This ID is typically "bs

4. Zip the .html , .js and images folder together, DO NOT zip the files as a folder underneath a folder, the .html needs to be on the root level of the zip directory. 

5. Upload the .zip file to Terminus and set your click-through URL in the Terminus UI. You're DONE!

 

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.