谷歌广告没有在div中正确调整大小

时间:2016-03-24 17:52:54

标签: html css asp.net twitter-bootstrap adsense

我有一些谷歌广告,我放在一个引导边栏,他们有足够的空间veritcally但他们自动调整自己调整小横幅广告。这是代码

<div class="col-md-4">
    <aside class="sidebar">
         <div class="panel panel-primary">
            <div class="panel-heading">Sponsors and Partners</div>
            <div class="panel-body">

         <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
           <!-- SHIELD -->
            <ins class="adsbygoogle"
                 style="display:block"
                 data-ad-client="ca-pub-2160848846841372"
                 data-ad-slot="8166338640"
                 data-ad-format="auto"></ins>
            <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
                <br />

                  <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
           <!-- SHIELD -->
            <ins class="adsbygoogle"
                 style="display:block"
                 data-ad-client="ca-pub-2160848846841372"
                 data-ad-slot="8166338640"
                 data-ad-format="auto"></ins>
            <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
            </script>

                <br />
                  <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
           <!-- SHIELD -->
            <ins class="adsbygoogle"
                 style="display:block"
                 data-ad-client="ca-pub-2160848846841372"
                 data-ad-slot="8166338640"
                 data-ad-format="auto"></ins>
            <script>
                (adsbygoogle = window.adsbygoogle || []).push({});
            </script>
            </div>
        </div>
    </aside> <!-- Sidebar -->
</div>

这是我第一次使用google广告,因为我的网站使用了bootstrap,因此我选择了自适应广告。

SCREEN SHOT

Screen Shot

0 个答案:

没有答案