Is it allowed to let PHP pick a random color and use that color for the background of an adsense block ? I see it's done here on DP, but is it actually allowed by adsense TOS ? Because there are actual changes made to the adsense code, i wonder if it's a legal thing to do ?
changing the adsense code is against the tos, but you can select multiple color schemes when you're creating an ad block, adsense will rotate the selected color schemes at random.
You can select several color-schemes to rotate for the same adblock, so it will come up in different colors at different times. That's not against the TOS, it's a google service.
You can set your ad block to rotate its colour in the AdSense setup page. However, you can only select up to 4 colours to be rotated on one ad block. https://www.google.com/adsense/supp...=9981&ctx=en:search&query=color&topic=&type=f
Yes, I realize that, but when you select multiple colors to rotate, the CODES show that. DP's codes do not.