OpenRTB examples

OpenRTB 3.0 bid request example

A layered 3.0 request: the openrtb envelope, item in place of imp, and the AdCOM placement under item.spec.

The payload

{
  "openrtb": {
    "ver": "3.0",
    "domainspec": "adcom",
    "domainver": "1.0",
    "request": {
      "id": "req-3-0-layered-001",
      "tmax": 250,
      "cur": ["USD"],
      "item": [
        {
          "id": "item-1",
          "qty": 1,
          "flr": 18.5,
          "flrcur": "USD",
          "spec": {
            "placement": {
              "tagid": "video-preroll-3-0"
            }
          }
        }
      ]
    }
  }
}

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

What to notice

  • Everything sits under the openrtb envelope with ver, domainspec, and domainver.
  • The 2.x imp becomes item, carrying commercial terms; what is for sale moves to the AdCOM Placement in item.spec.
  • Validate with the version selector on 3.0; a 2.x payload sent to a 3.0 validator gets a migration diagnostic.

More examples