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.


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');
var clickTag = getParameterByName('clickTAG');
window.open(clickTag, "_blank");


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



Please sign in to leave a comment.