ads_accounts_list
List the ad accounts reachable through the connected ads profiles (Meta Ads and Google Ads). Start here: other ads tools need an ad account id. Returns { total, page, per_page, data: [{ id, name, currency, status, platform, profile_id, billing_status, usable, unusable_reason, ... }] }. status is active, restricted, disabled or closed. An ads connection is its own profile and is connected from the Postproxy app, not through profile_groups_initialize_connection.
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": "ads_accounts_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | Refetch the ad account list from the network before answering. Needs profile_id. | |
| page | No | Page number, 1-based | |
| per_page | No | Page size (default 25, max 100) | |
| profile_id | No | Limit to one ads profile (hashid). Required with live. | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |