question

LongVu-9913 avatar image
0 Votes"
LongVu-9913 asked

Click metric error when calling API in Linkedin API

I can get 3 clicks when I call the API with 2 campaigns at the same time but when I call the API separately for each campaign both the click metrics of the 2 campaigns are 0.

curl --location -g --request GET 'https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&pivot=MEMBER_JOB_FUNCTION&dateRange.start.day=14&dateRange.start.month=3&dateRange.start.year=2022&timeGranularity=DAILY&dateRange.end.day=14&dateRange.end.month=3&dateRange.end.year=2022&fields=pivot,pivotValue,dateRange,clicks,impressions,costInLocalCurrency,costInUsd,actionClicks,adUnitClicks,cardClicks,cardImpressions,commentLikes,comments,likes,companyPageClicks,follows,fullScreenPlays,landingPageClicks,opens,shares&campaigns[1]=urn:li:sponsoredCampaign:191205114' \
--header 'Authorization: Bearer xxx'
199553-screen-shot-2022-05-06-at-152417.png


![199467-screen-shot-2022-05-06-at-152353.png][3]


199480-screen-shot-2022-05-06-at-152220.png


[3]: /answers/storage/attachments/199513-screen-shot-2022-05-06-at-152353.png

advertising-api
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers