Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Google's Async adsense code loads fine even the page is loaded via ajax.

I made no changes to load the ads differently. Just added on my site to make the content loading ajaxified.

My adsense loads fine also. Does it violate any TOS.

share|improve this question

1 Answer 1

It is against the Google AdSense policy to reload or refresh the ads when the user has not left the page. If you ads are on a portion of the page that does not change when the user navigates with AJAX, you should be fine.

Google AdSense is not very compatible with AJAX. They started a program to test AdSense with AJAX sites but have since shut it down. The Google product help forums are full of complaints about Google Adsense not supporting AJAX.

Here is a decent post on StackOverflow about the issue: Refresh a Div that has a Google ad inside it

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.