auto_ads

NAML documentation   Watch a video
   Usages of this macro
... in ads_manual.naml
5
6
7
8
9
10
11
12
13
14
15
16
<macro name="auto_ads">
<script async="true" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
    var nbl_showAds = !(window.nbl_canHideAds && window.localStorage && localStorage.nbl_noAds);
    if(nbl_showAds) {
        (adsbygoogle = window.adsbygoogle || []).push({
            google_ad_client: "ca-pub-6750305871516672",
            enable_page_level_ads: true
        });
    }
</script>
</macro>