get_analytics
Query raw LinkedIn Ads analytics with custom metrics, entity or demographic pivots, filters, and time granularity; large metric selections split and merge automatically.
Instructions
Query raw LinkedIn analytics with custom metrics, entity or demographic pivots, filters, and time granularity. Large metric selections are split and merged automatically.
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>",
"pivot": "<pivot>",
"startDate": "<startDate>"
},
"name": "get_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot | Yes | ||
| endDate | No | ||
| metrics | No | ||
| accountId | Yes | ||
| campaigns | No | ||
| creatives | No | ||
| startDate | Yes | ||
| campaignGroups | No | ||
| timeGranularity | No |