0

I have a website where new content is updated via ajax when the user scrolls down. A kind of infinite page where as long as the user is scrolling new data comes. I have an adsense skyscraper code on the side but its at the top of the page and I would like to refresh when new content is loaded through Ajax so that I can then position it more down. Is this possible? and is this legal? Here is a close example of what I need: http://imgur.com/gallery As you can see they have an ad on the right and everytime new content is updated via scroll a new ad is shown as well as keeping the older one in place.

Zakukashi
  • 566
  • 1
  • 13
  • 29

2 Answers2

2

Remember, it's Google's money going out from their bank account to yours. They DO check websites at random to ensure they are in compliance, and they have and will continue to shut down websites whom they deem [and there is no superior court to go to, they make the final decision] to lock your account, withhold your earnings, and forever ban your (( CURRENT )) Google Adsense account.

The extra few C E N T S you could make vs. the risk of what you could lose -

The ultimate choice is yours. May the force be with you. :o)

Robert
  • 21
  • 2
1

This is not allowed. Read the TOS of adwords.

But a way to do it would be

var googleCode = '...your google code';
document.getElementById('googlediv').innerHTML(googlecode);

But, read this answer for more information.

Community
  • 1
  • 1
Starx
  • 77,474
  • 47
  • 185
  • 261