Rule reference

BidSwitch requires a documented inventory context.

openrtb.profile.bidswitch.inventory_requirederrorBid request

BidSwitch requires a documented inventory context.

What it means

BidSwitch requires a documented inventory context. This check applies to the selected vendor contract and integration direction.

Why it matters

The declared profile checks the published partner contract alongside canonical OpenRTB. It does not verify runtime approval or account configuration.

How to fix it

Supply the missing information through the documented field or permitted alternative for this direction.

Example that trips it

{
  "id": "r",
  "imp": [
    {
      "id": "i",
      "banner": {
        "w": 300,
        "h": 250
      },
      "secure": 1
    }
  ],
  "device": {
    "ip": "203.0.113.2",
    "geo": {
      "country": "USA"
    }
  },
  "user": {},
  "tmax": 120,
  "cur": [
    "USD"
  ],
  "ext": {
    "ssp": "example",
    "media_src": "example"
  }
}

Profile bidswitch, OpenRTB 2.6-202606. The fixture asserts openrtb.profile.bidswitch.inventory_required.

Check your payload

Paste a bid request or response into the tester to see whether this code fires against it, or gate on the id in CI with the CLI: the id is stable, wording is not.

Back to the full diagnostic code reference.