PeumeAPI

Social publishing & inbox

Update one ad account's controls

Turns ad rules off or on for one ad account, sets its daily raise limit, or both. Send at least one of `paused` and `dailyRaiseLimit`; fields you leave out keep their value.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/update-one-ad-account-s-controls \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId"
  }
}'

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: update-one-ad-account-s-controls.

Parameters

accountIdRequiredstring

The ads connection that reaches the ad account.

adAccountIdRequiredstring

The platform's ad account id.

pausedboolean

True stops every automation on this ad account; false lets them run again.

dailyRaiseLimitnumber

The most automations may raise budgets on this ad account in any 24 hours, in the ad account's currency. A raise past it is cut to the room left. Send null to remove the limit.

Start free · $1 of calls included

Every API your business needs. One key.

7,000+ data and AI APIs behind one key, with backup sources built in.