github.com/prebid/prebid-server/v2@v2.18.0/adapters/krushmedia/krushmediatest/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 30 "native": { 31 "ver":"1.1", 32 "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}}}" 33 }, 34 "ext": { 35 "bidder": { 36 "key": "2" 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 "X-Openrtb-Version": [ 53 "2.5" 54 ], 55 "User-Agent": [ 56 "test-user-agent" 57 ], 58 "X-Forwarded-For": [ 59 "123.123.123.123" 60 ], 61 "Accept-Language": [ 62 "en" 63 ], 64 "Dnt": [ 65 "0" 66 ] 67 }, 68 "uri": "http://example.com/?c=rtb&m=req&key=2", 69 "body": { 70 "id": "some-request-id", 71 "device": { 72 "ua": "test-user-agent", 73 "ip": "123.123.123.123", 74 "language": "en", 75 "dnt": 0 76 }, 77 "imp": [ 78 { 79 "id": "some-impression-id", 80 "native": { 81 "ver":"1.1", 82 "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}}}" 83 } 84 } 85 ], 86 "app": { 87 "id": "123456789", 88 "name": "Awesome App", 89 "bundle": "com.app.awesome", 90 "domain": "awesomeapp.com", 91 "cat": [ 92 "IAB22-1" 93 ], 94 "publisher": { 95 "id": "123456789" 96 } 97 }, 98 "user": { 99 "buyeruid": "0000-000-000-0000" 100 }, 101 "tmax": 1000 102 }, 103 "impIDs":["some-impression-id"] 104 }, 105 "mockResponse": { 106 "status": 200, 107 "body": { 108 "id": "awesome-resp-id", 109 "seatbid": [ 110 { 111 "bid": [ 112 { 113 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 114 "impid": "some-impression-id", 115 "price": 3.5, 116 "adm": "awesome-markup", 117 "adomain": [ 118 "awesome.com" 119 ], 120 "crid": "20" 121 } 122 ], 123 "type": "native", 124 "seat": "krushmedia" 125 } 126 ], 127 "cur": "USD", 128 "ext": { 129 "responsetimemillis": { 130 "krushmedia": 154 131 }, 132 "tmaxrequest": 1000 133 } 134 } 135 } 136 } 137 ], 138 "expectedBidResponses": [ 139 { 140 "bids":[ 141 { 142 "bid": { 143 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 144 "impid": "some-impression-id", 145 "price": 3.5, 146 "adm": "awesome-markup", 147 "crid": "20", 148 "adomain": [ 149 "awesome.com" 150 ] 151 }, 152 "type": "native" 153 } 154 ] 155 } 156 ] 157 } 158