Articles on: Monetization

How to set up In-Page (Floating push) ads

This article explains how to set up EZmob In-page push ad tag.

Request ad tag from your account manager, support chat or grab it from the dashboard by creating In-page Placement

Here is how In-page looks like:

<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: **,
auth : '******',
subid: '1',
refresh: 25,
position: 'bottom',
slots: 3,
query : 'inpage',
z_index: 88888
});
i.inpagepush('show');
})(window, document);
</script>

You can modify the tag according to you website content layout and your preferences by changing tag properties:
refresh - refresh period in seconds
position - 'bottom' and 'top' are showing ads in right-bottom or right-top corner
slots - max number of ads to show per "refresh" (1-3)
By adding the line layout : 'mobile_mini,' line you will make the widget more condensed on mobile devices

Place the tag just before closing </head> of your website source code.

That's it!

P.S.: If you are using Blogger Platform or WordPress, check these articles:

How to add an Ad Tag to <head> section in Blogger platform

How to add an Ad Tag to <head> section in WordPress

Updated on: 14/09/2022

Was this article helpful?

Share your feedback

Cancel

Thank you!