PeumeAPI

Ads

List staged ad changes

Lists the ad changes waiting to be confirmed or discarded, newest first. With `status=failed` it lists the changes a confirm could not apply, each with its error, until they are deleted (7 days, 30 for a failed create). A confirmed change is not listed; read it by id.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-staged-ad-changes \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "status": "staged",
    "limit": 50
  }
}'

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: list-staged-ad-changes.

Parameters

statusstring

Which changes to list.

staged · failed

Example: staged

accountIdstring

Only the changes of this connected account.

platformstring

Only the changes on this ad platform, as the change names it (for example `facebook` or `google`).

typestring

Only the changes of this type.

campaign_status · ad_set_status · ad_status · campaign_update · ad_set_update · ad_update · campaign_targeting · ad_create · campaign_create · ad_set_create · operation

createdBystring

Only the changes this user staged.

limitinteger

How many changes to return.

Example: 50

cursorstring

The `nextCursor` of the previous page, unchanged.

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.