OpenRTB examples

Matched bid request and response example

A request/response pair that cross-validates clean: seat allowed, deal echoed, currency permitted, and markup matching the offer.

The payload

{
  "id": "auc-5521",
  "bidid": "resp-88231",
  "cur": "USD",
  "seatbid": [
    {
      "seat": "dsp-acme",
      "group": 0,
      "bid": [
        {
          "id": "bid-1",
          "impid": "1",
          "price": 22.75,
          "dealid": "deal-77",
          "adm": "<VAST version='4.2'><Ad id='cr-90341'><Wrapper><AdSystem>acme-dsp</AdSystem><VASTAdTagURI><![CDATA[https://dsp.example.com/vast/cr-90341]]></VASTAdTagURI><Impression><![CDATA[https://dsp.example.com/imp]]></Impression></Wrapper></Ad></VAST>",
          "adomain": ["acmesnacks.com"],
          "crid": "cr-90341",
          "w": 1920,
          "h": 1080,
          "dur": 30,
          "mtype": 2
        }
      ]
    }
  ]
}

Open this payload in the tester to validate it live, change fields, and watch which rules fire.

What to notice

  • The response's seat appears in the request's wseat allowlist, and cur is among the request's currencies.
  • dealid echoes a Deal from imp.pmp.deals, so the bid gets deal treatment.
  • This is the pair-validation mode: rtblint validate --type response --request request.json response.json.

More examples