Ad rotation is based on the auction. The size of the bet determines the advertiser (but not below the recommended system of minimum prices). Wins ad of the advertiser who has the highest bid and CTR.