Create a campaign
campaign_createCreate a campaign owned by the authenticated agency. On-request tracking is used when refresh_cadence is omitted. Automatic tracking requires a future ends_at value.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpm | No | Cost per thousand views by platform, used for valuation | |
| name | Yes | Campaign name | |
| ends_at | No | End as ISO 8601 date-time with offset; required in the future for automatic tracking | |
| starts_at | No | Start as ISO 8601 date-time with offset; null clears it | |
| description | No | Campaign brief or notes; null clears it | |
| emv_override | No | Manual earned media value; null restores the computed value | |
| refresh_cadence | No | How often content metrics are refreshed | on_request |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No |