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