github.com/prebid/prebid-server/v2@v2.18.0/adapters/silvermob/silvermobtest/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": "awesome-user" 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 "tagid": "ogTAGID", 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 "host": "eu", 37 "zoneid": "0" 38 } 39 } 40 } 41 ] 42 }, 43 "httpCalls": [ 44 { 45 "expectedRequest": { 46 "headers": { 47 "Content-Type": [ 48 "application/json;charset=utf-8" 49 ], 50 "Accept": [ 51 "application/json" 52 ], 53 "X-Openrtb-Version": [ 54 "2.5" 55 ], 56 "User-Agent": [ 57 "test-user-agent" 58 ], 59 "X-Forwarded-For": [ 60 "123.123.123.123" 61 ] 62 }, 63 "uri": "http://eu.example.com/api/dsp/bid/0", 64 "body": { 65 "id": "some-request-id", 66 "device": { 67 "ua": "test-user-agent", 68 "ip": "123.123.123.123", 69 "language": "en", 70 "dnt": 0 71 }, 72 "imp": [ 73 { 74 "id": "some-impression-id", 75 "native": { 76 "ver":"1.1", 77 "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}}}" 78 }, 79 "tagid": "ogTAGID", 80 "ext": { 81 "bidder": { 82 "host": "eu", 83 "zoneid": "0" 84 } 85 } 86 } 87 ], 88 "app": { 89 "id": "123456789", 90 "name": "Awesome App", 91 "bundle": "com.app.awesome", 92 "domain": "awesomeapp.com", 93 "cat": [ 94 "IAB22-1" 95 ], 96 "publisher": { 97 "id": "123456789" 98 } 99 }, 100 "user": { 101 "buyeruid": "awesome-user" 102 }, 103 "tmax": 1000 104 }, 105 "impIDs":["some-impression-id"] 106 }, 107 "mockResponse": { 108 "status": 200, 109 "body": { 110 "id": "awesome-resp-id", 111 "seatbid": [ 112 { 113 "bid": [ 114 { 115 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 116 "impid": "some-impression-id", 117 "price": 3.5, 118 "adm": "awesome-markup", 119 "adomain": [ 120 "awesome.com" 121 ], 122 "crid": "20" 123 } 124 ], 125 "type": "native", 126 "seat": "silvermob" 127 } 128 ], 129 "cur": "USD", 130 "ext": { 131 "responsetimemillis": { 132 "silvermob": 154 133 }, 134 "tmaxrequest": 1000 135 } 136 } 137 } 138 } 139 ], 140 "expectedBidResponses": [ 141 { 142 "bids":[ 143 { 144 "bid": { 145 "id": "a3ae1b4e2fc24a4fb45540082e98e161", 146 "impid": "some-impression-id", 147 "price": 3.5, 148 "adm": "awesome-markup", 149 "crid": "20", 150 "adomain": [ 151 "awesome.com" 152 ] 153 }, 154 "type": "native" 155 } 156 ] 157 } 158 ] 159 } 160