List ads
tg_list_adsLists advertisements for an account, newest first, with status, budgets, lifetime metrics, and optional targeting. Use the returned pagination cursor to fetch the next page.
Instructions
List advertisements for an account, newest first, with status, budgets and lifetime metrics. Use next_offset from the response to fetch the next page. Set include_targeting to receive targeting settings (larger response).
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": "tg_list_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | Pagination cursor from a previous response. | |
| account_id | No | ||
| include_targeting | No |