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

Get bidder timeout in buildRequest

Open vedantseta opened this issue 8 years ago • 6 comments

Type of issue

feature request

Description

Publisher can pass timeout while calling requestBids, in buildRequest bidder spec, that timeout is not passed. If timeout is passed, bidder can respond accordingly.

vedantseta avatar Mar 20 '18 14:03 vedantseta

@jsnellbaker , is PR accepted for this?

vedantseta avatar Mar 22 '18 17:03 vedantseta

@vedantseta Why would bidder need a timeout on the server ? Shouldn't bidder respond as soon as possible ?

jaiminpanchal27 avatar Mar 22 '18 17:03 jaiminpanchal27

@jaiminpanchal27 This gives the bidder / adapter a chance to add more data lookups and logic before bidding.

ruturajv avatar Mar 23 '18 06:03 ruturajv

@vedantseta You can submit a PR for this. Thanks

jaiminpanchal27 avatar Mar 23 '18 14:03 jaiminpanchal27

@jaiminpanchal27 , Here spec.buildRequests is called with an extra param bidderRequest which contains timeout. Curious why this param isn't added in the prebid documentation?

Seems this PR is unnecessary.

vedantseta avatar Mar 23 '18 16:03 vedantseta

Oh yes you are right. That bidderRequest was added later on and docs were not updated. Thanks for pointing out. I have created issue https://github.com/prebid/prebid.github.io/issues/682 and will fix soon.

jaiminpanchal27 avatar Mar 23 '18 18:03 jaiminpanchal27