1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Using More Than 4 Colors

Discussion in 'Placement / Reviews / Examples' started by SamOwen, Sep 10, 2005.

  1. #1
    Can I add more than four colors to the javascript code that Google gives us?
     
    SamOwen, Sep 10, 2005 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    I do not think we are to alter that code in any way.

    Shannon
     
    Smyrl, Sep 10, 2005 IP
  3. SamOwen

    SamOwen Peon

    Messages:
    865
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Aww, I just wanted more colors ;) .
     
    SamOwen, Sep 10, 2005 IP
  4. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #4
    No, you can not alter the code. But there is a way:

    Use a php include that returns 50% of the times one google adsense javascript code and a different one the other 50% of the times. Then use channels to keep track of it if you want. That way you could use up to 8 different colors.
     
    tresman, Sep 10, 2005 IP
  5. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can use more then 4 colors although Im not aware whether that would be against their TOS. You can use formats like :
    
    google_color_url = ["FF0000", "008000", "15548A", "FF8000", "FF0000",];
    
    Code (markup):
    Im not sure whether this works for me its been like almost a year ago since I have tried using multiple colors. You could use a php rotating script as well.
     
    crazyhorse, Sep 10, 2005 IP
  6. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #6
    It would be against the TOS.
     
    tresman, Sep 10, 2005 IP
  7. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Since you just said it is, can you show me a passage in their TOS where this is stated??
     
    crazyhorse, Sep 10, 2005 IP
  8. GADOOD

    GADOOD Peon

    Messages:
    1,745
    Likes Received:
    241
    Best Answers:
    0
    Trophy Points:
    0
    #8
    GADOOD, Sep 10, 2005 IP
  9. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Lazy bastard. Whatever. Shows what kind of person you are. Anyways, who said I didn't read the TOS (or is it TOC, lol). I can't seem to find the specific passage where this is stated specifically. Just made me curious.
     
    crazyhorse, Sep 10, 2005 IP
  10. fryman

    fryman Kiss my rep

    Messages:
    9,604
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    370
    #10
    ..................
     
    fryman, Sep 10, 2005 IP