Reply
Custom color in adsense ads?
Old 07-31-2006, 08:15 AM Custom color in adsense ads?
Junior Talker

Posts: 2
I cannot seem to find a way to get a custom background color on my google ads. I need a lighter grey than what they have. How do I do this?
I know, probably a very basic question but for the life of me I can't find it.

Thanks in advance.
Cpetz is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-31-2006, 08:24 AM
Karl89.co.uk's Avatar
Novice Talker

Posts: 7
Your adsense code looks something like this:

Code:
<script type="text/javascript"><!--
google_ad_client = "";
google_alternate_color = "38B63C";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_color_border = "FFFFFF";
google_color_link = "3D81EE";
google_color_bg = "FFFFFF";
google_color_text = "444444";
google_color_url = "38B63C";
//--></script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
All you have to change is the FFFFFF to whatever you desire :

Code:
google_color_bg = "FFFFFF";
So a grey would be:

Code:
google_color_bg = "CCCCCC";
If you're unsure on the hex values for the greys you can have a mess with Color Schemer
Karl89.co.uk is offline
Reply With Quote
View Public Profile
 
Old 07-31-2006, 08:46 AM
Junior Talker

Posts: 2
Thank you!
Cpetz is offline
Reply With Quote
View Public Profile
 
Old 07-31-2006, 09:03 AM
Karl89.co.uk's Avatar
Novice Talker

Posts: 7
Quote:
Originally Posted by AnnCP View Post
Thank you!
You're welcome!
Karl89.co.uk is offline
Reply With Quote
View Public Profile
 
Old 07-31-2006, 09:44 AM
$100 - $999 Monthly

Posts: 328
the weird thing is, that it doesn't always work for me. I have had some trouble (still) to alter the url color...
SEO Portal is offline
Reply With Quote
View Public Profile Visit SEO Portal's homepage!
 
Old 07-31-2006, 04:29 PM
007
007's Avatar
Novice Talker

Posts: 6
They have a built in system that does not allow two similar colors to be used for contrasting parts of the ad, such as background and text colors. If you specify colors that will produce ads that are difficult to read, the system will automatically change some of the colors. Maybe that is what is happening to you.
__________________
What, no sig?
007 is offline
Reply With Quote
View Public Profile
 
Old 08-01-2006, 01:16 AM
Tran's Avatar
Junior Talker

Posts: 1,223
google_color_bg = "FFFFFF";

As stated just change that.
Tran is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Custom color in adsense ads?
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.31459 seconds with 12 queries