Customize your Adsense AdsThursday, February 18, 2010 17:02
This is some seriously old stuff right here, but in my efforts I was not able to find anywhere online that had the basic information on customizing adsense ads. Everyone has taken the party line of “just use the color pallet” well that dose not work unless you are using one of their 30 colors. Finally I was able to piece together the information I needed from old sites of mine. So here is the break down.
First off, you need to use the OLD adsense code. I made a new add and pulled the new code and I just could not get this to work. Maybe its just me, but it didn’t work. Back to the old code.
google_ad_client = “pub-0000000000000000″;
google_ad_width = 200;
google_ad_height = 200;
google_ad_format = “200x200_as”;
google_ad_type = “text”;
google_color_border = “FFFFFF”;
google_color_bg = “FFFFFF”;
google_color_link = “000000″;
google_color_text = “444444″;
google_color_url = “444444″;
The above code will make a 200×200 ad that looks normal. But as you see I have given the correct options on changing the link, bg, and text. These fields accept html color codes and you can put any color you want. If you want ads of a different size just change the sizes and change the ad_format to match your sizes making sure to keep the “as” at the end of it.
This is some seriously simple stuff here but I had to post it since Google totally failed me in finding this basic information in the first place.