【问题标题】:Wordpress theme not showing google ad in sidebarWordpress 主题未在侧边栏中显示谷歌广告
【发布时间】: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 正常运行。
  • 已修复。有错误的电子邮件,所以我的代码无效

标签: wordpress adsense


【解决方案1】:

您的广告似乎可以正确展示。有时,当出价不足或识别出访问者是广告主机时,Google 不会投放广告。

我在自己的博客上编辑时看到的广告很少。

【讨论】:

  • 嘿,谢谢我修复了错误...一直以来我的电子邮件都是错误的,谢谢!
  • 嘿@user1013905,你能告诉我你是怎么解决这个问题的吗?我也遇到同样的情况:(我的侧边栏没有在我的网站上显示 adsense 广告 => www.techforbe.com
猜你喜欢
  • 1970-01-01
  • 2014-02-07
  • 2020-05-27
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2014-02-07
  • 2013-10-20
  • 1970-01-01
相关资源
最近更新 更多