Display.io Mobile Web Ad Tag is an asynchronous Javascript/SafeFrame code that is placed on a publisher’s mobile website as a placeholder for ad creatives rendering.
When a user visits/reloads a webpage, it calls the Mobile Web Ad Tag, which directs the browser to call display.io ad server, and already the ad server replies with ads, rendered within the placeholders by the user’s browser.
Display.io Mobile Web Ad Tag supports:
- Interscroller Ad Unit
- Ad Formats: Display Interstitial size (320×480), Vertical Outstream Video (360X640)
- Modes: Reveal / Non-Reveal
- Headline Ad unit
- Ad Formats: Display Mrect size (300×250), Horizontal Outstream Video (360X640)
- Modes: Snap / In-feed only (without headline mode)
- Infeed Ad unit
- Ad Formats: Display Mrect size (320×50), Horizontal Outstream Video (360X640)
- Modes: In-feed only
- Banner Ad unit
- Ad Formats: Display Mrect size (320×50)
- Modes: In-feed / Always shown
The asynchronous tag guarantees independent load of the page’s elements without page load latency, unlike synchronous tags.
SafeFrame technology provides better user protection, publisher control, publisher efficiency and viewability support.
Mobile Web Ad Tag Script
The mobile web ad tag consists of 2 parts:
- Config Script – should be placed once on the mobile webpage header (between <head></head> tags)
- Ad Placement Script – should be placed on the mobile webpage body (between <body></body> tags) once for each ad placement (it’s recommended to add not more than 10 tags per webpage)
> Mobile Web Ad Tag – Config Script
<script type="text/javascript">
var dioParams = {
adsSrvDomain: 'appsrv.display.io', //mandatory
cdnDomain: 'cdn.display.io', //mandatory
fixedHeaderSelector : '', //mandatory if a webpage has a fixed header
passbackTag: '', //optional, script should be escaped
impressionCallBack: ["www.example.com", "www.example2.com"], //optional, comma separated array of impression tracking URls
headerText: 'Scroll to continue with content', //optional
headerTextColor: 'white', //optional
headerBackgroundColor: 'black', //optional
adContainerBackgroundColor: 'transparent', //optional
pageCategory: '', //optional, comma separated
keywords: '', //optional, comma separated
};
</script>
> Mobile Web Ad Tag – Ad Placement Script (Direct Integration)
<script async src="https://cdn.display.io/webis/webis.min.js#site=siteID?placement=placementID"></script>