github.com/prebid/prebid-server/v2@v2.18.0/adapters/kayzen/kayzentest/exemplary/native-app.json (about) 1 { 2 "mockBidRequest": { 3 "id": "some-request-id", 4 "device": { 5 "ua": "test-user-agent", 6 "ip": "123.123.123.123", 7 "language": "en", 8 "dnt": 0 9 }, 10 "tmax": 1000, 11 "user": { 12 "buyeruid": "0000-000-000-0000" 13 }, 14 "app": { 15 "publisher": { 16 "id": "123456789" 17 }, 18 "cat": [ 19 "IAB22-1" 20 ], 21 "bundle": "com.app.awesome", 22 "name": "Awesome App", 23 "domain": "awesomeapp.com", 24 "id": "123456789" 25 }, 26 "imp": [ 27 { 28 "id": "some-impression-id", 29 "native": { 30 "ver":"1.1", 31 "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}" 32 }, 33 "ext": { 34 "bidder": { 35 "zone": "dc", 36 "exchange": "ex" 37 } 38 } 39 } 40 ] 41 }, 42 "httpCalls": [ 43 { 44 "expectedRequest": { 45 "headers": { 46 "Content-Type": [ 47 "application/json;charset=utf-8" 48 ], 49 "Accept": [ 50 "application/json" 51 ] 52 }, 53 "uri": "https://example-dc.com/?exchange=ex", 54 "body": { 55 "id": "some-request-id", 56 "device": { 57 "ua": "test-user-agent", 58 "ip": "123.123.123.123", 59 "language": "en", 60 "dnt": 0 61 }, 62 "imp": [ 63 { 64 "id": "some-impression-id", 65 "native": { 66 "ver":"1.1", 67 "request":"{\"adunit\":2,\"assets\":[{\"id\":3,\"img\":{\"h\":120,\"hmin\":0,\"type\":3,\"w\":180,\"wmin\":0},\"required\":1},{\"id\":0,\"required\":1,\"title\":{\"len\":25}},{\"data\":{\"len\":25,\"type\":1},\"id\":4,\"required\":1},{\"data\":{\"len\":140,\"type\":2},\"id\":6,\"required\":1}],\"context\":1,\"layout\":1,\"contextsubtype\":11,\"plcmtcnt\":1,\"plcmttype\":2,\"ver\":\"1.1\",\"ext\":{\"banner\":{\"w\":320,\"h\":50}}}" 68 } 69 } 70 ], 71 "app": { 72 "id": "123456789", 73 "name": "Awesome App", 74 "bundle": "com.app.awesome", 75 "domain": "awesomeapp.com", 76 "cat": [ 77 "IAB22-1" 78 ], 79 "publisher": { 80 "id": "123456789" 81 } 82 }, 83 "user": { 84 "buyeruid": "0000-000-000-0000" 85 }, 86 "tmax": 1000 87 }, 88 "impIDs":["some-impression-id"] 89 }, 90 "mockResponse": { 91 "status": 200, 92 "body": { 93 "id": "awesome-resp-id", 94 "seatbid": [ 95 { 96 "bid": [ 97 { 98 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 99 "impid": "some-impression-id", 100 "price": 3.5, 101 "adm": "awesome-markup", 102 "adomain": [ 103 "awesome.com" 104 ], 105 "crid": "20" 106 } 107 ], 108 "type": "native", 109 "seat": "kayzen-prebid" 110 } 111 ], 112 "cur": "USD", 113 "ext": { 114 } 115 } 116 } 117 } 118 ], 119 "expectedBidResponses": [ 120 { 121 "bids":[ 122 { 123 "bid": { 124 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 125 "impid": "some-impression-id", 126 "price": 3.5, 127 "adm": "awesome-markup", 128 "crid": "20", 129 "adomain": [ 130 "awesome.com" 131 ] 132 }, 133 "type": "native" 134 } 135 ] 136 } 137 ] 138 }