list_campaigns
List all LinkedIn ad campaigns for an account, including draft and paused campaigns with zero impressions. Filter by campaign group or status to refine results.
Instructions
Lists campaigns for a LinkedIn Ad Account. Unlike get_campaign_performance (which only returns campaigns with analytics data), this tool returns ALL campaigns including DRAFT and PAUSED campaigns with zero impressions. Supports filtering by campaign group and status.
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": {
"accountId": "<accountId>"
},
"name": "list_campaigns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Filter by campaign status. If omitted, returns all statuses. | |
| accountId | Yes | The LinkedIn Ad Account ID | |
| campaignGroupIds | No | Filter by campaign group IDs (numeric IDs) |