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

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
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Sets a filter for the current bid request as an array of ad unit codes. Applies the filter when calling reporting APIs `getBidResponses`, `getAdserverTargeting`. Queues a bid request if a previous req... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .requestBids`. However this causes unexpected behavior in the... — committed to prebid/Prebid.js by deleted user 8 years ago
- Sets a filter for the current bid request as an array of ad unit codes. Applies the filter when calling reporting APIs `getBidResponses`, `getAdserverTargeting`. Queues a bid request if a previous req... — committed to prebid/Prebid.js by deleted user 8 years ago
- Filter bid arrays using adUnitsFilter function (#750) * Filter bid arrays using adUnitsFilter function The requested and received bid arrays must retain bid objects from multiple calls to `pbjs .... — committed to prebid/Prebid.js by deleted user 8 years ago
@internetchris I’ll take a look at this