Video ads introduction

Using OpenX to serve video ads

With OpenX 2.8.2, you can use the OpenX Video Plugin to serve video ads through OpenX. The OpenX Video Plugin is compliant with the IAB VAST standard and it supports the following types of ads:

  • Inline video ad: A video that plays before (pre), during (mid), or after (post) the main video stream and can click to the advertiser's site.
  • Overlay video ad: An image, swf, text or HTML ad that displays on top of the main video stream and can click to the advertiser's site or click to play a video.

The following diagram shows the requirements for serving a video ad.

Downloading the necessary plugins

  • You can download the OpenX Video Plugin here.
  • You can download the Open Ad Streamer Plugin (for Flowplayer or JW Player) or the Open Video Ads VAST AS3 Framework (for custom players) here.

Getting started with the OpenX Video Plugin for OpenX

The OpenX Video Plugin enables you to define video zones and create video ads to be served to those zones. You can use it to configure the parameters for your inline video ads and your overlay video ads. The plugin also allows you to view statistics for the VAST tracking events related to your video ads.

  • For information on how to serve your first video ad with the OpenX Video Plugin, click here.
  • For information on how to view video ad statistics, click here.

Getting started with the Open Ad Streamer Plugin or VAST AS3 Framework for your video player

In order to serve video ads, you must be using a flash-based media player, such as Flowplayer, JW Player or a custom player. Along with your video player, you need to use a VAST compliant plugin to allow your player to communicate with OpenX via VAST XML requests and responses. If you use Flowplayer or JW Player, you should use the Open Ad Streamer Plugin from Open Video Ads. If you use a custom player, you should write your own VAST compliant plugin by using the Open Video Ads VAST AS3 Framework.

  • For information on how to use the Open Ad Streamer Plugin or the Open Video Ads VAST AS3 Framework, visit the Open Video Ads project.

Example code for the Open Ad Streamer Plugin

The following code snippet shows an example of how to use the Open Ad Streamer Plugin with Flowplayer.

<div class="home_box"> <p id="home_box_list_header">OpenX 2.8 User Guide</p> <ul> <li><a href="/docs/2.8/userguide/Advertisers">Advertisers</a></li> <li><a href="/docs/2.8/userguide/campaigns">Campaigns</a></li> <li><a href="/docs/2.8/userguide/banners">Banners</a> <ul> <li><a href="/docs/2.8/userguide/Adding+a+banner">Adding a banner</a></li> <li><a href="/docs/2.8/userguide/banner+properties">Banner properties</a></li> <li><a href="/docs/2.8/userguide/banner+delivery+options">Banner delivery options</a></li> <li><a href="/docs/2.8/userguide/linking+banners+to+zones">Linking banners to zones</a></li> <li><a href="/docs/2.8/userguide/banners+advanced">Banners - advanced options</a></li> <li><a href="/docs/2.8/userguide/video+ads">Video ads introduction</a></li> <li><a href="/docs/2.8/userguide/banners+video+ads">Serving your first video ad</a></li> </ul> </li> <li><a href="/docs/2.8/userguide/websites">Websites</a></li> <li><a href="/docs/2.8/userguide/zones">Zones</a></li> <li><a href="/docs/2.8/userguide/channels">Channels</a></li> <li><a href="/docs/2.8/userguide/direct+selection">Direct selection</a></li> <li><a href="/docs/2.8/userguide/user+access">User access</a></li> <li><a href="/docs/2.8/userguide/account">My account</a></li> <li><a href="/docs/2.8/userguide/statistics">Statistics</a></li> </ul> </div>