GetOverallStatsByCampaign
## Gets the overall stats broken down per campaign for the specified filters.
Same filters as **GetOverallStats**, but the response is grouped by campaign: both `byDayStats` and `overallStats` return a list of per-campaign stat objects (each carrying `campaignId`, `campaignName` and `isCampaignDeleted`) instead of a single aggregated object.
- **Method:** `POST`
- **Content-Type:** `application/json`
---
## **Request Body**
- **accountIds**: Array of Ids of the LinkedIn senders. If empty - all the senders will be included.
- **campaignIds:** Array of the Ids of the campaigns to be included. If empty - all the campaigns will be included.
- **startDate:**
- **endDate:**
{
"accountIds": \[1234\],
"campaignIds": \[\],
"startDate": "2024-12-17T00:00:00.000Z",
"endDate": "2024-12-19T23:59:59.999Z"
}
Headers
X-API-KEY
Request
This endpoint expects an object.
accountIds
campaignIds
startDate
endDate
Response
OK
byDayStats
overallStats

