meta_list_ad_accounts
List Meta ad accounts accessible by your token, returning IDs, names, statuses, spend in cents, currencies, and business details. For system-user tokens, use the business ID endpoint to get owned ad accounts.
Instructions
[Meta] List ad accounts the token can access (id, name, status, spend, currency, business). NOTE: amount_spent is in the currency's MINOR unit (cents/pence) — divide by 100 for the real figure. (A SYSTEM-USER token returns [] here — use meta_graph on '/owned_ad_accounts' instead.) Start of an ads audit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "meta_list_ad_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||