github.com/prebid/prebid-server/v2@v2.18.0/adapters/grid/gridtest/exemplary/with-ext-keywords.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "site": { 5 "page": "https://good.site/url" 6 }, 7 "ext": { 8 "keywords": { 9 "stringKey": "stringVal", 10 "wrongKeys1": { 11 "someKey1": "someVal1", 12 "someKey2": "someVal2", 13 "someKey3": ["someVal31", "someVal32"], 14 "someKey4": { "key1": "val1", "key2": "val2" } 15 }, 16 "anotherKeys": [ 17 {"someKey1": "someVal1"}, 18 {"someKey2": "someVal2"} 19 ], 20 "site": { 21 "stringSiteKey": "stringSiteVal", 22 "wrongSiteKeys1": { 23 "someKey1": "someVal1", 24 "someKey2": "someVal2", 25 "someKey3": ["someVal31", "someVal32"], 26 "someKey4": { "key1": "val1", "key2": "val2" } 27 }, 28 "anotherSiteKeys": [ 29 {"someKey1": "someVal1"}, 30 {"someKey2": "someVal2"}, 31 "someStrKey", 32 ["someVal31", "someVal32"], 33 { 34 "name": "someName3", 35 "keyName": ["keyVal", { "name": "wrongKey" }], 36 "wrongKeyName": "stKeyVal", 37 "wrongKeyName2": { "name": "someName", "value": "stKeyVal" } 38 } 39 ], 40 "pub": [ 41 "k1", 42 "k2" 43 ], 44 "somePublisher": [ 45 { 46 "name": "someName2", 47 "topic": ["anyKey"] 48 } 49 ], 50 "formatedSitePublisher": [ 51 { 52 "name": "formatedPub2", 53 "segments": [ 54 { "name": "segName1", "value": "segVal1" }, 55 { "name": "segName2", "value": "segVal2" } 56 ] 57 }, 58 { 59 "name": "notFormatedPub", 60 "topic2": ["notFormatedKw"] 61 } 62 ] 63 }, 64 "user": { 65 "formatedUserPublisher": [ 66 { 67 "name": "formatedPub2", 68 "segments": [ 69 { "name": "segName1", "value": "segVal1" }, 70 { "name": "segName2", "value": "segVal2" } 71 ] 72 } 73 ] 74 } 75 } 76 }, 77 "imp": [{ 78 "id": "test-imp-id", 79 "banner": { 80 "format": [{ 81 "w": 300, 82 "h": 250 83 }] 84 }, 85 "ext": { 86 "bidder": { 87 "uid": 1 88 } 89 } 90 }] 91 }, 92 93 "httpCalls": [{ 94 "expectedRequest": { 95 "uri": "http://localhost/prebid", 96 "body": { 97 "ext": { 98 "keywords": { 99 "site": { 100 "anotherSiteKeys": [ 101 { 102 "name": "someName3", 103 "segments": [ 104 { "name": "keyName", "value": "keyVal" } 105 ] 106 } 107 ], 108 "somePublisher": [ 109 { 110 "name": "someName2", 111 "segments": [ 112 { "name": "topic", "value": "anyKey" } 113 ] 114 } 115 ], 116 "formatedSitePublisher": [ 117 { 118 "name": "formatedPub2", 119 "segments": [ 120 { "name": "segName1", "value": "segVal1" }, 121 { "name": "segName2", "value": "segVal2" } 122 ] 123 }, 124 { 125 "name": "notFormatedPub", 126 "segments": [ 127 { "name": "topic2", "value": "notFormatedKw" } 128 ] 129 } 130 ] 131 }, 132 "user": { 133 "formatedUserPublisher": [ 134 { 135 "name": "formatedPub2", 136 "segments": [ 137 { "name": "segName1", "value": "segVal1" }, 138 { "name": "segName2", "value": "segVal2" } 139 ] 140 } 141 ] 142 }, 143 "wrongKeys1": { 144 "someKey1": "someVal1", 145 "someKey2": "someVal2", 146 "someKey3": ["someVal31", "someVal32"], 147 "someKey4": { "key1": "val1", "key2": "val2" } 148 }, 149 "stringKey": "stringVal", 150 "anotherKeys": [ 151 {"someKey1": "someVal1"}, 152 {"someKey2": "someVal2"} 153 ] 154 } 155 }, 156 "id": "test-request-id", 157 "site": { 158 "page": "https://good.site/url" 159 }, 160 "imp": [{ 161 "id": "test-imp-id", 162 "banner": { 163 "format": [{ 164 "w": 300, 165 "h": 250 166 }] 167 }, 168 "ext": { 169 "bidder": { 170 "uid": 1 171 } 172 } 173 }] 174 }, 175 "impIDs":["test-imp-id"] 176 }, 177 "mockResponse": { 178 "status": 200, 179 "body": { 180 "id": "test-request-id", 181 "seatbid": [{ 182 "seat": "grid", 183 "bid": [{ 184 "id": "randomid", 185 "impid": "test-imp-id", 186 "price": 0.500000, 187 "adid": "12345678", 188 "adm": "some-test-ad", 189 "cid": "987", 190 "crid": "12345678", 191 "h": 250, 192 "w": 300 193 }] 194 }], 195 "cur": "USD" 196 } 197 } 198 }], 199 200 "expectedBidResponses": [{ 201 "currency": "USD", 202 "bids": [{ 203 "bid": { 204 "id": "randomid", 205 "impid": "test-imp-id", 206 "price": 0.5, 207 "adm": "some-test-ad", 208 "adid": "12345678", 209 "cid": "987", 210 "crid": "12345678", 211 "w": 300, 212 "h": 250 213 }, 214 "type": "banner" 215 }] 216 }] 217 }