Admin MCP — Marketing

Sorted, capped and projected cut by account/campaign/adset/creative/concept/country

get/admin/mcp/marketing/rows

Query parameters

presetstring
Example:last_7d

Named window, ends yesterday. One of: yesterday, last_7d, last_14d, last_28d, last_30d, last_90d, this_month, last_month, lifetime

fromstring

UTC yyyy-MM-dd

tostring

UTC yyyy-MM-dd

groupBystring
Example:concept

CSV of dimensions to group by: account, campaign, adset, creative, concept, country

expandBystring

Second grouping level nested under each row

countrystring

ISO-3166 alpha-2 filter

metricsstring
Example:scan

Metric preset (scan/delivery/fb/ledger/video/all) or CSV of metric names

sortstring

Metric to sort by

orderstring

asc | desc

limitnumber

Rows returned (max 200)

offsetnumber
minSpendnumber

Drop rows below this spend

searchstring

Case-insensitive substring match on the row label

includeEmptyboolean

Include buckets carrying only web users

Headers

x-mcp-api-keystring required

Scoped read-only marketing key (env MCP_MARKETING_API_KEY; the master MCP_API_KEY also works)

Changes

No recorded changes to this endpoint across all 1 revision of this API.