【问题标题】:issue with dynamically loading of javascript code动态加载javascript代码的问题
【发布时间】:2012-04-03 18:09:38
【问题描述】:

我在动态加载 javascript 代码时遇到问题,我正在我的数据库中保存 google ads dfp 以下代码:

<script type='text/javascript'>
      GA_googleFillSlot("300x250");
</script>

但是在使用Ajax 显示此代码时,它没有显示相应的横幅广告,而是抛出了javascript 错误"Error: GA_googleSetAdContentsBySlotForSync is not defined"
我该如何解决这个问题?

【问题讨论】:

    标签: jquery adsense google-ad-manager


    【解决方案1】:

    在我看来,这像是标签配置的问题。您是否查看过Introduction to the Google Publisher Tag 页面并正确设置了该页面?

    【讨论】:

      猜你喜欢
      • 2020-07-11
      • 2010-10-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多