Blog · Protocol

A Trusted Server config that validates can still emit an OpenRTB 2.6 request the exchange rejects.

Trusted Server's config check and the bid request are different artifacts. ts config validate accepts a TOML file whose endpoints are HTTPS, whose Prebid module stems exist in the pinned package, and whose consent forwarding mode is one of the allowed values. The Prebid integration guide then describes a second object: an OpenRTB 2.6 request assembled for Prebid Server. A green config does not mean that request is legal for the bidder, and it does not mean the bidder reads the fields the edge filled.

What the profile says it puts on the wire

For a Prebid-routed auction the guide lists a concrete set. Slots become imp objects with bidder params, bidfloor, and bidfloorcur. Impressions are marked secure: 1. Site metadata uses the publisher domain, a publisher-owned page URL with the query and fragment removed, and the Referer as site.ref. The edge cookie id goes on the user object when forwarding is allowed, and the merged partner set is forwarded as user.ext.eids. Consent is forwarded and the GDPR flag is set from geo and the presence of a consent string. Sec-GPC is translated to a us_privacy string. DNT and Accept-Language land on device fields, along with the user agent, the client IP, and geo when available. tmax comes from the configured timeout. cur is set to ["USD"].

Two flags are easy to leave on after a test. test_mode sets top-level test: 1, which OpenRTB defines as a non-billable auction. debug sets ext.prebid.debug and ext.prebid.returnallbidstatus. The guide treats test mode and debug as independent. A config that validates with test_mode = true is doing what it was told. The exchange then correctly refuses to bill it. That failure never shows up as a TOML error.

{
  "test": 1,
  "cur": ["USD"],
  "tmax": 900,
  "imp": [{ "secure": 1, "bidfloor": 0.5, "bidfloorcur": "USD" }],
  "user": {
    "id": "<ts-ec>",
    "ext": { "eids": [] }
  }
}

The numbers are illustrative. The field set is the one the guide describes. A bidder priced in another currency, a floor currency that does not match cur, or a tmax already smaller than the provider timeout you thought you configured are all consistent with a file ts config validate accepted. The timeout relationship is covered in the two clocks. The identity path is covered in user.id and user.ext.eids.

The extension array is not the 2.6 array

OpenRTB 2.6 defines user.eids. The guide forwards the merged set as user.ext.eids and names the provider protocol openrtb-2.6. Both can be true. A request can be the right version and still carry identity only on the extension. Validators and bidder adapters that read one path will disagree with adapters that read the other, and both will agree the JSON parses. Capture the body posted to /openrtb2/auction and check the path before you add another user-id module.

The same gap applies to the supply chain. The guides cited here do not document a source.schain writer. A config can validate, the request can validate as OpenRTB, and a buyer can still no-bid because the chain is missing. That join is the ads.txt and schain note.

Lint the object the provider sends

Keep ts config validate in the deploy. Then add a second check on a captured provider request: version, test, cur, tmax, imp.secure, the user id path you expect, and whether source.schain is present after Prebid Server. Stored-request mode is a separate footgun the guide calls out in the same Prebid page. storedRequest false, true, and omitted do not mean the same thing, and an old server can reject the field a new bundle emits. Validate the request that combination produces, not only the envelope flag in TOML.

Paste that captured body into the bid request tester. RTBlint is independent of IAB Tech Lab and of Prebid.org. It checks OpenRTB shape and internal consistency. It does not certify a Trusted Server deploy, and a passing TOML check does not substitute for it.

Sources