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