Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebid Auctions #386

Closed
wants to merge 1 commit into from
Closed

Prebid Auctions #386

wants to merge 1 commit into from

Conversation

protonate
Copy link
Collaborator

Prebid Auctions are implemented which enables instances of Prebid requests, responses and ad renders. This PR also includes the API changes needed to make concurrent requests for multiple placements, to queue up the next set of placements (for example, in an image carousel app) and to connect bid requests with bid responses across auction instances for greater level of analytics details.

@protonate
Copy link
Collaborator Author

@mkendall07 for discussion

@nedstankus
Copy link
Contributor

What's the story with the "on hold" label?

@mkendall07
Copy link
Member

@nedstankus
We are too close to a release to risk adding more regression with this PR.

The Prebid Auction is introduced, making it possible to manage a series of auction events. Previously Prebid handled only one auction at a time. With this PR the `pbjs.adUnits` and `pbjs.bidderSettings` are moved to an `auction` instance. Auctions can be run concurrently, so for example if different groupings of ad placements have different configurations, auctions for each placement group can both be requested at page load and run asynchronously. Be aware that if multiple auctions are run concurrently for the same placement the last auction winner creative will replace any previous winner.
bidmanager.addBidResponse(bids[i].placementCode, adResponse);
} else {
// Indicate an ad was not returned
adResponse = bidfactory.createBid(2);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to pass bid ID for requested bid here.

@protonate protonate removed the on hold label Jun 24, 2016
@protonate
Copy link
Collaborator Author

We are going to close this PR and handling the concurrent bid request issue by queuing requests rather than creating auction instances. This keeps the singleton architecture of Prebid.js, at least for now, and we will work with each bidder team towards the changes needed within each adapter to achieve auction instances if that is defined as a roadmap priority by the Prebid Core Team. Issues #333 and #360 will be accommodated by the bid request queue approach.

@protonate protonate closed this Jun 24, 2016
@protonate protonate deleted the prebid-auctions branch June 24, 2016 18:25
@jaiminpanchal27 jaiminpanchal27 restored the prebid-auctions branch July 14, 2017 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants