Ad network integration
PRO PLAN REQUIRED: How to activate ads with SmartVideo
With a SmartVideo Pro plan, activating ads and integrating an ad network is simple.
- Add plugins.swarmads.adTagUrl to the SmartVideo snippet in the header of your site
- Include your VAST URL in the snippet after adTAGUrl
Example configuration
var swarmoptions = {
swarmcdnkey: "<<publicAPIKey>>", // your API key - mandatory
plugins: {
swarmads: {
adTagUrl: "YOUR_VAST_URL" // something like http://pubads.g.doubleclick.net/...
}
}
};
Updated almost 4 years ago