Get LinkedIn Ads account totals
get_ads_performanceFetch account-level LinkedIn Ads performance (spend, impressions, clicks, CTR, leads, demographics), so paid reach and cost can be set against what the team's personal profiles delivered organically. For per-ad detail use get_ad_performance_breakdown.
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": {
"profile": "<profile>"
},
"name": "get_ads_performance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profile | Yes | Profile name or sessionId from list_profiles (the ads connection). | |
| end_date | No | YYYY-MM-DD, defaults to today. | |
| start_date | No | YYYY-MM-DD, defaults to 30 days ago. | |
| campaign_ids | No | Optional campaign ids from list_ad_campaigns to scope the totals. | |
| ad_account_id | No | Ad account id or name (partial name ok) from list_ad_accounts. Omit to use the first ad account on the connection. |