List Ad Accounts
postly_list_ad_accountsLists the paid ads networks and ad accounts connected to a Postly workspace, such as Google Ads and Meta Ads, with each account ID, name, currency, and whether it is selected for reporting. Use provider:account_id as the account key for other ads tools. Requires ads.read.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>"
},
"name": "postly_list_ad_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | Postly workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| message | No |