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.

Selecting more than 1 adsense style for randomn display

Discussion in 'AdSense' started by chrisgamer, Mar 23, 2006.

  1. #1
    According to the adsense website i am allowed to ctrl+click upto 4 different style palettes for the adsense ads.

    Sadly due to the new redesign of the adsense setup page the styles are listed in a pulldown and therefore wont allow for more than 1 selection :(

    Anybody know a work around for this? or could give me the end code the generator makes?

    Thanks
     
    chrisgamer, Mar 23, 2006 IP
  2. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    You could just get the code for each of the ad units with different color schemes. Then toss that code into an array and randomly select one for display each time.
     
    Slapyo, Mar 23, 2006 IP
  3. Gandalph

    Gandalph Active Member

    Messages:
    89
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    58
    #3
    do you have a php code example for this perhaps?

    thanks!
     
    Gandalph, Mar 23, 2006 IP
  4. medusa

    medusa Peon

    Messages:
    349
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
  5. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #5
    Ah that is even better than using PHP to randomly select the colors. Thanks for that link medusa!
     
    Slapyo, Mar 24, 2006 IP
  6. FreeFox

    FreeFox Peon

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I have "old look" of code page saved on my PC, so no problems.

    Maybe you have saved somewhere...
     
    FreeFox, Mar 26, 2006 IP