github.com/prebid/prebid-server/v2@v2.18.0/adapters/smarthub/smarthubtest/exemplary/native.json (about) 1 { 2 "mockBidRequest": { 3 "id": "id", 4 "imp": [ 5 { 6 "id": "id", 7 "secure": 1, 8 "bidfloor": 0.01, 9 "bidfloorcur": "USD", 10 "native": { 11 "request": "{\"ver\":\"1.1\",\"layout\":1,\"adunit\":2,\"plcmtcnt\":6,\"plcmttype\":4,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"wmin\":492,\"hmin\":328,\"type\":3,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":4,\"required\":0,\"data\":{\"type\":6}},{\"id\":5,\"required\":0,\"data\":{\"type\":7}},{\"id\":6,\"required\":0,\"data\":{\"type\":1,\"len\":20}}]}", 12 "ver": "1.1" 13 }, 14 "ext": { 15 "bidder": { 16 "partnerName": "partnertest", 17 "seat": "9Q20EdGxzgWdfPYShScl", 18 "token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer" 19 } 20 } 21 } 22 ], 23 "device": { 24 "ua": "UA", 25 "ip": "123.3.4.123" 26 }, 27 "regs": { 28 "ext": { 29 "gdpr": 0 30 } 31 }, 32 "user": { 33 "id": "userid" 34 }, 35 "site": { 36 "id": "id", 37 "domain": "test,com", 38 "cat": [ 39 "IAB12" 40 ], 41 "publisher": { 42 "id": "pubid" 43 } 44 } 45 }, 46 "httpCalls": [ 47 { 48 "expectedRequest": { 49 "uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer", 50 "body": { 51 "id": "id", 52 "imp": [ 53 { 54 "id": "id", 55 "secure": 1, 56 "bidfloor": 0.01, 57 "bidfloorcur": "USD", 58 "native": { 59 "request": "{\"ver\":\"1.1\",\"layout\":1,\"adunit\":2,\"plcmtcnt\":6,\"plcmttype\":4,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":75}},{\"id\":2,\"required\":1,\"img\":{\"wmin\":492,\"hmin\":328,\"type\":3,\"mimes\":[\"image/jpeg\",\"image/jpg\",\"image/png\"]}},{\"id\":4,\"required\":0,\"data\":{\"type\":6}},{\"id\":5,\"required\":0,\"data\":{\"type\":7}},{\"id\":6,\"required\":0,\"data\":{\"type\":1,\"len\":20}}]}", 60 "ver": "1.1" 61 }, 62 "ext": { 63 "bidder": { 64 "partnerName": "partnertest", 65 "seat": "9Q20EdGxzgWdfPYShScl", 66 "token": "zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer" 67 } 68 } 69 } 70 ], 71 "device": { 72 "ua": "UA", 73 "ip": "123.3.4.123" 74 }, 75 "regs": { 76 "ext": { 77 "gdpr": 0 78 } 79 }, 80 "user": { 81 "id": "userid" 82 }, 83 "site": { 84 "id": "id", 85 "domain": "test,com", 86 "cat": [ 87 "IAB12" 88 ], 89 "publisher": { 90 "id": "pubid" 91 } 92 } 93 }, 94 "impIDs":["id"] 95 }, 96 "mockResponse": { 97 "status": 200, 98 "body": { 99 "id": "id", 100 "bidid": "id", 101 "seatbid": [ 102 { 103 "bid": [ 104 { 105 "id": "id", 106 "impid": "id", 107 "price": 0.1, 108 "nurl": "http://test.com/nurl", 109 "burl": "http://test.com/burl", 110 "adm": "{}", 111 "adomain": [ 112 "test.com" 113 ], 114 "cat": [ 115 "IAB1" 116 ], 117 "cid": "cid", 118 "crid": "crid", 119 "ext": { 120 "mediaType": "native" 121 } 122 } 123 ], 124 "seat": "seat" 125 } 126 ], 127 "cur": "USD" 128 } 129 } 130 } 131 ], 132 "expectedBidResponses": [ 133 { 134 "currency": "USD", 135 "bids": [ 136 { 137 "bid": { 138 "id": "id", 139 "impid": "id", 140 "price": 0.1, 141 "nurl": "http://test.com/nurl", 142 "burl": "http://test.com/burl", 143 "adm": "{}", 144 "adomain": [ 145 "test.com" 146 ], 147 "cat": [ 148 "IAB1" 149 ], 150 "cid": "cid", 151 "crid": "crid", 152 "ext": { 153 "mediaType": "native" 154 } 155 }, 156 "type": "native" 157 } 158 ] 159 } 160 ] 161 }