get_daily_trends
Retrieve daily LinkedIn ad performance trends over a specified period to visualize patterns, spot anomalies, and understand day-of-week effects. Filter by account, dates, metrics, and campaigns.
Instructions
Retrieves daily performance trends over a specified period. Returns time-series data for visualizing performance patterns, identifying anomalies, and understanding day-of-week effects.
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_daily_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date in YYYY-MM-DD format. Default: today | |
| metrics | No | Metrics to include. Default: impressions, clicks, costInUsd, conversions | |
| accountId | Yes | The LinkedIn Ad Account ID | |
| startDate | Yes | Start date in YYYY-MM-DD format | |
| campaignIds | No | Filter by specific campaigns | |
| entityLevel | No | Level of aggregation. Default: ACCOUNT |