homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Google / Google AdSense
Forum Library, Charter, Moderators: incrediBILL & jatar k & martinibuster

Google AdSense Forum

Updating AdSense ads on the fly using AJAX

 9:10 am on Oct 13, 2007 (gmt 0)

Would this be allowed? Basically, the majority of one of my new sites currently in development is written in AJAX and almost all of the features fetch data without reloading any pages.

Now, my question is this: could I also make an AJAX feature that updates the adsense ads on each time an AJAX site feature causes the page to change? Or would that be against the AdSense TOS? I don't want the user to see the same advertisements for the entire time, if he visits 100 pages, for example.



 10:51 am on Oct 13, 2007 (gmt 0)

From the Adsense Program Poilicies

Any method that artificially generates clicks or impressions on your Google ads is strictly prohibited


 12:34 am on Oct 14, 2007 (gmt 0)

"Any method that artificially generates clicks or impressions on your Google ads is strictly prohibited"

The Key words above are "artificially" and "impressions".

It sounds like you are trying something which is more than likely not accepted by Adsense. I would say that you should check with Adsense Support to be sure.


 3:53 am on Oct 14, 2007 (gmt 0)

If it was me, I wouldn't think twice about using Ajax to update ads.

Updating ad code when a user clicks on a link could hardly be considered an "artificial" method of increasing impression counts. Whether the update happens via Ajax or by re-loading the entire page seems immaterial with regard to the TOS.

Wonder World

 10:15 am on Oct 14, 2007 (gmt 0)

But the adsense bot will see only one page. Same url -> same ads


 3:26 pm on Oct 15, 2007 (gmt 0)

Definitely a no-no - against TOS.

Not being funny, but why on earth would you want to build a site where hundreds of pages were accessible to the users, but only the front page was readable by Google?

We've used Ajax in pages to pull dynamic content (update news headlines, etc..), but I always consider Ajax an addition to a well built website, rather than a method of navigation. Will people using alternative browsers such as blackberries or iTouches/iPhones be able to use the site?

Our most successful sites are ones with relatively 'flat' content, updated from a database, linked by clear navigation. The more Ajax'ed a site becomes, the more like a flash site it becomes - and therefore less useful for search engines, natural listings, and adSense.


 3:27 pm on Oct 15, 2007 (gmt 0)

another interesting point, is updating the adSense code wouldn't actually work anyway - as the adSense bot would still only see the original content, rather than the new content - it would have no way of knowing where the user was in the site.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Google / Google AdSense
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved