The Google Adsense Blog shows an “official” way of alternating Adsense Ads in the same place by way of a script. For example, if one thinks that banners would do better than text, they can use this script to alternate between banners and text at intervals.

Read more at the Adsense Blog