create_sulvo_ad_unit
Create a Sulvo ad unit for an approved publisher. Requires SULVO_API_KEY (with the inventory:write scope) in the server environment, never passed as an argument — an account owner mints a write-scoped key in the Sulvo dashboard (Account Settings -> API key). The Sulvo account must be approved; the backend rejects unapproved accounts. Returns the created unit id and container root.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Ad size as width/height, or a responsive token like responsive_all. Required by the backend for most non-interstitial types. | |
| type | Yes | Ad unit type. | |
| custom | No | Optional custom unit name. | |
| domain | Yes | Publisher domain the ad unit belongs to. | |
| focusedAd | No | Only valid for the display type. | |
| placement | No | Optional placement weight (0-1). | |
| outputFormat | No | markdown |