Adsense in a ajax based application?

user46795 picture user46795 · Jan 4, 2009 · Viewed 9.1k times · Source

How do I add adsense or other ads in a asp.net ajax/ajax based application ? (ex. ra-ajax samples page) or GWT

Is creating an iframe a viable solution?

As stated below, placing adsense script is easy. But the google bot wont be able to scan my ajax based page, as all of the content is javascript. There wont be contextual ads. So wont be able to monetize. It would be great for static ads. Any idea/inputs?

Answer

Dan Fabulich picture Dan Fabulich · Jan 14, 2009

It seems like what you want to do is load up AdSense and then dynamically refresh/change the advertisements based on content delivered via AJAX.

Unfortunately, this is against the AdSense Program Policies; I just posted a long answer about this here: Refresh a Div that has a Google ad inside it