Click metric error when calling API in Linkedin API

Long Vu 1 Reputation point
2022-05-06T08:29:33.987+00:00

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&campaigns1=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

Microsoft Advertising API
Microsoft Advertising API
A Microsoft API that provides programmatic access to Microsoft Advertising to manage large campaigns or to integrate your marketing with other in-house systems.
393 questions
0 comments No comments
{count} votes