【发布时间】:2016-08-27 19:55:07
【问题描述】:
我在 wordpress 中使用像素主题。当我尝试将我的广告添加到侧边栏时,它没有显示。我现在在网站上有它my site
这是小部件内部的代码:
<div id='simple_adsense_widget'><script type="text/javascript">
google_ad_client = "ca-pub-1097285086262410";
/* ST */
google_ad_slot = "4084760340";
google_ad_width = 728;
google_ad_height = 90;
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div></div></li></ul>
有什么想法吗?
【问题讨论】:
-
代码看起来有效,不会抛出错误。您检查过您的 ad_client 编号吗? Google has some FAQ 关于未显示的广告。最后,当我查看您的网站时,您的 twitter 插件/功能会引发 javascript 错误,这可能会阻止 google adsense 正常运行。
-
已修复。有错误的电子邮件,所以我的代码无效