Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Desperately need a solution for Adsense that works with Ajax

Tags:

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).

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).

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.

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.

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?

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.

Thanks in advance.

like image 230
Jerad Rose Avatar asked May 28 '11 13:05

Jerad Rose


People also ask

Can I use pop ads with AdSense?

Google announced that their AdSense product has updated their ad policies to disallow Google AdSense ads from showing on pages that are triggered by pop up or pop under techniques. In addition, you can not use Google AdSense ads on any web site that deploys pop under ads.

Can I use Google AdSense with other ads?

We do allow affiliate or limited-text links. If your ad network already displays Google ads on your pages, you can still join AdSense and run ads on your site through our program. However, as per our valuable inventory policy, you may not place more ads than content on your page.

Can you use AdSense on any website?

Originally Answered: Can I use my AdSense account to show ads in my others website ? Yes, If you have fully approved AdSense account (Not the hosted account) then you can add codes to your other websites but make sure that the sites are compatible with AdSense policies.


2 Answers

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

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.

Thanks to all for your responses.

like image 149
Jerad Rose Avatar answered Oct 13 '22 17:10

Jerad Rose


This is against AdSense terms.

You may want to implement the DFP solution, If I recall exact DFP allows something like that.

like image 31
dynamic Avatar answered Oct 13 '22 17:10

dynamic