In-Banner Integration Guide

Introduction

The In-Banner integration is a display ad format introduced to allow Video SSP to serve video ads on to standard 300x250 medium-rectangle ad spaces.

The ad is injected onto the page by means of an ad tag - a piece of javascript that sets some configuration and targeting options, and injects javascript file onto the page. This script is executed and embeds the Video SSP Ad Player, which then plays a video ad.

When the ad ends, the video ad is hidden, and its associated 300x250 companion is displayed. If it does not have a companion, then default banner (the one set in the ad tag configuration) is shown.

 

Implementation

Include the following javascript on your web page to load the In-Banner ad unit.

<script type='text/javascript'><!--//<![CDATA[
adaptv_inbanner_key = 'integration_test'; // required
adaptv_inbanner_default = '<div style="width:300px; height:250px; background-color:#c2c2c2;">This is a default companion specified in the ad tag</div>\n';

adaptv_inbanner_startmuted = false; // optional, defaults to false
adaptv_inbanner_targeting = // optional, for publishers with O&O ads
{ id :'1337'
, title :'test'
, categories : 'sports'
};

document.write('<scr'+'ipt src="http://redir.adap.tv/redir/javascript/inbanner.js"'+ '><\/scr'+'ipt>\n');
//]]>--></script>

 

Settings

  • adaptv_inbanner_key - publisher key
  • adaptv_inbanner_default - HTML Text of the default banner to be inserted if no ad can be shown
  • adaptv_inbanner_startmuted - Toggles the ad to start in a muted state
  • adaptv_inbanner_targeting - Object containing key-value pairs that are used for reporting and targeting
Have more questions? Submit a request