get_campaign_performance
Retrieve campaign performance metrics for a specified date range, including impressions, clicks, spend, CTR, conversions, and dwell time, to monitor and optimize LinkedIn ad campaigns.
Instructions
Retrieves performance metrics for campaigns within a specified date range. Returns key metrics like impressions, clicks, spend, CTR, conversions, audience penetration, and average dwell time. The primary tool for daily campaign monitoring and optimization decisions.
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>",
"startDate": "<startDate>"
},
"name": "get_campaign_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date in YYYY-MM-DD format. Default: today | |
| accountId | Yes | The LinkedIn Ad Account ID | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| campaignIds | No | Specific campaign IDs to filter. If omitted, returns all campaigns. | |
| timeGranularity | No | Time granularity for the data. Default: ALL | |
| campaignGroupIds | No | Filter by campaign group IDs |