Forum Moderators: martinibuster

Message Too Old, No Replies

CSS & Adsense

         

rysolag

7:10 am on Jan 19, 2005 (gmt 0)

10+ Year Member



Are you allowed to control adsense colors with CSS?

ncw164x

7:43 am on Jan 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



No this is done from the adsense login, to use css would be altering the code which you are not allowed to do

Read the TOS its all listed

rysolag

10:03 am on Jan 19, 2005 (gmt 0)

10+ Year Member



what's the URL to the adsense TOS, i can never find it.

thanks

Macro

11:37 am on Jan 19, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Login, and go for the obvious "Help". It's easy to navigate. Then save it for reading and re-reading.

rysolag

8:35 am on Feb 3, 2005 (gmt 0)

10+ Year Member



is the background color of the adsense ad only controlled from from the adsense panel? is it not possible to define my own table color and then just have that table color show as the background color of the adsense ad.

the reason why i'm asking these questions is because i have a bunch of skins on my site and i want the adsense to fit in nicely. so is there any way to modify the background color(not the text color) of the adsense ad dynamically? if not, why is google not letting this happen?

thanks

Jenstar

8:41 am on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



then just have that table color show as the background color of the adsense ad.

You cannot set the background to transparent. Google does want some control over how the ads appear, which is why you cannot have the background as transparent.

Can you apply a different AdSense script to each skin, perhaps via an include?

rysolag

10:10 am on Feb 3, 2005 (gmt 0)

10+ Year Member



is there space for arguments in the adsense block?

tebrino

1:13 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



What kind of arguments?

dip00dip

2:24 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



Btw, Is it possible to force adsense font-size to something different than default? (By css)

jouwpagina

2:28 pm on Feb 3, 2005 (gmt 0)

10+ Year Member




google_color_bg = "<?
if($style=="black")
echo"000000";
elseif($style=="white")
echo"FFFFFF";
elseif($style=="green")
echo"*******";
?>";

I'm using something like that and Google doesn't care. They even can't know.

Rodney

5:44 pm on Feb 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it possible to force adsense font-size to something different than default?

It may be possible, but it is against the TOS.

I'm using something like that and Google doesn't care. They even can't know.

If they don't know about it, how can you be so sure that they don't care?

morpheus83

4:59 pm on Feb 4, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



I guess Premium publishers are allowed to use CSS.

MrAnchovy

5:17 pm on Feb 4, 2005 (gmt 0)

10+ Year Member



If they don't know about it, how can you be so sure that they don't care?

What jouwpagina is doing is a perfectly acceptable solution.

Google doesn't care becase he's not altering the code, just the colors, which we are all allowed to do. He just happens to be doing it dynamically based on which style the visitor has chosen for his site.

The output of his server side script would be one of the following:
google_color_bg = "000000";
google_color_bg = "FFFFFF";
and so on.

rysolag

6:53 am on Feb 5, 2005 (gmt 0)

10+ Year Member



so Mr. A, are you sure this is allowed?

can anyone confirm this?

MrAnchovy

7:19 am on Feb 5, 2005 (gmt 0)

10+ Year Member



so Mr. A, are you sure this is allowed?

100% Positive

morpheus83

9:56 am on Feb 5, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Why not use an adserver for the same?

rysolag

10:09 pm on Feb 5, 2005 (gmt 0)

10+ Year Member



what's an adserver?

fischermx

3:10 am on Feb 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Mr.Anchovy:

That should be legal, I don't see any problem, all are you doing is server side, so they don't know if you have it done by copy-paste from the adsense panel or dinamically, just be supercarefully it really renders the same javascript code.

Premium publisers can do whatever they want with adsense code, take a look at eWeek, they are using adsense and the code is changed a lot.

morpheus83

6:32 am on Feb 6, 2005 (gmt 0)

10+ Year Member Top Contributors Of The Month



Using an adserver you can rotate adsense ads with different colors.

MrAnchovy

6:39 pm on Feb 6, 2005 (gmt 0)

10+ Year Member



Using an adserver you can rotate adsense ads with different colors.

But you are talking about random rotation... correct?

If I'm not mistaken, rysolag want's to change the colors so it matches his user's selected skin for his site... not random rotation.

If he's already using an adserver/rotater, it may already be an option or require a minor tweak to serve different color combinations depending on the set cookie values. However if he's not already using one, it seems like an unnecessary step, considering how easy it is to implement with a simple server-side script.

markus007

9:01 pm on Feb 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



There is a option where you can have google can randomly pick a font color for you from a set of font colors you have selected