Randomising colours in code: OK?

Discussion in 'Guidelines / Compliance' started by mooiness, Jun 26, 2006.

  1. #1
    Found a tip on this site:
    http://deadline.3x.ro/adsense/adsensetips3.html

    Where it shows how to add an array of colours to be used with the Adsense code like this:
    google_color_border = ["628098","628098","000000","000000"];
    google_color_link = ["000000","BBB90C","BBB90C","628098"];
    google_color_url = ["000000","628098","000000","000000"];
    google_color_text = ["628098","628098","000000","000000"];

    This constitutes modifying the code, does it not? If it's not against TOS then I definitely would try it.
     
    mooiness, Jun 26, 2006 IP
  2. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think if you want to randomize the colors you need to use an external script so it shows up normal in the HTML page. Such as using php to get a random color.
     
    giraph, Jun 26, 2006 IP
  3. Endurer

    Endurer Well-Known Member

    Messages:
    1,113
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Google is already offering it mates. You can pick up-to four different patterns for your banner. Just open your adsense account and get the new code by using CTRL+Click combination to select more than one color for your banner.
     
    Endurer, Jun 26, 2006 IP
  4. mooiness

    mooiness Peon

    Messages:
    409
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Cool! I couldn't do it using the Google control panel but since you've said that it's available from them, I guess it's ok to use.
     
    mooiness, Jun 26, 2006 IP
  5. Endurer

    Endurer Well-Known Member

    Messages:
    1,113
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    140
    #5
    You can read the how-to here:

    -https://www.google.com/support/adsense/bin/answer.py?answer=9732
     
    Endurer, Jun 26, 2006 IP
  6. pogung177

    pogung177 Well-Known Member

    Messages:
    415
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #6
    Link of blue 0000ff, still my best favourite. Blue link is general as common link of website
     
    pogung177, Jun 26, 2006 IP
  7. The Webmaster

    The Webmaster IdeasOfOne

    Messages:
    9,516
    Likes Received:
    718
    Best Answers:
    0
    Trophy Points:
    360
    #7
    Its not against TOS, its infact what google offers.
    Be cool and use it, if you want.
     
    The Webmaster, Jun 26, 2006 IP
  8. mooiness

    mooiness Peon

    Messages:
    409
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Ah the option was there in the code generation page - "Use Multiple Palettes".

    Thanks guys!
     
    mooiness, Jun 26, 2006 IP