The Trade Desk real-time lookup supports JSON and JSONP response selection.
The published real-time ID lookup requires a configured partner identifier. Its query can select the documented JSON alternative or the JSONP response form.
Response identifiers remain opaque. The documentation leaves future response-version values open, so the pack does not invent a closed version enum.
Apply the contracts within their published source scope.
Response identifiers remain opaque. The documentation leaves future response-version values open, so the pack does not invent a closed version enum.
What this pack matches
Rules
Codes are stable. A finding in CI, MCP, or the playground lands on the same id.
| Field | Required | What it checks | Rule ids | Source |
|---|---|---|---|---|
ttd_pid |
required | Configured cookie mapping partner identifier. | vendor.the-trade-desk-realtime-id.param.ttd_pid.missingvendor.the-trade-desk-realtime-id.param.ttd_pid.empty |
docs |
v |
optional | JSONP response version. The documentation does not close future version values. | vendor.the-trade-desk-realtime-id.param.v.empty |
docs |
fmt |
optional | The published JSON alternative selects fmt=json. | vendor.the-trade-desk-realtime-id.param.fmt.emptyvendor.the-trade-desk-realtime-id.param.fmt.invalid |
docs |
response_format_missing |
required | Select a versioned JSONP response or fmt=json. | vendor.the-trade-desk-realtime-id.response_format_missing |
docs |
json_version_unsupported |
recommended | The documented JSON alternative does not support versioning. | vendor.the-trade-desk-realtime-id.json_version_unsupported |
docs |
method |
required | Published script and XHR lookup. Complete HTTP capture contract. Evidence: vendor template. | vendor.the-trade-desk-realtime-id.http.method.missingvendor.the-trade-desk-realtime-id.http.method.emptyvendor.the-trade-desk-realtime-id.http.method.invalid |
docs |
Validate a payload
pixellint validate url "$ARTIFACT" --rulepack vendor/the-trade-desk-realtime-id
Or paste it into the playground. Same engine, in the browser, nothing sent anywhere.
cargo install pixellint
·
npm install pixellint