get_campaign_performance
Retrieve campaign performance metrics like impressions, clicks, spend, CTR, and conversions within a date range to monitor and optimize your LinkedIn ad campaigns daily.
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 | |
| metrics | No | Optional LinkedIn metric names. Missing standard metrics are not available in the response; use get_analytics for raw custom metrics. | |
| 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 |