Help Center Manage Your Account Ad Tag

How do I setup a companion ad in video ad serving?

A companion ad runs along with a VAST video ad (pre-roll, mid-roll or post-roll) to provide a more integrated experience for viewers. To setup, you add a companion positioning restriction to show another ad together with a video ad.


  • Click on a video ad
  • Click on tab "Restrictions", click tab "Add"
  • Choose type "Companion/Competitive Restriction"
  • Choose another ad as companion, which could be an image banner ad, a SWF/Flash ad, a text link ad, or a Rich-Media/HTML ad
  • Click "Save" button to tie the companion ad with the linear/non-linear ad

Integration with Video Player

If a pre-roll video ad has a companion ad, it is automatically included in the VAST call. You only need to specify the correct container ID and the dimension. Below is an example for JWPlayer:
advertising: {
 client: "vast",
 tag: ""
 companiondiv: {
  id: "MyCompanionDIV",
  width: 300,
  height: 250
Another example for FlowPlayer:

Other Articles in Ad Tag

This section describes the ad tag (serving code) with basic and advanced settings. It includes common ad serving setup instructions and answers frequently asked questions when integrating the ad tag into your site, blog or app.

Cannot find an answer for your question? Ask our Customer Care team