I need an Adsense rotating script...is this hard to code?

Discussion in 'HTML & Website Design' started by Quintox, Oct 23, 2007.

  1. #1
    I need a script that will rotate Adsense. I run a site where I want to have my visitors Adsense ads rotated everytime the page loads, just like here on DP. It is not a forum though, so I need to do this somehow.

    I guess I need to read a file that has their Adsense ID's in there and it rotate everytime it loads the page? Is this hard, and can someone make it for me (I'll pay a little) or can I get a walkthrough?

    Thanks.
     
    Quintox, Oct 23, 2007 IP
  2. login

    login Notable Member

    Messages:
    8,849
    Likes Received:
    349
    Best Answers:
    0
    Trophy Points:
    280
    #2
    You can use php includes, place the adsense code in different .php files and use javascript to include the files randomly.

    But there must be an easier and better way, anybody?
     
    login, Oct 23, 2007 IP
  3. infogle

    infogle Prominent Member

    Messages:
    2,732
    Likes Received:
    128
    Best Answers:
    1
    Trophy Points:
    300
    #3
    I have come across with such a script... may be its helpful to you... just see the script here

    Hope it helps...
     
    infogle, Oct 23, 2007 IP
    login likes this.
  4. frankcow

    frankcow Well-Known Member

    Messages:
    4,859
    Likes Received:
    265
    Best Answers:
    0
    Trophy Points:
    180
    #4
    I built one for Joomla if you're running that. PM me if you need it
     
    frankcow, Oct 23, 2007 IP
  5. Quintox

    Quintox Peon

    Messages:
    239
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I will try that one, thank you
     
    Quintox, Oct 23, 2007 IP