(PBS-Java 3.14+)
Part of Prebid Server’s job in curating a clean bid stream is in dealing with problems created by bid responses. For the most part, if a bid adapter is returning something incorrectly, we work with them to correct the issue. However, that’s not always possible in a clean way. This module is a place to collect response corrections that accounts may want to apply to the bid stream.
For now, there’s only one option:
This correction addresses an awkward situation where at least 3 app bidders are declaring hb_format=video but the creative is HTML instead of VAST. This forces pubs to hack an extra set of line items with specific biddercodes. It will be difficult to go to an unknown set of bidders and get them to change their endpoints, and even if they did timing would be awkward no matter what: it affects publisher line items and monetization.
The first task is app-video-html, which should support a list of excluded bidders.
The parameters to the module are:
Parameter | Type | Scope | Description | Notes |
---|---|---|---|---|
enabled | boolean | optional | Enable the module for this account | Defaults to false |
app-video-html | object | optional | See the App Video HTML Correction above. | |
app-video-html.enabled | boolean | optional | Enable this correction. | Defaults to false |
app-video-html.excludedbidders | string array | optional | Bidders who are exempt from the correction. |
Here’s an example of the account config used in PBS-Java:
{
"hooks": {
"modules": {
"pb-response-correction": {
"enabled": true,
"app-video-html": {
"excludedbidders": [
"bidderA",
"bidderB"
],
"enabled": true
}
}
}
},
"execution-plan": {
"endpoints": {
"/openrtb2/auction": {
"stages": {
"all-processed-bid-responses": {
"groups": [
{
"timeout": 5,
"hook-sequence": [
{
"module-code": "pb-response-correction",
"hook-impl-code": "pb-response-correction-all-processed-bid-responses"
}
]
}
]
}
}
}
}
}
}