github.com/prebid/prebid-server/v2@v2.18.0/adapters/grid/gridtest/exemplary/with-site-keywords.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "site": { 5 "page": "https://good.site/url", 6 "keywords": "siteKey1,siteKey2" 7 }, 8 "imp": [{ 9 "id": "test-imp-id", 10 "banner": { 11 "format": [{ 12 "w": 300, 13 "h": 250 14 }] 15 }, 16 "ext": { 17 "bidder": { 18 "uid": 1 19 } 20 } 21 }] 22 }, 23 24 "httpCalls": [{ 25 "expectedRequest": { 26 "uri": "http://localhost/prebid", 27 "body": { 28 "ext": { 29 "keywords": { 30 "site": { 31 "ortb2": [ 32 { 33 "name": "keywords", 34 "segments": [ 35 { "name": "keywords", "value": "siteKey1" }, 36 { "name": "keywords", "value": "siteKey2" } 37 ] 38 } 39 ] 40 } 41 } 42 }, 43 "id": "test-request-id", 44 "site": { 45 "page": "https://good.site/url", 46 "keywords": "siteKey1,siteKey2" 47 }, 48 "imp": [{ 49 "id": "test-imp-id", 50 "banner": { 51 "format": [{ 52 "w": 300, 53 "h": 250 54 }] 55 }, 56 "ext": { 57 "bidder": { 58 "uid": 1 59 } 60 } 61 }] 62 }, 63 "impIDs":["test-imp-id"] 64 }, 65 "mockResponse": { 66 "status": 200, 67 "body": { 68 "id": "test-request-id", 69 "seatbid": [{ 70 "seat": "grid", 71 "bid": [{ 72 "id": "randomid", 73 "impid": "test-imp-id", 74 "price": 0.500000, 75 "adid": "12345678", 76 "adm": "some-test-ad", 77 "cid": "987", 78 "crid": "12345678", 79 "h": 250, 80 "w": 300 81 }] 82 }], 83 "cur": "USD" 84 } 85 } 86 }], 87 88 "expectedBidResponses": [{ 89 "currency": "USD", 90 "bids": [{ 91 "bid": { 92 "id": "randomid", 93 "impid": "test-imp-id", 94 "price": 0.5, 95 "adm": "some-test-ad", 96 "adid": "12345678", 97 "cid": "987", 98 "crid": "12345678", 99 "w": 300, 100 "h": 250 101 }, 102 "type": "banner" 103 }] 104 }] 105 }