github.com/prebid/prebid-server@v0.275.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 }, 89 "mockResponse": { 90 "status": 200, 91 "body": { 92 "id": "awesome-resp-id", 93 "seatbid": [ 94 { 95 "bid": [ 96 { 97 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 98 "impid": "some-impression-id", 99 "price": 3.5, 100 "adm": "awesome-markup", 101 "adomain": [ 102 "awesome.com" 103 ], 104 "crid": "20" 105 } 106 ], 107 "type": "native", 108 "seat": "kayzen-prebid" 109 } 110 ], 111 "cur": "USD", 112 "ext": { 113 } 114 } 115 } 116 } 117 ], 118 "expectedBidResponses": [ 119 { 120 "bids":[ 121 { 122 "bid": { 123 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 124 "impid": "some-impression-id", 125 "price": 3.5, 126 "adm": "awesome-markup", 127 "crid": "20", 128 "adomain": [ 129 "awesome.com" 130 ] 131 }, 132 "type": "native" 133 } 134 ] 135 } 136 ] 137 }