Adsense's split testing – official guide from Google

It violates the terms of use of Google AdSense program if you try to manipulate their Adsense scripts embedded in your site. However, there is an official guide from Google telling you how to do the split testing without violating their rules. You can view it here:

Bear in mind the three fundamental principles of marketing: test, test and test

Best Adsense Advertising,