detecting public service ads using javascript for adsense

Discussion in 'JavaScript' started by fsmedia, May 21, 2006.

  1. #1
    Is there anyway to detect if regular ads are NOT being shown via adsense? Such as public service ads, a solid color, etc etc. Is there anyway to detect this? I am hoping to do something where I can detect it and display something. Any ideas on this? thanks!
     
    fsmedia, May 21, 2006 IP
  2. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Not sure what you are looking at doing, but inside the Google Adsense setup there is an option that you can set so it will not display PSA's it will display other stuff that you specify.
     
    Slapyo, May 23, 2006 IP
  3. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #3
    I know that, I want to be able to DETECT when that's happening and be able to do something on my side, such as display something else. This has nothing to do with the alternate settings within the google code. I want to be able to detect it SERVER SIDE.
     
    fsmedia, May 23, 2006 IP
  4. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #4
    I'm not sure you can detect it on the client with javascript.
     
    Slapyo, May 23, 2006 IP