Yieldbot: Multiple requestBids Not Working
So we currently split our ad auctions up amongst our ATF and BTF units and run multiple Prebid auctions. Unfortunately, the Yieldbot adaptor does not work with this.
Easy to replicate. Define two ad units. Run requestBids twice - once the first ad unit and a separate one on the second . Then run yieldbot.dumpLog() in the console.
You'll see that only the initial ad slot that is defined gets a call to getSlotCriteria() with the handleUpdateState() is run. You'll only get bid responses on the initial slots.
I believe that PR #498 can address this if the Yieldbot adapter can be updated to set the bid response ID to match the bid request ID in these locations: https://github.com/prebid/Prebid.js/blob/master/src/adapters/yieldbot.js#L51 https://github.com/prebid/Prebid.js/blob/master/src/adapters/yieldbot.js#L70
is this still an issue?
@mkendall07 Yes unfortunately.
@elljoh @amcmillan01 Either of you want to try and fix this? Been open for a long time.
@mkendall07 Yes. Please assign to me.
@elljoh You might try removing the cache=true flag from the adloader.loadScript call in the adapter and just letting their script load twice.
See:
https://github.com/prebid/Prebid.js/blob/master/src/adapters/yieldbot.js#L110
https://github.com/prebid/Prebid.js/pull/466/files#diff-74a5dc55dc79589eecd119f347c94a28R110
We have identified problem and expect to have a PR submitted in the next couple of days to reference a fix for this issue.