Reply
Can you customize adsense with css?
Old 06-30-2008, 04:00 PM Can you customize adsense with css?
Super Talker

Posts: 129
Trades: 1
Hi,
Although I know Google don't allow you to change or modify the adsense code in any way. I want to know where I can modify the apearance of Adsense for Search using CSS. I know the text ads can be modified in your adsense control panel but the search is pretty simple.

Maybe something like...

button {background:url(image.gif);width:100px; height:40px;}
button:hover {background:url(image2.gif);width:100px; height:40px;}

Would it be alright if I used something like this to customize the submit/search button and even the text field.

So can I do something like this as I am not technically changing the adsense code, just using CSS.

Thanks for your help.
__________________
Watch Movies Online
yourmediaking is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 06-30-2008, 06:52 PM Re: Can you customize adsense with css?
pappasaa's Avatar
Ultra Talker

Posts: 267
Trades: 0
I have tweeked the old search code to change the look a bit more seamless but I have not tried with the new system. Here is the oldschool code they used a few years back....Not sure if its a TOS if you edite this so if your going to do it I would read the google TOS first


Code:
<!-- Search Google -->
<center><br><br>
<form method="get" action="http://www.google.com/custom" target="_top">
<table bgcolor="#ffffff">
<tr><td nowrap="nowrap" valign="top" align="left" height="32">
<a href="http://www.google.com/">
<img src="http://www.google.com/logos/Logo_25wht.gif" border="0" alt="Google" align="middle"></img></a>
<input type="text" name="q" size="31" maxlength="255" value=""></input>
<input type="submit" name="sa" value="Search"></input>
<input type="hidden" name="client" value="YOUR CLIENT ID HERE"></input>
<input type="hidden" name="forid" value="1"></input>
<input type="hidden" name="ie" value="ISO-8859-1"></input>
<input type="hidden" name="oe" value="ISO-8859-1"></input>
<input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1;"></input>
<input type="hidden" name="hl" value="en"></input>
</td></tr></table>
</form>
</center>
</td></tr></table>
<!-- End Search Google -->
__________________
visit my link...um...nevermind
pappasaa is offline
Reply With Quote
View Public Profile Visit pappasaa's homepage!
 
Old 06-30-2008, 10:36 PM Re: Can you customize adsense with css?
vangogh's Avatar
Post Impressionist

Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I asked the AdSense team once and you're not allowed to modify the code. You have to take it as is. Modifying it is against the TOS.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-02-2008, 08:46 PM Re: Can you customize adsense with css?
Super Talker

Posts: 129
Trades: 1
Quote:
Originally Posted by vangogh View Post
I asked the AdSense team once and you're not allowed to modify the code. You have to take it as is. Modifying it is against the TOS.
I'm not thinking of modifying the code given by google. I want to paste the code in my pages and use css to customize the search fields. I can put it in a div and then set the properties of how i want the search to look like. The css will allow me to change a lot of the searchs' appearance but I just wanted to customize the "search" button.

Any help?
__________________
Watch Movies Online
yourmediaking is offline
Reply With Quote
View Public Profile
 
Old 07-02-2008, 09:58 PM Re: Can you customize adsense with css?
vangogh's Avatar
Post Impressionist

Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
That counts as modifying. I realize you're not changing their code, but I think they'd see it as being against the rules.

You can email the AdSense team and ask. I found them to be very helpful the few times I've asked something. They always replied to me within a day or two.

I think Google wants that search box to look exactly as it does, which is why I think the changes you want to make are against the TOS. In my case all I wanted to do was make their code validate and clean it up. I didn't want to change the way anything looked or how it functioned, but it was against the TOS.

I'd ask though. It's been a couple of years since I asked so they may have changed their stance.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-09-2008, 11:18 AM Re: Can you customize adsense with css?
rsrikanth05's Avatar
Extreme Talker

Posts: 191
Name: It is a secret...
Location: Devanahalli International Airport, Bengaluru
Trades: 0
You can always edit the background of the ad block via the Ads Setup, while creating them.
__________________
The iPhone is just another overrated environmental disaster.
Selling PR4 Links with good traffic - Contact me.
rsrikanth05 is offline
Reply With Quote
View Public Profile Visit rsrikanth05's homepage!
 
Old 07-30-2009, 09:22 PM Re: Can you customize adsense with css?
Junior Talker

Posts: 2
Trades: 0
To vangogh:

Would you tell me how did you contact Adsense team?

Thank you,
subway33841 is offline
Reply With Quote
View Public Profile
 
Old 07-30-2009, 09:54 PM Re: Can you customize adsense with css?
vangogh's Avatar
Post Impressionist

Posts: 9,669
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I found an email somewhere. I don't remember what it was or where. It might have been somewhere inside of AdSense or in the help system. If not you can probably find an address for them by searching. Odds are someone has posted it somewhere.
__________________
l Search Engine Friendly Web Design | Van SEO Design
l Tips On Marketing, SEO, Design, and Development | TheVanBlog
l Custom WordPress Themes
| Small Business Forum
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 07-31-2009, 12:15 PM Re: Can you customize adsense with css?
golden14's Avatar
Super Talker

Posts: 146
Name: Dickie Boy
Location: cowes
Trades: 0
against the TOS big time. That said you can now change the font and sizes from the adsense control panel - not sure if this applies to search box though. That said not sure why you'd want to change search box text?
Regards
Dickie Boy
golden14 is offline
Reply With Quote
View Public Profile Visit golden14's homepage!
 
Old 08-03-2009, 03:13 AM Re: Can you customize adsense with css?
Average Talker

Posts: 25
Name: Jamie
Trades: 0
i do the needful changes to ads with the options available by Adsense and within their TOS. i do not want to violate their TOS anytime as i love my Adsense account very much
Online Degree is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Can you customize adsense with css?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB 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.14984 seconds with 13 queries