ghl_ad_fb_account_list
Retrieve Facebook ad accounts available to a connected user for a location, with optional account type filters and pagination to page through full result sets.
Instructions
Get ad accounts Retrieve Facebook ad accounts available for the connected user Endpoint: GET /ad-publishing/facebook/ad-accounts (Version header: v3; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.readonly Pagination params: limit — pass them to page through full result sets.
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": {
"locationId": "<locationId>"
},
"name": "ghl_ad_fb_account_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next | No | Pagination cursor | |
| type | No | Account source type | |
| limit | No | Results page limit | |
| fetchAll | No | Fetch all accounts | |
| locationId | Yes | Location identifier |