You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When only 1x1 is enabled for a certain ad unit and paapi is also enabled, a reduce operation in the getSizes function within paapi.js throws an error, which prevents Prebid to continue with auction and following events.
Steps to reproduce
Map a 1x1 size to a adunit.
Enable paapi under pbjs.setConfig()
Refresh the page.
3.1 Reduce method on empty array caught in line
3.2 You can see no events after auctionDebug are firing.
Type of issue
Bug
Description
When only 1x1 is enabled for a certain ad unit and paapi is also enabled, a reduce operation in the
getSizes
function withinpaapi.js
throws an error, which prevents Prebid to continue with auction and following events.Steps to reproduce
1x1
size to a adunit.3.1 Reduce method on empty array caught in line
3.2 You can see no events after
auctionDebug
are firing.Test page
Js fiddle Link :- https://jsfiddle.net/as4bngdq/
Expected results
Actual results
auctionDebug
.Platform details
Prebid 9.12.0, Chrome Desktop
Other information
PR when breaking change started :- #11379
The text was updated successfully, but these errors were encountered: