Home Guides and Tutorials How to Serve VAST Video Ads on Your Website and Monetize With Them

How to Serve VAST Video Ads on Your Website and Monetize With Them

by Adsterra Team
Monetize website with VAST video ads

Every publisher who turns to video content can monetize a website by serving VAST ads.  But with many video players on the market and some technical tricks behind the whole process, it may be challenging to install advertising scripts. Adsterra experts race to the rescue! Our Head of Publishers Support, Victoria, is here again to walk you through the main steps of setting up video players and getting the ad codes.

You will learn how to serve VAST video codes on your website (pre-roll, mid-roll- post-roll), what are in-stream and out-stream videos. Also, you will get a 123 guide on how to enable video content, get the Adsterra codes, and start monetizing with them.

Let’s outline what VAST ads are, and how publishers can serve them to maximize revenues. It will help a lot if you jump into your Adsterra account to practice on the go πŸ˜‰

What are VAST tags and video ad codes?

Each ad network has its own format of the advertising JS code or iFrame tag. Browsers recognize and execute these tags easily.

Unlike static ads, video ads are embedded in the video players. Here we have the standard of the ad code that tells a video player which ad to show at a particular moment.

VAST/VPAID has become this standard. VAST or Video Ad Serving Template is an XML file. It contains data about an ad that a publisher’s video player should execute at the moment.

What are VAST tags used for?

Publishers add VAST tags to their video players and make money on showing advertising offers before, between, or after the main content. Just like popunder ad codes, VAST video tags help publishers monetize their video content and websites in general. Advertisers track their ads’ efficiency (CTR, clicks, volume of impressions) and select those publishers whose traffic they are willing to pay for. 

Ways of serving VAST video ads on a publisher’s website

All publishers are interested in showcasing ads to a broader audience and get as many paid impressions as possible. 

Let’s list the ways of serving video ads and look at their advantages and disadvantages.

1. In-stream advertising

These high-quality video ads are played on top of the player’s content (like online cinemas). All content is in the viewer’s eyesight. These types of ads are accurately targeted. Advertisers usually pay higher for them. 

The key point is that these ads come along with the content a user intends to watch. So, they engage users incomparably better than those out-stream types.

2. Out-stream advertising

Usually, these ads cost less. They’re placed inside video players that don’t have any content. You may have seen them on news websites, on the sidebar parts of the pages. Out-stream videos are still in demand, however, not all publishers are ready to place them as they’re pretty pushy.

3. Pre-roll video ads

It’s a preferable mode of playing video ads for both advertisers and publishers. The promotional videos are placed before the main content of the player. Though there are opposite opinions, we at Adsterra recommend this mode as the primary.

Users are eager to watch the video you offer. So, it’s OK if you show an ad before the video they are so motivated to watch.

The Adsterra VAST codes are provided with the “pre-roll” parameter by default. However, you can modify this setting according to your video player instructions.

4. Mid-roll video ads

As it comes from the name, mid-roll ads appear between the pieces of content you expose to your users. Some would claim that a mid-roll method of playing ads is more engaging because users are halfway to getting the content they need so much. But it isn’t enjoyable either. If you slice your content with several mid-roll ads, users may simply leave.

So, it’s about your audience. Please think of how it consumes videos and how to make them react to ads.

5. Post-roll video ads

Showing ads in a post-roll mode, it’s not a go-to idea, because in this case, users will get the promoted video only AFTER they watch the main content. It can make sense if you’re streaming educational videos, and after each lesson, users can get a bonus handout or a discount from you.

Things that webmasters need to know before they start making money with video ads

1. Make sure your website is ready to serve video content

Well, that’s health check you will have to carry out. Although the majority of websites support video content, some hidden tricks may be awaiting you.

Fast hosting provider is a must

When a website runs on shared hosting, it literally shares the server’s capacities with multiple other websites. Just to ensure you’re all ready, give this guide to publishers’ web hosting services a read.

Your WordPress (or other CMS) version

If you run a WordPress-based website, you will need to choose a credible video player plugin that supports ad tags. It’s mega important to check if your player is compatible with your WP version. It is fair for all CMS and website-building platforms.

Later on, we will give a brief guide on enabling ads for the Fluid Player. However, you can select the one that suits you best. 

Your website builder’s limitations

If you have built a website using a free website builder, make sure your license allows you to stream video content. Some website builders restrict the volume of data your visitors can view within a month. It is called “bandwidth limits.” For instance, the free version of the Wix builder limits you to 500MB of data.

2. Subscribe to a high-quality video player

To monetize a website with VAST video ads, you need to install a video player first. It is better when it is a powerful tool with multiple settings so that you could adjust them to your needs.

In most cases, you will have to pay for a subscription, but it’s worth it.

Here are some of the video players that publishers and website owners mostly use to monetize VAST video ads:

  • JW Player
  • Brightcove
  • Brid.TV
  • Video.js
  • Fluid Player
  • FV Player VAST
  • and many others

Instructions on how to get the Adsterra VAST video ad tag / code

