With a Video Pro plan, activating ads and integrating an ad network is simple.

  1. Add plugins.swarmads.adTagUrl to the SmartVideo snippet in the header of your site
  2. Include your VAST URL in the snippet after adTAGUrl

Example configuration: 

var swarmoptions = {
  swarmcdnkey: "YOUR_APP_KEY", // your API key - mandatory
  plugins: {
    swarmads: {
      adTagUrl: "YOUR_VAST_URL" // something like http://pubads.g.doubleclick.net/...
    }
  }
};

If you experience any issues, please give us a shout via live chat on our site!

Did this answer your question?