github.com/prebid/prebid-server/v2@v2.18.0/adapters/mgidX/mgidXtest/exemplary/simple-native.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "device": { 5 "ip": "123.123.123.123", 6 "ua": "iPad" 7 }, 8 "app": { 9 "id": "1", 10 "bundle": "com.wls.testwlsapplication" 11 }, 12 "imp": [ 13 { 14 "id": "test-imp-id", 15 "tagid": "test", 16 "native": { 17 "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}}]}", 18 "ver": "1.1" 19 }, 20 "ext": { 21 "bidder": { 22 "placementId": "test" 23 } 24 } 25 } 26 ] 27 }, 28 "httpCalls": [ 29 { 30 "expectedRequest": { 31 "uri": "http://example.com/pserver", 32 "body": { 33 "id": "test-request-id", 34 "imp": [ 35 { 36 "id": "test-imp-id", 37 "tagid": "test", 38 "native": { 39 "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}}]}", 40 "ver": "1.1" 41 }, 42 "ext": { 43 "bidder": { 44 "placementId": "test", 45 "type": "publisher" 46 } 47 } 48 } 49 ], 50 "app": { 51 "id": "1", 52 "bundle": "com.wls.testwlsapplication" 53 }, 54 "device": { 55 "ip": "123.123.123.123", 56 "ua": "iPad" 57 } 58 }, 59 "impIDs":["test-imp-id"] 60 }, 61 "mockResponse": { 62 "status": 200, 63 "body": { 64 "id": "test-request-id", 65 "seatbid": [ 66 { 67 "bid": [ 68 { 69 "id": "test_bid_id", 70 "impid": "test-imp-id", 71 "price": 0.27543, 72 "adm": "<iframe id=\"adm-banner-16\" width=\"300\" height=\"250\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\" style=\"{overflow:hidden}\" src=\"http://example.com/pserver&k=882b2510ed6d6c94fa69c99aa522a708\"></iframe>", 73 "cid": "test_cid", 74 "crid": "test_crid", 75 "dealid": "test_dealid", 76 "w": 300, 77 "h": 250, 78 "ext": { 79 "prebid": { 80 "type": "native" 81 } 82 } 83 } 84 ], 85 "seat": "mgidX" 86 } 87 ], 88 "cur": "USD" 89 } 90 } 91 } 92 ], 93 "expectedBidResponses": [ 94 { 95 "bids": [ 96 { 97 "bid": { 98 "id": "test_bid_id", 99 "impid": "test-imp-id", 100 "price": 0.27543, 101 "adm": "<iframe id=\"adm-banner-16\" width=\"300\" height=\"250\" frameborder=\"0\" marginheight=\"0\" marginwidth=\"0\" style=\"{overflow:hidden}\" src=\"http://example.com/pserver&k=882b2510ed6d6c94fa69c99aa522a708\"></iframe>", 102 "cid": "test_cid", 103 "crid": "test_crid", 104 "dealid": "test_dealid", 105 "w": 300, 106 "h": 250, 107 "ext": { 108 "prebid": { 109 "type": "native" 110 } 111 } 112 }, 113 "type": "native" 114 } 115 ] 116 } 117 ] 118 }