Before you start monetizing your website traffic with VAST video, you need to get the ad code (also, “script” or “snippet”) that contains various offers from advertisers.

With Adsterra, it is a super-easy flow that doesn’t require any extra manual settings or tweaks.

1. Requesting the Adsterra VAST code

  1. If you’re new to Adsterra, please sign up as a publisher. If you’re already with us, then log in first.
  2. Find the Websites tab (you can find it on the vertical toolbar). Click ADD NEW WEBSITE if you want to add a new domain. If you need to get the VAST code for an already added website, choose it from the list and hit ADD CODE.
  3. In the pop-up window, you need to fill out the available fields. Pick VAST from the Available Ad Unit list.

Request Adsterra VAST video

All done! Please give us a couple of minutes to approve your request, whether it is a new website plus a VAST code or just a VAST code.

2. Getting your VAST video code to place inside a video player

You can get the VAST code after Adsterra approves your request. There are two ways to check if it is OK.

#1 way. From your Publisher’s account, open the Websites tab. Find the website you requested the VAST code for. The status of the website must be Approved. Click All Codes β€” Get Code

If the status is Pending, please, wait until it changes to Approved.

VAST code approved

#2 way. You can get the VAST code from the confirmation email we send you after the approval. On the inbox, open the email from the Adsterra Team (you might need to look in the spam box if you can’t find it). 

Open the letter and click the View Code Scripts button.

From the email, follow to the scripts page. Please copy the code as is without making any changes. You will need to paste it into your video player later.

Snippets to paste on webpage

How to add VAST codes to your video player to monetize from ads

You have already got and copied the VAST code. Let’s see how you can put it on a video player and start making great money. Unlike any other ads, VAST is added to the video player, not to the website HTML code.

We will list the basics for the most usable video players. Generally, you can get all these instructions from the video player provider. Always check with them because some settings can be updated.

Instructions on placing Adsterra VAST codes to video players

90 percent of all settings you will have to make in your video player. Please, read the instructions provided by your video player and make sure you have the updated data as digital products can upgrade pretty fast. 

This post will give you a basic description of how to place the Adsterra VAST video ad code to several most-used video players. So let’s jump into some how-tos again πŸ™‚

Add your VAST video tags to Brightcove

Brightcove provides a CMS where you can place the VAST code in the Advertising section. 

πŸ‘οΈβ€πŸ—¨οΈThe full article is available in Brightcove’s documentation.

Now we will examine one of the steps β€” enabling advertising.

  1. Login to Brightcove Studio and open the PLAYERS module. You need to create a new player or choose a player you want to add the VAST code to.
  2. Hit Advertising from the navigation menu.
  3. Check the Enable Client-Side (IMA).
  4. For the Ad Tag, paste the Adsterra VAST code you got earlier.
  5. Leave other values as is.
  6. Click Save.
  7. To publish the player, click Publish & Embed > Publish Changes.

Before you save all settings, check the Advertising section. It should look like this:

Embed VAST video ads in the BRID.TVΒ 

With BRID.TV CMS, you can easily add VAST codes to the video player. Follow these steps:

  1. From your account, find the PLAYERS section in Brid.
  2. Pick any of your players.
  3. Scroll down till the MONETIZATION dropdown. Make sure that the monetizable checkbox is checked.
  4. Click on the ADD PRE-ROLL button.
  5. Paste the VAST code in the Desktop-only Ad Tags and make sure it is valid (watch the preview).
  6. Click SAVE.

πŸ‘οΈβ€πŸ—¨οΈ Read the full tutorial.

Enable VAST tag for Brid TV

Enable VAST video ads for JW Player

As it comes from the JW Player’s documentation, you can run video ads only if your subscription plans are Business or Enterprise.

Adding VAST video codes to JW Player consists of two main stages: adding an ad schedule and enabling advertisement. 

πŸ‘οΈβ€πŸ—¨οΈ Adding Ad Schedule (official tutorial).

πŸ‘οΈβ€πŸ—¨οΈ Enabling advertising (official tutorial).

Step 1. Create an Ad Schedule

  1. Click Ad Schedules > Create Ad Schedule. The Ad Schedule screen will appear.
  2. Enter a name for the ad schedule.
  3. In the Select Your Ad Manager section, tick VAST.
  4. In the Configure Ad Breaks section, click the + icon to create a Preroll, Midroll, or Postroll ad break.
  5. In the text box, enter the VAST code you got from Adsterra.
  6. Click SAVE.
How to enable VAST ads for JW player

Step 2. Enable advertising for your player

  1. Navigate to Players.
  2. Click on the player you need and open Advertising.
  3. Set the Advertising toggle ON and select the VAST schedule you created on Step 1.
  4. Click Save.
Enable video ads for JW player

Run VAST ads on your Video.js player

Video.js player requires the videojs-vast-plugin available. You can take it from this Github repository.

The plugin reads a VAST file, takes the first video it can, and plays it as a pre-roll ad before your main video content. It will also redirect users to the URL the advertiser places.

