ads_campaigns_list
List ad campaigns across ad accounts, including ones created outside Postproxy (source: platform). Returns { total, page, per_page, data } from the last background sync (hourly for accounts with live ads). Each row is an ad object with kind campaign. For campaigns with their ad sets and ads nested, use ads_tree.
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_campaigns_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO 8601. Created on the network at or before this time. No effect on Google Ads. | |
| from | No | ISO 8601. Created on the network at or after this time. No effect on Google Ads. | |
| page | No | Page number, 1-based (default 1) | |
| sort | No | Default newest | |
| search | No | Name contains this text, or exact network id | |
| source | No | all (default) or postproxy (created through Postproxy only) | |
| status | No | Only objects in one of these statuses | |
| post_id | No | Only ads boosting this Postproxy post (post hashid) | |
| per_page | No | Page size (default 25, max 100) | |
| platform | No | Ad network: meta_ads or google_ads | |
| profile_id | No | Only objects of this ads profile (hashid) | |
| platform_id | No | The object with this network id | |
| ad_account_id | No | Only objects of this ad account (network id from ads_accounts_list) | |
| profile_group_id | No | Profile group hashid, to scope the call to one profile group. Usually not needed. |