Updated ad position code for new ads.