You will need to add the Javascript files and CSS. Please copy all of the following pieces of code from the official Video.JS repo on Github. In this post, we can only navigate you to the right destination.

You need to add the supporting Javascript files and CSS.

<link href="videojs.vast.css" rel="stylesheet" type="text/css"> 
<script src="vast-client.js"></script>
<script src="video.ads.js"></script>
<script src="videojs.vast.js"></script>

Then, in your player configuration, specify where your VAST file is:

plugins: { 
ads: {},
vast: {
url: 'https://www.videosprofitnetwork.com/watch.xml?key=your_unique_key'

EXTRA: How to put VAST pre-roll video ads on a WordPress website

Many of the Adsterra publishers monetize WordPress websites and blogs, so we will give a short instruction on how add VAST video ads on a WP-pages and posts.

Actually, the flow will be exactly the same as we described earlier. You will need to log in to Adsterra and get the VAST code.

One thing to stumble on here is getting your video player installed. Let’s make it all clear now.

1. Install a video player on a WordPress website

Let’s take a look at one of the widely used, the Fluid Player plugin.

  1. From your Admin panel, navigate to Plugins and click Add New. Type in “fluid player” in the search field. Once you find it click Install now. Then, activate the plugin. You can also upload the plugin files to the /wp-content/plugins/fluid-player directory, but it is safer to use the WP interface.

The next step is to add a player to a WordPress page or the whole website. We will see how to place Fluid Player on a separate blog post/page.

Install Fluid Player plugin

2. Embed VAST ads on the WordpRess page

Now you need to create a new WordPress post or page.

  1. From your Admin panel, click Posts (or Pages) > Add new. The new blank page will open. It is enough for our test. Click on the βž• icon (Add block) and scroll down to pick the Custom HTML block.
  2. Then, simply paste this piece of code. You will need to replace the text parts with the link to your video and your VAST code.
    [fluid-player video="insert your link to video here" vast_file="insert your VAST code here"]

Here is where you can pick the Custom HTML block to paste the VAST tag.

Adding VAST code to WordPress page

Why should you monetize your website with VAST video ads

Now that we have come a long way of “how-tos,” it’s time to talk about profits. Eventually, that’s why you integrate video ads into your video content πŸ™‚ So, how beneficial is serving VAST advertising on a publisher’s website? 

1. Publishers get access to multiple advertisers

Video content is truly versatile, and you can be sure to attract the most prominent verticals whose content is better to expose in video format. Like which, for example?

  • Casinos
  • VoD (Video-on-demand)
  • Sports & Betting
  • Games
  • Dating
  • E-commerce
  • Movies, TV series, and Music

2. Big advertisers that are ready for higher CPM costs

As you can see from the list above, all advertisers that prefer video ads are always on top. Despite the pandemic punch, they survived and grew their online marketing even more robust. 

Video content usually comes at a price. Marketers are ready to bid higher for promoting it. And when they notice a lovely CTR on a publisher’s website, they whitelist this traffic source and increase their payouts.

Why publishers should care about CTR

Not only CPM! Some metrics affect a publisher’s income even stronger. CTR is among them. Read how you can improve your website’s CTRs and get paid higher!

3. High engagement

Video ads beat banners in the fight for users’ eyes and attention. Pre-roll videos catch the pre-warmed users just before they start watching the initial content. Mid-roll videos don’t let users look at the other side while they’re waiting for the next piece of the main content to start.

And, as we have found out earlier, high engagement equals higher CTRs and multiple clicks.

4. The booming demand among advertisers and consumersΒ 

The more verticals go online, the more multimedia ads they will produce. This is also fair for content consumers. 

As of Statista, the share of digital video penetration is about 85% in the US

The video ad market is proliferating. The number of businesses that will use video in their marketing has reached 86%. Also, from the WiseOwl Survey: 85% of users would like to see more videos from brands.

5. Impressive CPM rates for VAST video ads

The only conclusion we can make from all the points above is that the cost of video ads will remain very pleasing for publishers. And paired with the ever-growing demand, they can make you some really nice cash. 

Though most marketers will invest in YouTube, web publishers who stream helpful videos on their inventory can monetize their websites impressively with VAST video ads. That’s mainly because of the restrictions on some types of ads (like online casinos) or GEO specifications.

Summary and a couple more tips

If you’re determined to monetize your website traffic with VAST video ads, you’re on the right track. Marketers will be creating more and more multimedia ads from 2021 and later on. 

With Adsterra, you can enable VAST ad codes for the majority of famous video players. But make sure you’ve read the documentation from your player provider.

Be cautious testing new ad formats. Start with pre-roll videos and track how your users react to ads. If they don’t churn and consume ads, you can try adding mid-roll videos.

Make sure your website page download speed is enough to demonstrate high-quality videos. Otherwise, all monetization attempts will be in vain.

Try alternative advertising formats that fit any website and allow for instant monetization. These are native banners, popunders, and Social Bar.

And, finally, choose a reliable advertising network. Well, you know which one we’re going to recommend πŸ˜‰

Related Posts