Skip to content
PubAdHub
400 Publisher

Invalid OpenRTB bid request

HTTP 400 from OpenRTB 2.5 when the body is not JSON, id is missing or blank, or the first impression has no id.

Cause

The bid request body is not JSON, id is missing or blank, or imp[0] has no id. A single impression object is accepted and is treated as the first impression.

Solution

Send Content-Type: application/json with an OpenRTB 2.5 body that includes id and imp.id. Fix the request before you retry. Do not treat HTTP 400 as a no-bid.

Example

JSON
{
    "error": "Invalid OpenRTB bid request"
}

Related documentation