PeumeAPI

Ads

Pause or resume a campaign

Pauses or resumes a campaign, leaving the on/off switches of its ad sets and ads as they are.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/pause-or-resume-a-campaign \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "campaignId": "your campaignId",
    "status": "active",
    "platform": "facebook"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: pause-or-resume-a-campaign.

Parameters

campaignIdRequiredstring

Platform campaign ID

statusRequiredstring

active · paused

platformRequiredstring

facebook · instagram · tiktok · linkedin · pinterest · google · twitter · openai · reddit · microsoft · amazon · tradedesk …

accountIdstring

A or Facebook connection id (also accepted in the query). Changes the status of a campaign created in Ads Manager that has not synced, by numeric Meta id. Ignored when has the campaign. It echoes the requested status; `stage: true` answers 400.

stageboolean

Send true to stage this change instead of applying it. Nothing is written to the ad network; the response is `202` with the staged change and its diff. Apply it with POST /v1/ads/changes/{changeId}/confirm. Meta, Google, TikTok, X, Snapchat and Reddit; cannot be combined with `validateOnly` or `dryRun`.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.