PeumeAPI

Ads

List ads

Lists your ads with their performance over a date range, including ads created directly in each platform's ads manager.

$0.002 per callRuns on an account you connect

Call it

curl https://api.peume.com/v1/call/list-ads \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "page": 1,
    "limit": 50,
    "source": "all",
    "view": "full"
  }
}'

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-ads.

Parameters

pageinteger

Page number (1-based)

Example: 1

limitinteger

Example: 50

sourcestring

all (default) = -created + platform-discovered ads. = restrict to -created only.

peume · all

Example: all

statusstring
platformstring

facebook · instagram · tiktok · linkedin · pinterest · google · twitter · openai · reddit · microsoft · amazon · tradedesk …

accountIdstring

Account ID

adAccountIdstring

Platform ad account ID (e.g. act_123 for Meta). Mirrors the same filter on /v1/ads/campaigns and /v1/ads/tree.

pageIdstring

Meta only: Facebook Page ID. Returns only ads whose creative is backed by this Page (a Meta ad account serves ads for every Page in the Business Manager). Matches each ad's `creative.pageId`; ads with no page signal (rare IG-only creatives) never match. Mirrors the same filter on /v1/ads/campaigns and /v1/ads/tree.

campaignIdstring

Platform campaign ID (filter ads within a campaign)

adSetIdstring

Platform ad set ID (filter ads within an ad set, the /{adset_id}/ads read of an adset-centric dashboard).

platformAdIdstring

Meta ad ID. Returns the ad with this platform-side ad ID.

effectiveObjectStoryIdstring

Facebook `{pageId}_{postId}` of the post the ad's engagement lives on (Meta `effective_object_story_id`). Use to map a Business-Manager-visible post back to the ad.

effectiveInstagramMediaIdstring

Instagram media ID of the boosted post (Meta `effective_instagram_media_id`). Use to map a Business-Manager-visible IG post back to the ad. For a boosted reel it can differ from the media ID you boosted (`platformPostId`), so filter by the ID shown on the ad, not the original reel ID.

fromDatestring

Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.

toDatestring

End of metrics date range (YYYY-MM-DD). Defaults to today. Max 730-day range.

viewstring

`full` (default) returns every field. `summary` is about 80% smaller per ad and keeps only: - `_id`, `name`, `platform`, `status`, `platformStatus`, `servingStatuses` (left out when empty), `configuredStatus`, `reviewStatus`, `rejectionReason`, `goal`. - The platform ids, `accountId`, `profileId`, `campaignName`, `adSetName`, `budget`, `currency`, `isExternal`, `creativeType`, `platformCreatedAt`, `createdAt`. - `postId` as the post id, not the expanded post. - `creative` with only `headline`, `body` (cut to 200 characters), `linkUrl`, `callToAction` and `effectiveObjectStoryId`. - `metrics`

full · summary

Example: full

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.