Missing bidders in the AdUnits tab when setting up multiple adunits with the same code
aanton opened this issue · 3 comments
Hi,
In the AdUnits tab the bidders information is uncomplete when multiple adunits objects are set with the same code. Only one of them is shown in the bidders column. In the Bids tab all the the bidders are correctly shown.
Just an example of two adunits objects with the same code:
[
{
code: "Top",
bids: [
{
bidder: "appnexus",
params: {
placementId: 123456,
},
},
],
mediaTypes: {
banner: {
sizes: [
[970, 90],
[970, 250],
],
},
},
},
{
code: "Top",
bids: [
{
bidder: "richaudience",
params: {
supplyType: "site",
pid: "XYZ",
},
},
],
mediaTypes: {
banner: {
sizes: [
[970, 90],
[970, 250],
[1, 1],
],
},
},
},
]
In this example two different adunits are set because the banner sizes must be different for each bidder.
Regards,
Armando
I share a fake site to test it:
https://professor-prebid-issue-55.netlify.app/?pbjs_debug=true
The AdUnits tab (only one bidder is shown):
It is just an example without a CMP and fake data.
HI @aanton ,
thanks for your feedback! I published a new version today. Please let me know if that fixes your issues.
Hi @florianerl,
it works perfectly 👍
I have checked it in the test page. It uses five different AdUnits objects and all of them are reported correctly in the AdUnits tab.
Thanks!