XF 1.5 Can I make ads rotate position?


Active member
I would like to make ads rotate position, so that each time a page is loaded a different ad appears. So what I'm wondering, can I have multiple ads in one template surrounded by some code that would make them rotate so that only one was displayed at random each time the page was loaded?