Skip to main content
POST
Archive a Meta campaign (removes it from active views; cannot be undone from AdStellar). Two-step with confirmationToken. Prefer pause_campaign unless the user explicitly wants to archive.

Authorizations

Authorization
string
header
required

AdStellar API key (ast_live_...)

Body

application/json
campaignId
string
required

Meta campaign id from lookup_campaign.

Minimum string length: 1
campaignName
string

Display name of the campaign, for the confirmation preview.

Maximum string length: 200
workspaceId
string<uuid>

Limit to one workspace this credential can access. Omit to span all of them.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
confirmationToken
string

Omit on the first call to get a preview + token; pass the token back to execute.

Response

Tool result