github.com/prebid/prebid-server/v2@v2.18.0/static/bidder-params/consumable.json (about) 1 { 2 "$schema": "http://json-schema.org/draft-04/schema#", 3 "title": "Consumable Adapter Params", 4 "description": "A schema which validates params accepted by the Consumable adapter", 5 6 "type": "object", 7 "properties": { 8 "siteId": { 9 "type": "number", 10 "description": "The site ID from Consumable", 11 "pattern": "^[0-9]+$" 12 }, 13 "networkId": { 14 "type": "number", 15 "description": "The network ID from Consumable", 16 "pattern": "^[0-9]+$" 17 }, 18 "unitId": { 19 "type": "number", 20 "description": "The unit ID from Consumable", 21 "pattern": "^[0-9]+$" 22 }, 23 "unitName": { 24 "type": "string", 25 "description": "The unit name from Consumable (expected to be a valid CSS class name)", 26 "pattern": "^-?[_a-zA-Z]+[_a-zA-Z0-9-]*$" 27 }, 28 "placementId": { 29 "type": "string", 30 "description": "The placementID from Consumable, Required for non-site requests", 31 "pattern": "^[a-zA-Z0-9]+$" 32 } 33 }, 34 "oneOf": [ 35 {"required": ["siteId", "networkId","unitId"] }, 36 {"required": ["placementId"] } 37 ] 38 }