List Ad Campaigns
postly_list_ad_campaignsLists the native campaigns in a connected ad account with their status, budget, and dates. Pass next as cursor to load more. 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>",
"provider": "<provider>",
"account_id": "<account_id>"
},
"name": "postly_list_ad_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | ||
| provider | Yes | Ads network from postly_list_ad_accounts, such as google or meta. | |
| account_id | Yes | Native ad account ID from postly_list_ad_accounts. | |
| workspace_id | Yes | Postly workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | ||
| data | No | ||
| message | No |