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

If bids for 2 units requested and prebid-server responds with one bid, auction doesn't end until timeout #1215

Closed
dmitriyshashkin opened this issue May 20, 2017 · 0 comments · Fixed by #1216

Comments

@dmitriyshashkin
Copy link
Contributor

Type of issue

Bug

Description

If there are less bids from prebid-server than there are units for which bids were requested, prebid-server response would look something like the following:

{
        "tid": "0b54cd48-934f-40ef-bd36-f1e6a9a7ba4b",
        "status": "OK",
        "bidder_status": [{
            "bidder": "rubicon",
            "response_time_ms": 150,
            "num_bids": 1
        }],
        "bids": [{
            "bid_id": "2c4a7ec8d3c126",
            "code": "ad_cs_9493688_728_90",
            "creative_id": "4227344",
            "bidder": "rubicon",
            "price": 0.226596,
            "adm": "%ad code here%",
            "width": 728,
            "height": 90
        }]
}

There is no no-bid flag and there is an information about one bid. Prebid server adapter will pass information about this bid to bid manager, but it won't pass information about the lack of bids for other units. And inside bid manager, the check that compares number of requests sent and number of responses received will determine that there are less responses than there were requests. So bid manager will keep waiting for additional responses, even though there won't be any. The auction will end only upon timeout.

Steps to reproduce

Setup rubicon or pubmatic to work through prebid-server. Send requests for two ad units. Prebid-server must return one bid only.

Expected results

Two responses are passed to bid manager. One with STATUS.GOOD and another with STATUS.NO_BID. Bid manager ends the bidding and calls callback function.

Actual results

One STATUS.GOOD response is passed to bid manager. Bid manager keeps waiting for the second response until timeout.

Platform details

Prebid v0.24-pre

Other information

Similar to #1196

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 a pull request may close this issue.

1 participant