I run a website that allows users to display their profile with custom text and background colors. With the old AdSense code, it was very easy to use PHP to generate Adsense Ads that matched the colors on those pages. But now the 'manage ads' feature killed that possibility. I am SURE this applies to a lot of other websites that run user-generated content regarding colors and display. New Adsense users (like me) are not given the old code. They can only use Manage Ads. Can someone give me a solution? (I'm not actually asking for the old codes. I want to know if there is a way to change my accout in adsense so as to generate the old codes) I even heard that old codes somehow drop your ecpm ?? :/
Nope. Your stuck. I also hate the new manage ads code. Having the final code on a seperate page just pisses me off.
Changing the color of the ads is now easier. And the most good part is that you don't have to edit all the pages to change the ad code.
Um .... please read my first post again. I'm saying I WANT to edit the colors in the code, because my pages are automatically generated with php, and may have different background & text colors (because each user chooses them). I refuse to believe I am the only one with this problem
Have a page (or what ever) set up with the colour combinations, and then use a php script to call the different ads to be loaded. A similar method to open ads.
orange-ad.php INSERT YOUR ADSENSE CODE HERE FOR ORANGE Code (markup): red-ad.php INSERT YOUR ADSENSE CODE HERE FOR RED Code (markup): main.php (your actual file to display the ads) if($orange){ include("orange-ad.php"); } else { if($red){ include("red-ad.php"); } } PHP: Something like that should work.
@sandeepb & @Blackmane Thanks for answering! I had contemplated doing something like that, however, by giving the users the choice of practically every hexadecimal color code, I would have to define thousands of ad codes ! The only simple solution would be to use the old code, I'm afraid Does anyone know if new adsense users get penalized for doing this ??
Well, I guess I am willing to pay that price. I just hope there are no penalizations for doing this !
I don't think so because support says using the new codes isn't mandatory. I'm still using the old codes in one channel. No problem till now. Even got paid. EDIT: I just discovered that you can use channels after all. The old code had a channel id remember? That id is still available. Go to Adsense setups>channels and get the channel id from the list. then use it in your old code. I'm sure it will work. But just mail google and ask them, just in case.