Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Yieldbot: Multiple requestBids Not Working

Open ehoch opened this issue 10 years ago • 7 comments

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.

ehoch avatar Jul 26 '16 23:07 ehoch

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

protonate avatar Aug 09 '16 18:08 protonate

is this still an issue?

mkendall07 avatar Feb 27 '17 21:02 mkendall07

@mkendall07 Yes unfortunately.

ehoch avatar Feb 27 '17 21:02 ehoch

@elljoh @amcmillan01 Either of you want to try and fix this? Been open for a long time.

mkendall07 avatar Mar 31 '17 12:03 mkendall07

@mkendall07 Yes. Please assign to me.

elljoh avatar Mar 31 '17 13:03 elljoh

@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

CarsonBanov avatar Apr 10 '17 21:04 CarsonBanov

We have identified problem and expect to have a PR submitted in the next couple of days to reference a fix for this issue.

elljoh avatar Apr 17 '17 15:04 elljoh