how do u get adsense banner to change colors everytime?

Discussion in 'Placement / Reviews / Examples' started by ash1, Aug 7, 2006.

  1. #1
    like in the DP forums above??
    how does it change colors..

    is it easy

    i want to do that on my forums :)
     
    ash1, Aug 7, 2006 IP
  2. Endurer

    Endurer Well-Known Member

    Messages:
    1,113
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Go to your adsense setup page and select multiple palette's from there.

    Or use this code below:

    <script type="text/javascript"><!--
    google_ad_client = "YOUR PUB ID HERE";
    google_alternate_ad_url = "ALTERNATE URL HERE";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = ["FFFFFF","FFFF66","6131BD","FFFF66"];
    google_color_bg = ["FFFFFF","3D81EE","3D81EE","000033"];
    google_color_link = ["990033","FFFFCC","FFFF66","FFFF66"];
    google_color_url = ["990033","FFFFFF","FFFFFF","FFFFFF"];
    google_color_text = ["000000","FFFFCC","FFFFCC","FFFFCC"];
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    Code (markup):
    It's for a leader board. Oh & just don't forget to change the pub id e.t.c.
     
    Endurer, Aug 7, 2006 IP
  3. sakuragi

    sakuragi Well-Known Member

    Messages:
    199
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    140
    #3
    use multiple palettes when creating your ads
     
    sakuragi, Aug 7, 2006 IP
  4. qwestcommunications

    qwestcommunications Notable Member

    Messages:
    8,868
    Likes Received:
    172
    Best Answers:
    0
    Trophy Points:
    233
    #4
    I see this with forums quite a bit but not on sites.
     
    qwestcommunications, Aug 7, 2006 IP
  5. Endurer

    Endurer Well-Known Member

    Messages:
    1,113
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    140
    #5
    Because forums tend to have more repeat visitors. It's good to rotate the color as it helps in decreasing ad blindness.
     
    Endurer, Aug 7, 2006 IP
  6. shamess

    shamess Well-Known Member

    Messages:
    1,127
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    185
    #6
    Oh, I thought it was just a PHP random ad selecting script, that's quite nifty.
     
    shamess, Aug 7, 2006 IP
  7. ash1

    ash1 Active Member

    Messages:
    2,240
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    88
    #7
    thnx a lot guys, i think it was a loop coding in php..

    great...to know its so easy ,and auto in adsense panel
     
    ash1, Aug 7, 2006 IP