PeumeAPI

Ads

Get live ad-set details

Shows a Meta ad set's current settings straight from Meta, including its learning phase, budget, schedule and targeting.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/get-live-ad-set-details \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "fields": "id,status,ads.limit(100){id,name,status,issues_info}",
    "adSetId": "your adSetId"
  }
}'

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: get-live-ad-set-details.

Parameters

accountIdRequiredstring

SocialAccount id (posting or ads variant) used to resolve the Meta token.

fieldsstring

Comma-separated Graph field override. Supports nested {} projections and Graph field modifiers, so a nested edge can be paged explicitly: without a.limit modifier the expansion runs at the Meta default page size and the tail is dropped silently.

Example: id,status,ads.limit(100){id,name,status,issues_info}

adSetIdRequiredstring

Meta ad set id (platformAdSetId).

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.