PeumeAPI

Ads

Pause or resume a single ad set

Pauses or resumes one ad set without touching its campaign, its sibling ad sets or the switches of its ads.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/pause-or-resume-a-single-ad-set \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "adSetId": "your adSetId",
    "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-single-ad-set.

Parameters

adSetIdRequiredstring

Platform ad set 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 an ad set created in Ads Manager that has not synced, by numeric Meta id. Ignored when has the ad set. 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.