Analytics

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"
}

post//api/public/stats/GetOverallStatsByCampaign

Request

  • Base URL: https://api
  • URL: https://api//api/public/stats/GetOverallStatsByCampaign
  • Auth: none declared

Headers

X-API-KEYstring

Request body

accountIdsinteger[] required
startDatestring date-time required
endDatestring date-time required

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.