Forum Moderators: martinibuster

Message Too Old, No Replies

Changing background color of ads sitewide

Is it against TOS?

         

youfoundjake

10:48 pm on May 2, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I'd like to change the color of the background for my ads through out the whole site, so just do a find and replace, now is this against TOS if its changing the code? Otherwise, I would have to redo 100 channels which I wouldn't mind, but would like to avoid.

europeforvisitors

10:57 pm on May 2, 2006 (gmt 0)



You can change as many or as few ads as you want.

In fact, most medium- to high-traffic publishers probably do change ad colors globally (or throughout major sections of their sites) whenever they do make changes, simply because it's impractical to change the code manually in hundreds or thousands of different files.

mmavsa

11:04 pm on May 2, 2006 (gmt 0)

10+ Year Member



Hi everyone! My first post in this world. ;)

I too change colors after putting the code on the page.
I also change the chanel code afterwards ...

TOS say after the code is generated, it shouldn't be changed. I guess i break rule when I do that. And colors and channel code are a part of the code, aren't they?

Or are they just the variable and therefore not the code? So what is the code and what is not?

mmavsa

11:43 pm on May 2, 2006 (gmt 0)

10+ Year Member



What about changing the width of an ad unit.

Changing the width of a vertical link unit for example would make ad links colourde header the same width as my sidebar. This helps, but i would change the code from

google_ad_width = 160;

to

google_ad_width = 190;

Is this allowed or not. On one hand the tos says, changing layout is wrong .. on the other hand the want people to adjust ads to be a natural part of a website.

mmavsa

11:49 pm on May 2, 2006 (gmt 0)

10+ Year Member



sorry for spamming. I used site search for all my questions .. won't happen again!

europeforvisitors

1:31 am on May 3, 2006 (gmt 0)



No, you can't change the ad-unit widths by editing the AdSense code.

That goes for colors, too. If you want to change colors, do it through the AdSense user console and let it generate the new code (which you can then paste into your pages).

I strongly urge you to read the AdSense "Terms and Conditions" and "Program Policies" before doing anything that you're uncertain about. And if you still aren't sure what's OK or not OK, ask AdSense Support.

youfoundjake

1:00 am on May 5, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Well, as it was recommanded, I did send an email to the adsense team and they said that as long as the color changes you would like to make can also be made from within your account, you may directly update the hex color codes of the ad units on your websites. Please note that this permission applies only to sites administered to you, and cannot be transferred to any third-party.
So that makes the coding alot easier sitewide.

OptiRex

1:04 am on May 5, 2006 (gmt 0)



you may directly update the hex color codes of the ad units on your websites.

For whatever reason, I know not why, sometimes when manually altering the hex code the colours may not display correctly therefore do it via the palette and then you can check it is ok.