Complete guide to integrating and using PopAds
PopAds makes it easy to monetize your video content with our VAST-compliant ad tag. This guide will help you integrate PopAds into your video player in just a few minutes.
Sign up or log in to your PopAds dashboard to retrieve your unique VAST Tag URL.
Select from our integration guides for Video.js, JW Player, Brightcove, or any VAST-compliant player.
Add the VAST Tag to your player configuration and test that ads are serving correctly.
Deploy to production and start earning revenue from your video traffic.
Your VAST Tag URL is unique to your account and can be found in your publisher dashboard. It looks like this:
https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml
Most VAST-compliant video players accept a VAST Tag URL in their ad configuration. Here's a generic example:
<script>
var player = videoPlayer({
adTagUrl: 'https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml'
});
</script>
Always use HTTPS for your VAST Tag URL to ensure compatibility and security.
First, install Video.js and the IMA plugin:
npm install video.js videojs-ima
Add the following code to integrate PopAds with Video.js:
<video id="my-video" class="video-js" controls preload="auto">
<source src="your-video.mp4" type="video/mp4">
</video>
<script>
var player = videojs('my-video');
player.ima({
adTagUrl: 'https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml'
});
</script>
JW Player has built-in VAST support. Configure it like this:
jwplayer("my-player").setup({
file: "your-video.mp4",
advertising: {
client: "vast",
schedule: {
adbreak1: {
offset: "pre",
tag: "https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml"
}
}
}
});
You can add multiple ad breaks at different positions:
advertising: {
client: "vast",
schedule: {
preroll: {
offset: "pre",
tag: "https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml"
},
midroll: {
offset: "50%",
tag: "https://popadsnetwork.com/YOUR_PUBLISHER_ID/vast.xml"
}
}
}
Follow these steps to ensure your integration is working correctly:
Check that your VAST Tag URL is correct and uses HTTPS. Verify your account is approved.
Ensure your page is served over HTTPS when using the VAST Tag.
Verify your video player supports VAST 2.0 or higher.
Pre-roll ads typically have the highest completion rates and CPMs.
Higher quality content attracts premium advertisers and better CPMs.
Balance ad frequency with user experience to maintain engagement.
Ensure your player is responsive and works well on mobile devices.
Our support team is here to help you get the most out of PopAds. We offer multiple ways to get assistance:
Telegram: Usually within minutes • Email: Within 24 hours