Preroll Banner Integration Guide

Introduction

The Preroll Banner integration is a display ad format introduced to allow Video SSP to serve video ads into in-banner placements without the use of the ONE Video AdPlayer integration.

 

Preroll banner ads are integrated with our standard VPAID ad client, and leverages the same workflow as a standard VAST+VPAID video tag.

Preroll-banner ads provide less configurations, but more options. Preroll banner ads keep all the functionalities like set size, start mute, set default html (renamed to passback tag), and they also takes a video URL to show after the preroll ads. And the only configuration needed is the ONE Video inventory source or marketplace connection tag.

 

Implementation

Include the following JavaScript tag on your web page to load the Preroll Banner ad unit.

<script>
window.adaptv_prbanner_width = 300; // Optional, if not specified, default width is 300px
window.adaptv_prbanner_height = 250; // Optional, if not specified, default height is 250px
window.adaptv_prbanner_adurl = '//u-ads.adap.tv/a/h/CbyYsMcIh10+XoGWvwRuGArwmci9atPoLiGQaGjtyrT4ht6z4qOJpQ==?cb=%5BCACHE_BREAKER%5D&pageUrl=http%3A%2F%2Ftest.com&eov=eov'; // Required, use the ad-tag downloaded from console
window.adaptv_prbanner_videourl = '//redir.adap.tv/redir/test/media/elephants_dream_640x360_2.30.mp4'; // Optional, the video plays after the preroll ad
window.adaptv_prbanner_passbacktag = '<div>Place banner passback tag here!</div>'; // Optional, passback HTML tag if the preroll ads fail to play
window.adaptv_prbanner_startmuted = true; // Optional, if not specified, default to false
</script>
<script src="//redir.adap.tv/redir/javascript/prbanner.js"></script>

 

Settings

  • adaptv_prbanner_width - width of banner, default width is 300px.
  • adaptv_prbanner_height - height of banner, default height is 250px.
  • adaptv_prbanner_adurl - Required to use the ad tag downloaded from the ONE Video console.
  • adaptv_prbanner_videourl - Optional, video plays after the preroll ad.
  • adaptv_prbanner_passbacktag - Optional, passback html tag if the preroll ads fail to play.
  • adaptv_prbanner_startmuted - Optional, if not specified, default to false.

EXAMPLE

This is the placeholder for your banner passback tag.

 

You can refresh the page to see the Preroll Banner example tag load again.

Have more questions? Submit a request