prebid / Prebid.js

Setup and manage header bidding advertising partners without writing code or confusing line items. Prebid.js is open source and free.
https://docs.prebid.org
Apache License 2.0
1.28k stars 2.05k forks source link

Timeout workflow in dfp integration examples #1329

Closed Niksok closed 6 years ago

Niksok commented 7 years ago

Question

Hello,

in API you have timeout parameter available in method pbjs.requestBids. It is described here: http://prebid.org/dev-docs/publisher-api-reference.html#module_pbjs.requestBids.

But in DFP integration examples this parameter isn't used at all, the global timeout used instead. Here is the example I am referring to: http://prebid.org/dev-docs/examples/basic-example.html.

It looks like inside the specific adaptor work cycle there is no possibility to understand that prebid work is interrupted by timeout. Could you please let us know how can we catch (within the adaptor work cycle) the situation that timeout is fired?

Thanks in advance,

mkendall07 commented 7 years ago

What's the use case for the adapter knowing that the timeout occurred?

Niksok commented 7 years ago

We need to collect and send adapter statistics.

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.