Skip to main content
All CollectionsGetting Started
How to place codes on a website
How to place codes on a website

A guide on placing AdSpygalss ad tags

Sevak avatar
Written by Sevak
Updated over a week ago

Make sure to remove old ad codes from your website! Codes from ad networks will conflict with the AdSpyglass code.

Placing a popunder ad code:

Copy and paste the popunder code as the first item into the <body> of every webpage where you want to trigger a popunder.


Placing a banner ad code:

Copy and paste the banner code into the place on a webpage where you want to display this banner.
If you want to display the banner in several places on your website, you have to create a new ad spot for each one.


Placing In-video ad codes:

Here is the instruction for overlay video ad player:
Copy and paste the in-video code into the <body> of your video page.

Don't forget to set attachTo:. Enter HTML selector of your player, e.g. #myvideo or .player_1. You can find it by using the browser console:

In my example attachTo: "#sample-video"
If you want to use VAST URL, copy and paste it into your video player setup. Read the manual of your player for more details.

NB! Your video player may not support our VAST URL link! At the moment, it's been tested only with the KVS player. To ensure that your ads are displayed correctly, use our overlay player.


Placing Slider ad codes:

Copy and paste the slider code into the <body> of every webpage where you want to display a slider.

Did this answer your question?