Skip to content

Commit

Permalink
PBS storedbidresponse update (prebid#3880)
Browse files Browse the repository at this point in the history
* PBS storedbidresponse update

* Update pbs-endpoint-auction.md

* Update pbs-endpoint-auction.md
  • Loading branch information
bretg authored and jlaso committed Aug 31, 2023
1 parent e360d68 commit 0ad39bc
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions prebid-server/endpoints/openrtb2/pbs-endpoint-auction.md
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,8 @@ For example, this request:
"bidderB": { ... params ... }
},
"storedbidresponse": [
{ "bidder": "BidderA", "id": "333333" },
{ "bidder": "BidderB", "id": "444444" },
{ "bidder": "BidderA", "id": "333333", "replaceimpid":true },
{ "bidder": "BidderB", "id": "444444", "replaceimpid":true },
]
}
}
Expand All @@ -919,7 +919,7 @@ For example, this request:
"bidderB": { ... params ... }
},
"storedbidresponse": [
{ "bidder": "BidderA", "id": "5555555" }
{ "bidder": "BidderA", "id": "5555555", "replaceimpid":true }
// note: no storedbidrespose for bidderB
]
}
Expand Down Expand Up @@ -954,10 +954,9 @@ Could result in this response:
}
```

Note that the storedresponse DB entries for this scenario are very different:
they're whatever format the bid adapter's endpoint responds with. i.e. the host company will
need to capture an actual bid response from the specific bidders and enter it
into the DB table.
Notes:
- the DB entries for this stored-response scenario are quite different: they need to be in whatever format the bid adapter's endpoint responds with. i.e. the host company will need to capture an actual bid response from the specific bidders and enter it into the DB table.
- the `replaceimpid` parameter tells PBS to ignore the impid supplied in the DB and instead create/overwrite seatbid.bid.impid with the value that matches the incoming request. This simplifies debugging.

See Prebid.org troubleshooting pages for how to utilize this feature within the context of the browser.

Expand Down

0 comments on commit 0ad39bc

Please sign in to comment.