github.com/prebid/prebid-server/v2@v2.18.0/adapters/tpmn/tpmntest/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 "inventoryId": 10000001 23 } 24 } 25 } 26 ] 27 }, 28 "httpCalls": [ 29 { 30 "expectedRequest": { 31 "uri": "https://gat.tpmn.io/ortb/pbs_bidder", 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 "bidfloorcur": "USD", 43 "ext": { 44 "bidder": { 45 "inventoryId": 10000001 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 "mtype": 4, 79 "ext": { 80 "prebid": { 81 "type": "native" 82 } 83 } 84 } 85 ], 86 "seat": "tpmn" 87 } 88 ], 89 "cur": "USD" 90 } 91 } 92 } 93 ], 94 "expectedBidResponses": [ 95 { 96 "bids": [ 97 { 98 "bid": { 99 "id": "test_bid_id", 100 "impid": "test-imp-id", 101 "price": 0.27543, 102 "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>", 103 "cid": "test_cid", 104 "crid": "test_crid", 105 "dealid": "test_dealid", 106 "w": 300, 107 "h": 250, 108 "mtype": 4, 109 "ext": { 110 "prebid": { 111 "type": "native" 112 } 113 } 114 }, 115 "type": "native" 116 } 117 ] 118 } 119 ] 120 }