迫切需要对AdSense的一个解决方案,与Ajax的工作原理 [英] Desperately need a solution for Adsense that works with Ajax

查看:174
本文介绍了迫切需要对AdSense的一个解决方案,与Ajax的工作原理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这个问题已经被问了 <一href="http://stackoverflow.com/questions/435391/refresh-a-div-that-has-a-google-ad-inside-it">times这里。但这些似乎相当过时,它看起来像的AdSense for阿贾克斯项目已罐装的(或至少是,移动速度非常慢)。

I know this questions has been asked a few times here. But these seem fairly outdated, and it looks like the Adsense for Ajax project has been canned (or at the very least, moving very slowly).

我有一个网站,我最近整合<一href="http://stackoverflow.com/questions/6148097/is-pjax-the-way-to-go-for-fluid-navigation">pjax进 - 基本上,它使用Ajax加载刚刚的主要内容区域,而使用JavaScript的保持浏览器历史记录和前进/后退功能 history.pushState 。它已经取得了区别在世界如何反应,整个网站,因为它不再需要做的HTTP请求的所有网站的外壳(JavaScript的,CSS,图像)。

I have a web site that I've recently integrated pjax into -- basically, it uses Ajax to load the just the main content area, while maintaining the browser history and back/forward functionality using javascript's history.pushState.It has made a world of difference in how responsive the whole site is, as it no longer has to do HTTP requests for all of the outer shell of the site (javascript, css, images).

不过的Adsense是不会使用Ajax的工作 - 至少不是本身。我读过有关的iFrame的解决方案,但它听起来像是iFrame中和阿贾克斯和我pjax解决方案将不会一起玩好。

But Adsense just won't work with Ajax -- at least not natively. I've read about iFrame solutions, but it sounds like iFrames and Ajax and my pjax solution won't play together well.

我在做什么并不偏僻,就Adsense的使用率上升。我仍然只是显示一组每个页面的导航广告,用户点击链接。它只是没有做一个完整的页面级的HTTP请求。​​

What I'm doing is not devious, as far as Adsense usage goes. I'm still just showing one set of ads per page navigation as users click links. It's just not doing a full page-level HTTP request.

是否有任何选择在那里?有没有人做过这样的事情?或者说,没有任何人知道的任何更新的AdSense for Ajax的项目?

Are there any options out there? Has anybody done something like this? Or, does anybody know of any updates to the Adsense for Ajax project?

我需要得到这个想通了。如果我不能,我可能选择了pjax通过AdSense计划,这意味着我的整个经营计划将不得不重新处理。唉。

I need to get this figured out. If I can't, I may chose the pjax over the Adsense, which means my whole business plan will have to be rehashed. Ugh.

在此先感谢。

推荐答案

仅供参考,我接触了谷歌,并收到了以下答复:

FYI, I reached out to Google, and received the following response:

在这一点上,我们并没有随着AJAX网站或工程产品   站点含有其他动态内容。这是我们正在积极   希望建立了,但我不能提供更多的信息或时间表   在这一点上。

At this point, we do not have a product that works with AJAX sites or sites containing other dynamic content. This is something we're actively looking to build out, but I cannot provide more information or a timeline at this point.

虽然这是相当模糊的(我希望),但它至少表明他们认识到有必要,并没有完全忽视它。

While it's fairly vague (which I expected), it at least shows that they recognize the need, and are not completely ignoring it.

感谢所有您的答复。

这篇关于迫切需要对AdSense的一个解决方案,与Ajax的工作原理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