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.33k stars 2.08k forks source link

dfp lazyloading + header bidding #300

Closed amanjain closed 8 years ago

amanjain commented 8 years ago

Trying to create ad slots dynamically. It only loads ads for the last ad slots.

For example: After every page scroll we create 6 ad slots, but the bid array is only populating for the last slow. Any insights/examples?

mkendall07 commented 8 years ago

Do you have some code we can look at?

protonate commented 8 years ago

@amanjain checking in on this. At present Prebid makes one request for bids at a time. You should wait for the bids back handler to be called before making another requestBids() call. We are working on a feature that will handle multiple bid requests in Prebid itself.

Please reopen if additional info.