mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 22:16:41 +03:00
testdata
JSON examples copied from OpenRTB spec documents:
- 2.5 spec - section 6. Bid Request/Response Samples
- 2.6 spec - section 6. Bid Request/Response Samples
Some empty/zero attributes were omited (not copied) because of encoding/json omitempty and gomega.MatchJSON(...).
For 2.6 the following adjustments were applied:
- bid-request/2.6/simple-banner.json - spec example embedded
userintosite, moveduserto top level - bid-request/2.6/expandable-creative.json -
data[2].valueadded, moved todata[2].segment[0].value - bid-request/2.6/mobile.json -
imp[0].instl = 0removed (because of JSON/omitempty) - bid-request/2.6/VIDEO.json -
imp[0].video.apisrenamed toapi(it is singular in spec, but plural in example)