for my request:
https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&dateRange=(start:(day:1,month:9,year:2020),end:(day:1,month:9,year:2021))&timeGranularity=DAILY&pivot=SHARE&fields=externalWebsiteConversions,dateRange,impressions,landingPageClicks,likes,shares,costInLocalCurrency,pivot,pivotValue&companies=List(urn%3Ali%3Aorganization%3A<ORGANIZATION_ID>)
I get always empty return. What could it be? I do have all the required Permissions:
r_1st_connections_size, r_ads_reporting, r_basicprofile, r_emailaddress, r_liteprofile, r_organization_social, rw_ads, rw_organization_admin, w_member_social, w_organization_social
My goal is to get metrics as likes, impression for all my / organizations posts. I appreaciate any input, thanks a lot.
As return I get:
{
"paging": {
"start": 0,
"count": 10,
"links": []
},
"elements": []
}
Where for my shares:
https://api.linkedin.com/v2/shares?q=owners&owners=urn:li:company:<MY_ORGANIZATION_ID>
I get an empty paging but with the right total count:
{
"paging": {
"start": 0,
"count": 10,
"links": [
{
"type": "application/json",
"rel": "next",
"href": "/v2/shares?count=10&owners=urn%3Ali%3Acompany%3A<MY_ORGANIZATION_ID>&q=owners&start=0"
}
],
"total": 569
},
"elements": []
}
Of course I use the generated bearer token for the request for which I have the listed permissions when I check in the https://www.linkedin.com/developers/tools/oauth/token-inspector.
I'm looking forward to any input and help. Thanks a lot.