github.com/prebid/prebid-server/v2@v2.18.0/adapters/grid/gridtest/exemplary/native-as-string.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 "native": { 10 "ver": "1.1", 11 "request": "request string" 12 }, 13 "ext": { 14 "bidder": { 15 "uid": 1 16 } 17 } 18 }] 19 }, 20 21 "httpCalls": [{ 22 "expectedRequest": { 23 "uri": "http://localhost/prebid", 24 "body": { 25 "id": "test-request-id", 26 "site": { 27 "page": "https://good.site/url" 28 }, 29 "imp": [{ 30 "id": "test-imp-id", 31 "native": { 32 "ver": "1.1", 33 "request_native": "request string" 34 }, 35 "ext": { 36 "bidder": { 37 "uid": 1 38 } 39 } 40 }] 41 }, 42 "impIDs":["test-imp-id"] 43 }, 44 "mockResponse": { 45 "status": 200, 46 "body": { 47 "id": "test-request-id", 48 "seatbid": [{ 49 "seat": "grid", 50 "bid": [{ 51 "id": "randomid", 52 "impid": "test-imp-id", 53 "price": 0.500000, 54 "adid": "12345678", 55 "adm_native": { 56 "some_native_key": "native_value" 57 }, 58 "cid": "987", 59 "crid": "12345678", 60 "h": 250, 61 "w": 300 62 }] 63 }], 64 "cur": "USD" 65 } 66 } 67 }], 68 69 "expectedBidResponses": [{ 70 "currency": "USD", 71 "bids": [{ 72 "bid": { 73 "id": "randomid", 74 "impid": "test-imp-id", 75 "price": 0.5, 76 "adm": "{\"some_native_key\":\"native_value\"}", 77 "adid": "12345678", 78 "cid": "987", 79 "crid": "12345678", 80 "w": 300, 81 "h": 250 82 }, 83 "type": "native" 84 }] 85 }] 86 }