ghl_ad_li_reporting_get
Retrieve LinkedIn Ads analytics data with configurable pivots and time grouping to analyze campaign performance across accounts, campaigns, creatives, and date ranges.
Instructions
Get ad analytics Retrieve LinkedIn Ads analytics data with configurable pivot and time grouping Endpoint: GET /ad-publishing/linkedin/reporting (Version header: v3; source: v3/ad-publishing-v3.json) OAuth scopes: adPublishing.readonly
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": {
"locationId": "<locationId>",
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "ghl_ad_li_reporting_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot | No | Analytics pivot type | ACCOUNT |
| fields | No | Reporting fields. Pass as comma-separated values on the wire (e.g. ?fields=impressions,clicks). | |
| endDate | Yes | End date in yyyy-mm-dd format | |
| groupBy | No | Time granularity for analytics | day |
| startDate | Yes | Start date in yyyy-mm-dd format | |
| entityUrns | No | Comma-separated list of entity URNs | |
| locationId | Yes | Location ID |