Articles on: Publishers

How to check my Ad Codes + Examples

For our Publishers working on EU servers we have a special update and you can connect to our EU servers directly. Find out out how in this article

Updating your tag with the right parameters such as subid, feedID etc is vital to earning more and being open to more demand sources

There are a couple of things you should look for before integrating your tags on your website,

if you've generated a pop or redirect placement, a feeID="numberValue" should be present in your placement
make sure to populate the site="yourwebsite.com" parameter as it will open more demand sources for your inventory.
copy-paste your code into a blank HTML page and run that page, if you don't see ads, please refer to this article, but in general the best solution is waiting up to 12 hours as fresh tags will take longer to reach good coverage, sometimes up to 7 days to see results which can be optimized further.
if you've integrated pop tags, once you've integrated the tag, make sure to click and scroll on the page to generate the pop.

Here you can see examples for our ad tags and short explanation for important parameters in our ad tags :

Example Interstitial Tag
```
<script>
(function(i,n,t,s,t,l){
 i.intstl = i.intstl || function() {
  (i.intstl.q=(i.intstl.q||[])).push(arguments)
};
var s=n.getElementsByTagName('head')[0];
var q=n.createElement('script'); q.async=1;
q.src='https://static.ezmob.com/intstl/intstl.js';
s.appendChild(q);
i.intstl('init', {
 host: 'xml.ezmob.com',
 feed: 'FEED ID',
 auth : 'AUTH KEY',
 logo: 'https://adk.ezmob.com/images/icoLogo.png',
 color1: '#3c8dbc', color2: '#307196',
 textColor: 'white', background: '#f7f7f6',
 engagementPeriod: 10,
 interval: 20,
defer: 10
});
i.intstl('show');
})(window, document);
</script>

```

Terms Glossary

engagementperiod = how long the ad is running.

interval = new ad frequency in seconds .

defer = time for first ad to be shown at first glance .

Example Pop tag:
<!-- START Ezmob TAG -->
<script>
window.adk_pdisp = {
	'h' : 'xml.ezmob.com', 
	'f' : 622352,
	'a' : '0PrEPQ',
	'ps' : [1],
	'cin' : 4,
	's' : '',
	'q' : [],
	't' : 1
};
</script>
<script src='//static.ezmob.com/tabu/display.js'></script>
<!-- END Ezmob TAG -->


Example Tab under (pop under) tag:

<script>
window.adk_pdisp = {'h' : 'xml.ezmob.com',
  'f' : FEED_ID,
  'a' : 'AUTH_KEY',
  'ps' : [1],
  'cin' : 4,
  's' : '',
  'q' : [],
  'op' : { 'edge': 'tabu', 'ie': 'tabu', 'ff': 'tabu', 'chrome': 'tabu', 'webkit': 'tabu', 'mobile': 'tabu', 'safari': 'tabu', 'def': 'tabu'},
  't' : 1};
</script>
<script src='//static.ezmob.com/tabu/display.js'></script>


Terms Glossary

the following parameters are included in your JS Pop and Tab under tags :

h:
f: = feed ID (mandatory)
a: = authentication ID (mandatory)
ps: 1 (fixed value)
cin: 4 (fixed value) = interval in seconds
s = subid (optional)
q: = site category (optional)
t: =frequency cap in hours (optional)


Example In-Page Push Tag Code:

<!-- INPAGE TAG BEGIN -->
<script>
  (function(i,n,p,a,g,e){
    i.inpagepush = i.inpagepush || function() {
      (i.inpagepush.q=(i.inpagepush.q||[])).push(arguments)
    };
    var s=n.getElementsByTagName('head')[0];
    var q=n.createElement('script'); q.async=1;
    q.src='//static.ezmob.com/inpage/inpage.js';
    s.appendChild(q);
    i.inpagepush('init', {
      host: 'xml.ezmob.com',
      feed: 614963,
      auth : 'cSRdx0',
      subid: '',
      refresh: 120,
      position: 'top',
      slots: 2,
      query : '',
      nodesrc : true
    });
    i.inpagepush('show');
  })(window, document);
</script>
<!-- INPAGE TAG END -->


Terms Glossary

position = 'bottom' and 'top' are showing ads in right-bottom or right-top corner

slots = max number of ads to show per "refresh"


Example Redirect Tag

Publishers may enter their own text after the subid=”example”

http://xml.ezmob.com/redirect?feed=FEED_ID&auth=AUTH_CODE&url=https://YOUR_URL&subid=SUD_ID

Related articles:
Publisher: Getting Started
How to add the tags to your website
Header bidding monetization with EZmob
Pop Up and Pop Under Variations

Updated on: 26/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!