简体   繁体   中英

Why does Adsense show a yellow box on my Wordpress site?

I have just added the AdSense code in my wordpress blog: http://surlaroute.com.mx/blog/ using the text widget but nothing is displaying. At first a yellow box was displayed. Nevertheless, by mega-googling, i have just found that the code generated by adSense, does not deliver the complete URL of the adsbygoogle.js . Check the URL of the adsbygoogle.js

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- SurLaRouteSinglePost -->
<ins class="adsbygoogle"
     style="display:inline-block;width:200px;height:200px"
     data-ad-client="ca-pub-A_NUMBER"
     data-ad-slot="ANOTHER NUMBER"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

So you can see that the " http: " is missing. Ok, i fixed it but i still can't see the adds :( I would really appreciate if someone help me with this issue.

Notes : The ads should appear on the left sidebar just below the title "Useful links". My adsense account is properly working.

Hey, actually, stackoverflow detected that the link is wrong...

如果您最近创建了一个Adsense帐户(例如发布此问题的日期),只需添加他们提供给您的代码(请勿更改代码的任何部分),然后等到它出现,它将变成黄色背景,直到Google审核了您的网站,发现您的网站很适合展示其广告。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM