Linkedin share-statistics API : Discrepancies between individual share impressionCount and global Impressions count

Viewed 10

I ‘m trying to use the linkedin API to display 2 different statistics :

  1. the number of impressions for an organization over a period of time. To achieve this I use the following endpoint :
/organizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:${linkedinCompanyId}&timeIntervals.timeGranularityType=MONTH&timeIntervals.timeRange.start=${startMonth}&timeIntervals.timeRange.end=${endMonth}`
);

which to my understanding aggregate all share statistics over the period as per : https://docs.microsoft.com/en-us/linkedin/marketing/integrations/community-management/organizations/share-statistics?view=li-lms-2022-08&tabs=http#retrieve-time-bound-share-statistics

  1. the top 3 post (share) which generated the most impressions over the same period of time

For this one, it’s a 2 steps process :

(I omitted the paging portion, but I get all shares from the company)

My issue is that for some months, the numbers seem really off. For example in June I have :

  • number of impressions total : 1116
  • top3 of share by impressions: 169 / 130 / 10

This leads me to think I’m missing something about the API or the understanding of what is a share.

  • I’ve tried both uniqueImpressionsCount and impressionCount , discrepancies seem higher with uniqueImpressionsCount
  • I tried to change the granularity of the time interval from DAY to MONTH, assuming there might have been some error in my calculation. Didn’t seem to change anything.

If someone has some experience with this API, would appreciate any hints

0 Answers
Related