This may be too simplistic, but why not do as you just said? Use AJAX to invoke a script ad server that returns new content every n seconds? Go to options like page location / width / height, etc. I think it depends on how difficult you want to create things and in what format your content is.
source
share