show_ad

NAML documentation   Watch a video
   Usages of this macro
... in ads.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<macro name ="show_ad" requires="servlet" >
    <div class="ad shaded-bg-color rounded" style="padding:.5em 0">
        <style type="text/css">
                            .footer_1 { width: 320px; height: 100px; }
                           @media (min-width:800px) { .footer_1 { width: 728px; height: 90px; } }
                    </style>
                    <ins class="adsbygoogle footer_1"
                         style="display:inline-block;"
                         data-ad-client="ca-pub-0156740191883467"
                         data-ad-slot="6664323745">
                    </ins>
                    <script async="async" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
    </div>
</macro>