Using Tags
Improving your advertising matches
We use two methods to identify content on your web pages so we can ensure you get the most appropriate advertising:
Method 1: URL detection matches
In this example - https://www.humourgames.com/ the keywords we would detect are “humour” and “games”. If your URL contains any category used by our advertisers, we will send you advertising based on this match.
Method 2: Tags (Keywords) in your ad zones
In many cases your URL will not match a category precisely. In these cases, you can insert 'tags' into the code in your ad zones to manually match them to the type of advertising you want.
For example, you could insert the tags 'general' and 'humour' into your ad zone code, to ensure that you receive this type of advertising.
There are two ways of doing this, &ad_tags
and &tags
:
Parameter | Used in |
---|---|
ad_tags | Banner, Popunder, Sticky Banner, Mobile Interstitial Banner |
tags | iFrame, Instant Message, Mobile Instant Message, Email, Direct Link, All VAST Formats, All Native Ad Formats, Mobile Banner |
Note: When using multiple tags, they are separated with commas.
Notes about tags:
- Using the tag(keyword) method takes priority over the URL keyword method. Therefore if the ad zone contains the tag “humour” but in the URL the word “games”, the priority for the advertising to target your site(s) will be products for the "humour" keyword .
- Currently, nothing else other than the URL/tag methods, are taken into consideration for determining the category of advertising you will receive.
Examples of tags in use
In the examples below, we have added the tags 'humour' and 'general' to the ad zone codes for a banner ad.
To see how tags are used in all formats, click here.
Web
Banner
Standard
Added &ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_width = "300",
ad_height = "250",
ad_tags = "general,humour";
</script>
<script type="application/javascript" src="https://ads.examplesite.com/ads.js"></script>
<noscript>
<iframe src="https://syndication.examplesite.com/ads-iframe-display.php?idzone=1234567&output=noscript&type=300x250&tags=general,humour" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</noscript>
iFrame
Added &tags
='general, humour'
<iframe src="//ads.examplesite.com/iframe.php?idzone=1234567&size=300x250&tags=general,humour" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
Popunder
Inline & remote script
Added tags
='general, humour'
<script type="application/javascript">
(function() {
//version 1.0.0
var adConfig = {
"ads_host": "ads.examplesite.com",
"syndication_host": "syndication.examplesite.com",
"idzone": 1234567,
"popup_fallback": false,
"popup_force": false,
"chrome_enabled": true,
"new_tab": false,
"frequency_period": 720,
"frequency_count": 1,
"trigger_method": 3,
"trigger_class": "",
"only_inline": false,
"tags": "general,humour”
};
Remote Script only
Added ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_popup_fallback = false,
ad_popup_force = false,
ad_chrome_enabled = true,
ad_new_tab = false,
ad_frequency_period = 720,
ad_frequency_count = 1,
ad_trigger_method = 3,
ad_tags='general,humour';
</script>
<script type="application/javascript" src="https://ads.examplesite.com/popunder1000.js"></script>
Instant Message
Added &tags
='general, humour'
<script type="application/javascript" src="https://syndication.examplesite.com/splash.php?idzone=1234567&tags=general,humour"></script>
Sticky Banner
Added ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_width = "300",
ad_height = "250",
v_pos = "top",
h_pos = "left",
ad_tags = "general,humour";
</script>
<script type="application/javascript" src="https://ads.examplesite.com/js.php?t=17&idzone=1234567"></script>
Video
In-Video Banner (JavaScript)
This format does not currently support the use of tags.
In-Stream Video (VAST)
Added &tags
='general, humour'
https://syndication.examplesite.com/splash.php?idzone=1234567&tags=general,humour
In-video Banner (VAST)
Added &tags
='general, humour'
https://syndication.examplesite.com/splash.php?idzone=1234567&tags=general,humour
Video Slider
Added tags
='general,humour'
<script type="text/javascript" src="https://ads.examplesite.com/video-slider.js"></script>
<script type="text/javascript">
var adConfig = {
"idzone": 3723071,
"frequency_period": 15,
"close_after": 0,
"sound_enabled": 0,
"on_complete": "repeat",
"branding_enabled": 1,
"sub": "10004734",
"tags": "general,humour"
};
ExoVideoSlider.init(adConfig);
</script>
Mobile
Mobile Banner
Standard
Added ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_width = "300",
ad_height = "250",
ad_tags = "general,humour";
</script>
<script type="application/javascript" src="https://ads.examplesite.com/ads.js"></script>
<noscript>
<iframe src="https://syndication.examplesite.com/ads-iframe-display.php?idzone=1234567&output=noscript&type=300x250&tags=general,humour" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
</noscript>
iFrame
Added &tags
='general, humour'
<iframe src="//ads.examplesite.com/iframe.php?idzone=1234567&size=300x250&tags=general,humour" width="300" height="250" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe>
Mobile Popunder
Inline + Remote Script
Added tags
='general, humour'
<script type="application/javascript">
(function() {
//version 1.0.0
var adConfig = {
"ads_host": "ads.examplesite.com",
"syndication_host": "syndication.examplesite.com",
"idzone": 1234567,
"popup_fallback": false,
"popup_force": false,
"chrome_enabled": true,
"new_tab": false,
"frequency_period": 720,
"frequency_count": 1,
"trigger_method": 3,
"trigger_class": "",
"only_inline": false,
"tags": "general,humour"
};
Remote Script Only
Added ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_popup_fallback = false,
ad_popup_force = false,
ad_chrome_enabled = true,
ad_new_tab = false,
ad_frequency_period = 720,
ad_frequency_count = 1,
ad_trigger_method = 3,
ad_tags: "general,humour";
</script>
<script type="application/javascript" src="https://ads.examplesite.com/popunder1000.js"></script>
Mobile Instant Message
Added &tags
='general, humour'
<script type="application/javascript" src="https://syndication.examplesite.com/splash.php?idzone=1234567&capping=0&tags=general,humour"></script>
Mobile Interstitial Banner
Added ad_tags
='general, humour'
<script type="application/javascript">
var ad_idzone = "1234567",
ad_frequency_period = 720,
ad_frequency_count = 1,
ad_trigger_type = 2,
ad_trigger_method = 3,
ad_width = "300",
ad_height = "250",
ad_tags = "general,humour";
</script>
<script type="application/javascript" src="https://ads.examplesite.com/mobile-interstitial.js"></script>
Mobile Fullpage Interstitial
Added ad_tags
='general, humour'
<script type="application/javascript" data-idzone="1234567" data-ad_frequency_period="720" data-ad_first_trigger_clicks="0" data-ad_next_trigger_clicks="0" data-browser_settings="1" data-ad_trigger_method="3" data-ad_tags="general,humour" src="https://ads.examplesite.com/fp-interstitial.js"></script>
Native
Recommendation Widget
Added data-ad_tags
='general, humour'
<script type="application/javascript" data-idzone="1234567" data-ad_tags="general,humour" src="https://ads.examplesite.com/nativeads.js" ></script>
Exit Widget
Added data-ad_tags
='general, humour'
<script type="application/javascript" data-idzone="1234567" data-ad_tags="general,humour" src="https://ads.examplesite.com/nativeads.js" ></script>
Interstitial Widget
Added data-ad_tags
='general, humour'
<script type="application/javascript" data-ad_tags="general,humour" data-idzone="1234567" src="https://ads.examplesite.com/nativeads.js" ></script></script>
Push Notification
Push Notifications
This format does not currently support the use of tags.