【问题标题】:Displaying adsense ads with dynamic information显示带有动态信息的 AdSense 广告
【发布时间】:2013-02-14 05:24:28
【问题描述】:

我想在动态内容的广告感上展示广告,即调用API并发送一些关键字来获取广告,这可能吗?

例如:

Adsense.GetAdsForKeywords("car, subaru, auckland");

否则,请在页面上标记要与 adsense E.G 一起使用的字词

<span class="adsense-words">car,subaru,auckland</span>

【问题讨论】:

    标签: html adsense ads


    【解决方案1】:

    您不能为您的广告选择关键字,Google 会根据您网站的文字内容自动为您的网站选择广告,如Link 此处所述。

    但是你可以做Section Targeting,为了强调section之间的内容,你可以如下使用它

    <!-- google_ad_section_start -->
    
    your preferred content goes here, google will emphasize more on this section, you can put your keywords span here
    
    <span class="adsense-words">car,subaru,auckland</span>
    
    <!-- google_ad_section_end -->
    

    reference on section targeting

    【讨论】:

    • 谢谢,希望这很重要
    猜你喜欢
    • 2014-10-14
    • 2016-07-01
    • 2013-08-11
    • 1970-01-01
    • 1970-01-01
    • 2018-12-02
    • 1970-01-01
    • 1970-01-01
    • 2020-11-28
    相关资源
    最近更新 更多