Get campaign structure
Ask Claude or ChatGPT in plain words:
Show me how my Meta ad account is laid out: campaigns, ad sets and ads.
Paid planNeeds a paid plan, from Starter at $39 a month.See plans
For developers
zernioAnalytics__treeRead-onlyReads data and changes nothing. OAuth permission: Read your account (mcp:read).
Inputs
connectionIdstringrequiredadAccountIdstringoptionalfromDatestringoptionaltoDatestringoptionalstatusstringoptionalOne of:
activepausedpending_reviewrejectedcompletedcancellederrorsortstringoptionalOne of:
newestoldestspend_descspend_ascpagenumberoptionallimitnumberoptional
The same inputs as POST /api/v1/zernioAnalytics.tree in the REST API.
What the server tells your AI
Get the campaign → ad-set → ad hierarchy for an ad account.