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.

Multiple Ads In Same Page Problem

Discussion in 'Digital Point Ads' started by MattWorthington, Jan 23, 2013.

  1. #1
    Just signed up and testing the adds on my dev site.

    I've got 3 adds set to show on the forum home, and it's only showing 1 of the 3.

    add_below_top_breadcrumb
    add_below_bottom_breadcrumb
    html block in widget framework.

    It's only loading into the last one on the page.

    All 3 are set to fall back to adsense, with a separate add_slot ID

    Currently testing here: http://dev.z22se.com/xenforo/index.php

    Thanks,
    Matt
     
    Solved! View solution.
    MattWorthington, Jan 23, 2013 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    It seems like it's *trying* to load them, but Google's ad server is returning a "400 Bad Request" error when retrieving 2 ads. Is the ad size you are trying to serve up with each placement match up size-wise (is the AdSense ad the same size as the Digital Point Ad size it's falling back for)?
     
    digitalpoint, Jan 23, 2013 IP
  3. MattWorthington

    MattWorthington Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #3
    Yes, they are the exact same size as the AdSense ads which they are falling back on. If I disable one (say the add_below_bottom_breadcrumb one, then they widget one loads. Same again if I then disable the widget one, the add_below_top_breadcrumb will then work.
     
    MattWorthington, Jan 23, 2013 IP
  4. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #4
    I've been able to replicate it on a test server... something screwy definitely seems to be going on with the AdSense ads... it's almost like when an AdSense ad is inserted, it first erases any previous AdSense ad variables (like size and so forth), and since both are being inserted at the same time, the last one destroys all the first ones before they can render.

    Still working on it... Definitely seems like Google changed how they insert AdSense ads.
     
    digitalpoint, Jan 24, 2013 IP
  5. #5
    So a little more Googling and research, and I have a feeling Google is intentionally blocking more than one AdSense ad loading via AJAX for whatever reason. I thought maybe it was a timing issue, but if you check this page: http://www.redkart.com/google_adsense.html

    It's the exact same thing... apparently it *used* to load both ads with AJAX. But it's not a timing issue, because you can manually trigger the loading of the 2nd ad with the button any time you want, and it gives the same "400 Bad Request" for anything other than the first.

    I can actually understand why Google would do that... imagine a site AJAX loading AdSense ads over and over without an actual new page view. So if maybe their solution is to just allow the first one, and nothing after.

    That being said, I'll see if I can come up with a workaround somehow, but for the time being, it does appear Google is purposely blocking more than 1 ad loading via AJAX.
     
    digitalpoint, Jan 24, 2013 IP
  6. MattWorthington

    MattWorthington Member

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    46
    #6
    Thanks Shawn. Will at least make a start with using 1 per page.
     
    MattWorthington, Jan 24, 2013 IP
  7. Chase Hainey

    Chase Hainey Active Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    63
    #7
    Sorry to bump this thread, but any chance a workaround has been found? Running into this also.
     
    Chase Hainey, Apr 10, 2013 IP
  8. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #8
    Not one that is simple enough to use realistically yet.
     
    digitalpoint, Apr 10, 2013 IP
  9. Gefrekssiy

    Gefrekssiy Peon

    Messages:
    21
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    Might be able to do more later.
     
    Gefrekssiy, Feb 17, 2022 IP
  10. Johan Will

    Johan Will Greenhorn

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #10
    Whats price for my ad for club coins ?
     
    Johan Will, Feb 17, 2022 IP