ad_manager_li_get_ad_analytics
Retrieve ad performance metrics for specified date ranges and pivots. Use to analyze campaign, creative, or account-level data.
Instructions
Get ad analytics
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": {
"startDate": "<startDate>",
"endDate": "<endDate>"
},
"name": "ad_manager_li_get_ad_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pivot | No | Analytics pivot type | |
| fields | No | Comma-separated list of fields to retrieve | |
| endDate | Yes | End date in yyyy-mm-dd format | |
| groupBy | No | Time granularity for analytics | |
| startDate | Yes | Start date in yyyy-mm-dd format | |
| entityUrns | No | Comma-separated list of entity URNs | |
| locationId | No | Location ID Defaults to GHL_LOCATION_ID when omitted. |