Article Ad Format

This NitroPay format embeds a dynamic number of well-spaced advertisements in long content pages. Ads are lazy-loaded as the user scrolls for higher viewability.


View on GitHub

How to implement the article ad format

Wrap your long content container with the id that you'll instantiate the article format on.

<script type="text/javascript">
    window['nitroAds'].createAd('sample-article', {
        format: 'article',
        pageInterval: 1,
        report: {
            enabled: true
        }
    });
</script>
<div id="sample-article">
    <p> ... content here ... </p>
    <p> ... more content ... </p>
</div>

Disable your ad-blocker on this site

You'll be unable to view or interact with any any of the samples while you're running an ad or script blocking extension.

You can either whitelist this domain (recommended), or pause the adblocker for this session. Consult the extension's documentation for more details. Refresh this page to try again.