github.com/prebid/prebid-server@v0.275.0/adapters/appnexus/appnexustest/supplemental/usePmtRule-test.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "imp": [ 5 { 6 "id": "test-imp-id", 7 "banner": { 8 "format": [ 9 { 10 "w": 300, 11 "h": 250 12 }, 13 { 14 "w": 300, 15 "h": 600 16 } 17 ] 18 }, 19 "ext": { 20 "bidder": { 21 "member": "103", 22 "inv_code": "abc", 23 "reserve": 20, 24 "position": "below", 25 "use_payment_rule": true 26 } 27 } 28 }, 29 { 30 "id": "test-imp-id-2", 31 "banner": { 32 "format": [ 33 { 34 "w": 300, 35 "h": 250 36 }, 37 { 38 "w": 300, 39 "h": 600 40 } 41 ] 42 }, 43 "ext": { 44 "bidder": { 45 "member": "103", 46 "inv_code": "abc", 47 "reserve": 20, 48 "position": "below", 49 "use_pmt_rule": true, 50 "use_payment_rule": false 51 } 52 } 53 } 54 ] 55 }, 56 57 "httpCalls": [ 58 { 59 "expectedRequest": { 60 "uri": "http://ib.adnxs.com/openrtb2?member_id=103", 61 "body": { 62 "id": "test-request-id", 63 "ext": { 64 "appnexus": { 65 "hb_source": 5 66 } 67 }, 68 "imp": [ 69 { 70 "id":"test-imp-id", 71 "banner": { 72 "format": [ 73 {"w":300,"h":250}, 74 {"w":300,"h":600} 75 ], 76 "w": 300, 77 "h": 250, 78 "pos": 3 79 }, 80 "tagid": "abc", 81 "bidfloor": 20, 82 "ext": { 83 "appnexus": { 84 "use_pmt_rule": true 85 } 86 } 87 }, 88 { 89 "id":"test-imp-id-2", 90 "banner": { 91 "format": [ 92 {"w":300,"h":250}, 93 {"w":300,"h":600} 94 ], 95 "w": 300, 96 "h": 250, 97 "pos": 3 98 }, 99 "tagid": "abc", 100 "bidfloor": 20, 101 "ext": { 102 "appnexus": { 103 "use_pmt_rule": true 104 } 105 } 106 } 107 ] 108 } 109 }, 110 "mockResponse": { 111 "status": 204 112 } 113 } 114 ], 115 "expectedBidResponses": [] 116 }