Prebid.js: Prebid 12 - pbjs.requestBids - returns all ads, not just ads in paths array.

Hi Group,

I just upgraded to version 12 today and noticed that when I do a request bids on an ad I’m refreshing, it gets bids for all my ads, not just the ad specified in my paths array. Thoughts?

pbjs.que.push(_.bind(function() {
      pbjs.requestBids({
        timeout: PREBID_TIMEOUT,
        adUnitCodes: paths,
        bidsBackHandler: _.bind(function(bidResponses) {
           // bidResponses comes back with all ads, not just the ads in my paths array
        }, this)
      });
    }, this));

In my console I set a breakpoint and put a watch on the paths and the bidResponses

prebid issue

We are currently using version 8 due to some compatibility problems with IE, but with that version it only returns the skyscraper in the bidResponse since that’s all I passed in our paths array.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (3 by maintainers)

Commits related to this issue

Most upvoted comments

@internetchris I’ll take a look at this