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.

Showing first the ads and then the content

Discussion in 'Placement / Reviews / Examples' started by mar08, May 7, 2006.

  1. #1
    I've noticed on some of my pages that - for whatever reason- first the ads do appear and then the rest of my content and there are 1-2 seconds between.

    Is it possible to make that systematic? I'm sure if first the ads would load it would catch the attention of the visitor. They would be "forced" at least to look at them for a second :)
     
    mar08, May 7, 2006 IP
  2. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #2
    For sure it is possible: put your adsense block in a div and all your page in another div, then use javascript to hide the main content DIV.
    And display it again some seconds later.

    That way if for some reason the user has no javascript support, the main content will not be hidden (which would be against AdSense TOS to have nothing but an ad)
     
    JamesColin, May 7, 2006 IP
    Mong likes this.
  3. frisby

    frisby Well-Known Member

    Messages:
    1,378
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    140
    #3
    You can do this very simple with php, if you print first tha ad, just when you print code for ad, call function flush(), then you sleep() for 2-3 seconds.

    It is easier than with suggestion of SENSERELY, but it is not so "cool". :rolleyes:
     
    frisby, May 7, 2006 IP
  4. mar08

    mar08 Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thank you!

    @frisby: do you think it would be againts adsense tos?
    and would it be in any way an obstacle for googlebot/adsensebot?
     
    mar08, May 7, 2006 IP
  5. frisby

    frisby Well-Known Member

    Messages:
    1,378
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    140
    #5
    I'm not sure about that, it's a little bit risic, but if you think that you can say, that my "algoritem" :D take 2 seconds for generating or server is slow :rolleyes: , i think, there can be no problem, but like i said, i'm not sure.
     
    frisby, May 7, 2006 IP