【问题标题】:Is it possible to test Google AutoAds in a demo or localhost environment?是否可以在演示或本地环境中测试 Google AutoAds?
【发布时间】:2018-06-04 19:15:15
【问题描述】:

类似于this question,我想在一个页面中测试 Google Adsense,看看它在上线之前如何影响布局和性能等。我想在https://localhost 和演示站点上执行此操作。但是,我的客户正在使用 AutoAds,其标记如下所示:

 <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
 <script>
        (adsbygoogle = window.adsbygoogle || []).push({
            google_ad_client: "ca-pub-1234567890",
            enable_page_level_ads: true,
            google_adtest: "on" //This doesn't seem to work?
        });
    </script>

有没有办法在本地和非生产网站上测试自动广告?相关,是否有 google_adtest 的文档?

【问题讨论】:

    标签: adsense


    【解决方案1】:

    是的,不是的......更像是没有:)我仍然建议你尝试。

    所以基本上自动广告不会立即投放,因为 Google 不仅需要时间分析您网站的内容,还需要分析结构。

    所以因为localhost 不是公共域,谷歌结构爬虫看不到你的网站......但是我确实在我的本地主机上看到了实时谷歌广告......非自动广告......定期修复尺寸广告。

    另外,自动广告是not very profitable

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-02-02
      • 1970-01-01
      • 1970-01-01
      • 2014-06-10
      • 1970-01-01
      • 2018-03-18
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多