How to implement Venatus ad tags?

Our preferred and easiest method is hard coding our tags to the site directly. It involves taking the ad tags (Javascript Code) Venatus provide and adding them directly into the site or dynamic site template.

In order to implement the tags on your website you will need to:

  • Hardcode the ad manager into the <head> </head> tags of all pages where you want to serve ads.
  • Code the tags we sent into the <body> </body> slots where you wish to serve ads. 

Advantages:

We highly encourage publishers to use hardcoding implementation route because of:

    1. Global monetization:
      Venatus offers the ability to monetize your site globally. When tags are hardcoded by default we’re buying inventory in all geographies instantly. We have partners that cover demand all over the globe so any impression in the world has a chance to be monetized.

  • Discrepancies: When adserver is involved it might cause additional issues for advertisers while rendering an ad or calling frame correctly. By hardcoding our Javascript ad tags directly into the site we rarely see discrepancies. Hardcoding tags results in accurate measurement of all impressions which we report on our Venatus platform.

  • Load time:
    By hard coding Venatus ad tags to your site, you cut out the time a third-party ad server takes to load the ad. While 3rd party servers can offer good features they are not that essential when serving ads.

  • Easier troubleshooting
    One of the reasons hardcoding tags is cleanest set up is that it prevents problems and unnecessary troubleshooting. Example: if the ad is not displaying it’s easier to spot the issue and fix it instantly when adserver is not involved and we don’t have to rely on their support service.
  • Rich media
    While some adservers offer 1x1 set up others don’t. When tags are hardcoded you can always run 1x1 tag on the page which will boost rich media campaigns and incremental revenue. 

Step by step guide for hard-coding our tags

If you decided to hardcode tags directly to the page please follow steps below:

Step 1:

Please copy the ad manager into the <head> of the page. Example of the ad manager below:

* Venatus tags do not support Rocket Loader integration. Please disable & remove Rocket Loader when adding Venatus tags otherwise it will prevent our scripts from loading correctly.                              

 

Step 2:

Copy our tags into the body of the page where you want them to load. These will look like the following.

Tag serving based on the device:

At the moment Venatus cannot load tags based on the device or user screen. As a site developer, you should make sure that mobile tags are loaded on mobile and vice versa.
However, if you are not able to do it we do have a workaround script below: 

<html>
<head>....</head>
<body>
<div>... Some awesome content ...</div>
<div id="ad-container-1"></div>
<script>
window.top.__vm_add = window.top.__vm_add || [];
//this is a x-browser way to make sure content has loaded.
(function(success) {
if(window.document.readyState !== "loading"){
success();
} else {
window.document.addEventListener("DOMContentLoaded", function(){
success();
});
}
})(function(){
var placement = document.createElement("div");
placement.setAttribute("class", "vm-placement");
if(window.innerWidth > 1000){
//load 728x90 dynamic
placement.setAttribute("data-id", "xxx");
} else {
//load 320x50 static
placement.setAttribute("data-id", "xxx");
}
document.querySelector("#ad-container-1").appendChild(placement);
window.top.__vm_add.push(placement);
});
</script>
</body>
</html>

Passbacks

We are constantly doing our very best to generate the highest possible fill rate for your ad inventory. However, as much as we would like the fill rate to be 100%, in reality, it is close to impossible and some ad impressions are being defaulted. We offer two options for banner defaults here:

Pass-back tags

You could provide us with pass-back tags (e.g. AdSense)

House ads

You could send us HREF and IMG SRC tags for your house ads.

Here are the sizes required:

300x50, 320x50, 300x250, 728x90, 970x90, 970x250, 160x600. We would then ensure relevant defaults are in place.