(PBS-Java 3.15+)
Part of Prebid Server’s job in curating a clean bid stream is in dealing with problems created by errant requests. When there’s a problem in how Prebid SDK or Prebid.js forms the OpenRTB, we’ll work with those teams to correct the issue, but sometimes those bugs will stay out in the wild for a long time before the fix propagates through the ecosystem.
Here are the corrections this module can support. All of them are opt-in by account.
Requestion Correction | Description | Version |
---|---|---|
pbsdkUaCleanup | There are versions of PBSDK that set device.ua to include “PrebidMobile/x.y.z”, which can cause some bidders to view the request as invalid traffic. | PBS-Java 3.15 |
pbsdkAndroidInstlRemove | There’s a bug in older versions of the Android PBSDK that inject the instl:1 flag into video auctions. |
PBS-Java 3.15 |
This correction addresses a bug in the PB SDK where the user agent string was set in such a way that some bidders detect the requests as invalid traffic.
If the “pbsdkUaCleanup” correction is enabled, this is what happens:
This correction addresses a bug in the Android PB SDK where the instl
flag is incorrectly added to the OpenRTB.
If the ‘pbsdkAndroidInstlRemove’ correction is enabled, this is what happens:
The parameters to the module are:
Parameter | Type | Scope | Description | Notes |
---|---|---|---|---|
enabled | boolean | optional | Enable the module for this account | Defaults to false |
pbsdkUaCleanup | boolean | optional | See Prebid SDK User Agent Cleanup above. | Defaults to false |
pbsdkAndroidInstlRemove | boolean | optional | See the Prebid SDK Interstitial Flag correction above. | Defaults to false |
Here’s an example of the account config used in PBS-Java:
{
"hooks": {
"modules": {
"pb-request-correction": {
"enabled": true,
"pbsdkUaCleanup": true,
"pbsdkAndroidInstlRemove": true
}
}
}
},
"execution-plan": {
"endpoints": {
"/openrtb2/auction": {
"stages": {
"processed-auction": {
"groups": [
{
"timeout": 5,
"hook-sequence": [
{
"module-code": "pb-request-correction",
"hook-impl-code": "pb-request-correction-processed-auction"
}
]
}
]
}
}
}
}
}
}