PeumeAPI

Ads

A/B tests and lift studies

Lists the A/B tests and lift studies on a Meta ad account, with their timing and test groups.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/a-b-tests-and-lift-studies \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "accountId": "your accountId",
    "adAccountId": "your adAccountId",
    "fields": "id,name,type,cells{id,name,treatment_percentage}",
    "limit": 25
  }
}'

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: a-b-tests-and-lift-studies.

Parameters

accountIdRequiredstring

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

adAccountIdRequiredstring

Meta ad account id (act_<n>).

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,name,type,cells{id,name,treatment_percentage}

limitinteger

Rows per page

Example: 25

afterstring

Cursor from paging.after of the previous page.

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.