campaignstack_set_ad_autopilot
Set an ad campaign's automation mode: 'copilot' (AI suggests, human acts) or 'autopilot' (AI acts within explicitly granted capabilities). Autopilot requires an autopilotConfig with a goal and capability booleans; its optional budgetCeiling is validated server-side against the ad account's monthly spend ceiling (AD_BUDGET_CEILING_EXCEEDED when over). AI-generated creatives still require approval before publish, even on autopilot.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | Ad platform. Only 'linkedin' is supported today. | |
| workspaceId | No | Defaults to the API key's workspace | |
| adCampaignId | Yes | ||
| automationMode | Yes | 'copilot' = AI suggests only; 'autopilot' = AI acts within the granted capabilities | |
| autopilotConfig | No | Required when automationMode is 'autopilot' |