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:
<!-- INPAGE TAG BEGIN -->
(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')||n.getElementsByTagName('body'))[0];var q=n.createElement('script');q.async=1;
q.src='//static.adkernel.com/inpage/inpage.js';s.appendChild(q);
i.inpagepush('init', {host: 'xml.ezmob.com', feed: *, auth: '*****', subid: 'site1' , refresh: 30, slots: 1, layout: 'custom', position: 'top'});
i.inpagepush('show'); })(window, document);
</script>
<!-- INPAGE TAG END -->
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
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:
<!-- INPAGE TAG BEGIN -->
(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')||n.getElementsByTagName('body'))[0];var q=n.createElement('script');q.async=1;
q.src='//static.adkernel.com/inpage/inpage.js';s.appendChild(q);
i.inpagepush('init', {host: 'xml.ezmob.com', feed: *, auth: '*****', subid: 'site1' , refresh: 30, slots: 1, layout: 'custom', position: 'top'});
i.inpagepush('show'); })(window, document);
</script>
<!-- INPAGE TAG END -->
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: 06/09/2023
Thank you!