if google ads not loaded display bidvertiser?

Discussion in 'JavaScript' started by Danny, Jul 6, 2006.

  1. #1
    Just wondering if it is possible to determine if google adsense is loaded onto the page anywhere, and if it is not then load bidvertiser in a different location?

    Basically I have 2 banner rotars and I want to see if one of them has loaded google adsense, if it hasnt then the other one will load bidvertiser?

    anyone got any code that would do this?

    An if statement doesnt work because to load bidvertiser it uses the <script source=.....

    which wont work inside the javascript if.

    My site is in PHP if that helps?
     
    Danny, Jul 6, 2006 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    I tried to do this via JS a while back and it's impossible to detect that. You could also just do something like "display adbrite" or something that isn't conextual or a CPM network, that way you wouldn't run into any issues, ever. That's what I do for my alt ads
     
    fsmedia, Jul 7, 2006 IP