Hi people, Is it possible 2 use a PHP script 2 rotate differnet colors of google adsense adds .. Java or PHP ?? Jus thinking out loud Thanks 4 ur Help...
Thanks.....do u think thats ok with google?? I dont want 2 get banned from mkaing my 0.98 pence a day lol
You won't get banned for using a rotating script, in fact I made one a while on my site http://www.toseef.com/200504-adsense-random-colors-php-script
<?php if (rand(1,2) == 1) {?> <--!Adsense Code #11 -> <?php } else { ?> <--!Adsense Code #2 -> <?php }?> Code (markup):
Not AFAIK. You can change the colors, true. But you can't dynamically rotate color palettes without a script or ad management system.
Of course you can ... just scroll down when you choose palette and you will see Multiple palettes there
iatbm is correct -> just use multiple palletes. Used to work very well for me. Need to start re-optimizing!
You can create Adsense code with multiple color palettes within the Adsense program (up to 4 palettes per code block). You can accomplish the same thing with the php script, however, you can work more color palettes in to the rotation with less code using both methods simultaneously. Rotate 2 Adsene code blocks with 4 palettes per block meaning 8 total color palettes being rotated. Obviously this can balloon into however many you want from there.
Ha, nice one, iatbm. I was going to write, "What the hell do you want a script for? Just use the frakkin' ad creation wizard. "