Demo Ad Creatives & Embed Codes

If you would like to test the standard ad creatives for the Media Network on your captive portal page, please read over the following steps.

Using Ads4WiFi Embed Codes on 3rd party captive portals

Using the AdSpace Embed Code you can display Advertiser’s campaigns on compatible captive portal splash pages that are not natively supported by Ads4WiFi by following the steps outlined below.

  • You must add ads.ads4wifi.com and assets.ads4wifi.com to your captive portal walled garden to allow the AdSpace to work as expected.
  • Using the example Embed Codes below to test, you can paste one into your splash page where you want the content to be displayed.
  • To prevent a broken guest experience you may need to disable the clicking functionality to reach a Banner’s destination URL.
  • Disclaimer: Additional modifications to the html code of your captive portal page may be required to get the demo ad creative to present exactly where you want it. Additional modifications to the embed code for the video ad creative may also be required to support displaying the ad video across different device types, i.e. iOS, Android, Windows, etc.

Test AdSpace Embed Codes

Image Banner Embed Code
<!--/*
*
* Adserver Javascript Tag
* - Generated with Adserver v3.2.4
*
*/-->

<!--/*SSLBackupComment
* This noscript section of this tag only shows image banners. There
* is no width or height in these banners, so if you want these tags to
* allocate space for the ad before it shows, you will need to add this
* information to the <img> tag.
*
* If you do not want to deal with the intricities of the noscript
* section, delete the tag (from <noscript>... to </noscript>). On
* average, the noscript tag is called from less than 1% of internet
* users.
*/-->

<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://ads.ads4wifi.com/www/delivery/ajs.php':'http://ads.ads4wifi.com/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=2885");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.ads4wifi.com/www/delivery/ck.php?n=a8a99e11&cb=2049584353' target='_blank'><img src='https://ads.ads4wifi.com/www/delivery/avw.php?zoneid=2885&cb=2049584353&n=a8a99e11' border='0' alt='' /></a></noscript>
Video Banner Embed Code
<!--/*
*
* Adserver Javascript Tag
* - Generated with Adserver v3.2.4
<!--/*
*
* Adserver Javascript Tag
* - Generated with Adserver v3.2.4
*
*/-->

<!--/*SSLBackupComment
* This noscript section of this tag only shows image banners. There
* is no width or height in these banners, so if you want these tags to
* allocate space for the ad before it shows, you will need to add this
* information to the <img> tag.
*
* If you do not want to deal with the intricities of the noscript
* section, delete the tag (from <noscript>... to </noscript>). On
* average, the noscript tag is called from less than 1% of internet
* users.
*/-->

<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://ads.ads4wifi.com/www/delivery/ajs.php':'http://ads.ads4wifi.com/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=2932");
document.write ('&cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
document.write ("&loc=" + escape(window.location));
if (document.referrer) document.write ("&referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.ads4wifi.com/www/delivery/ck.php?n=a3203da1&cb=2501463390' target='_blank'><img src='https://ads.ads4wifi.com/www/delivery/avw.php?zoneid=2932&cb=2501463390&n=a3203da1' border='0' alt='' /></a></noscript>
Button Video Banner Embed
<!--/*
  *
  * Adserver Javascript Tag
  * - Generated with Adserver v3.2.4
  *
  */-->
 
<!--/*SSLBackupComment
  * This noscript section of this tag only shows image banners. There
  * is no width or height in these banners, so if you want these tags to
  * allocate space for the ad before it shows, you will need to add this
  * information to the <img> tag.
  *
  * If you do not want to deal with the intricities of the noscript
  * section, delete the tag (from <noscript>... to </noscript>). On
  * average, the noscript tag is called from less than 1% of internet
  * users.
  */-->
 
<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://ads.ads4wifi.com/www/delivery/ajs.php':'http://ads.ads4wifi.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=3285");
   document.write ('&cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
   document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
   document.write ("&loc=" + escape(window.location));
   if (document.referrer) document.write ("&referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.ads4wifi.com/www/delivery/ck.php?n=aa3b4777&cb=1340812211' target='_blank'><img src='https://ads.ads4wifi.com/www/delivery/avw.php?zoneid=3285&cb=1340812211&n=aa3b4777' border='0' alt='' /></a></noscript>
Mixed Banner Embed Code
<!--/*
  *
  * Adserver Javascript Tag
  * - Generated with Adserver v3.2.4
  *
  */-->
 
<!--/*SSLBackupComment
  * This noscript section of this tag only shows image banners. There
  * is no width or height in these banners, so if you want these tags to
  * allocate space for the ad before it shows, you will need to add this
  * information to the <img> tag.
  *
  * If you do not want to deal with the intricities of the noscript
  * section, delete the tag (from <noscript>... to </noscript>). On
  * average, the noscript tag is called from less than 1% of internet
  * users.
  */-->
 
<script type='text/javascript'><!--//<![CDATA[
   var m3_u = (location.protocol=='https:'?'https://ads.ads4wifi.com/www/delivery/ajs.php':'http://ads.ads4wifi.com/www/delivery/ajs.php');
   var m3_r = Math.floor(Math.random()*99999999999);
   if (!document.MAX_used) document.MAX_used = ',';
   document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
   document.write ("?zoneid=3286");
   document.write ('&cb=' + m3_r);
   if (document.MAX_used != ',') document.write ("&exclude=" + document.MAX_used);
   document.write (document.charset ? '&charset='+document.charset : (document.characterSet ? '&charset='+document.characterSet : ''));
   document.write ("&loc=" + escape(window.location));
   if (document.referrer) document.write ("&referer=" + escape(document.referrer));
   if (document.context) document.write ("&context=" + escape(document.context));
   if (document.mmm_fo) document.write ("&mmm_fo=1");
   document.write ("'><\/scr"+"ipt>");
//]]>--></script><noscript><a href='http://ads.ads4wifi.com/www/delivery/ck.php?n=aaacb0a0&cb=3534402464' target='_blank'><img src='https://ads.ads4wifi.com/www/delivery/avw.php?zoneid=3286&cb=3534402464&n=aaacb0a0' border='0' alt='' /></a></noscript>
Updated on May 3, 2024

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT