I want to get dynamic tracking parameters associated with campaigns.
I have tried the api as per documentation https://api.linkedin.com/rest/adTrackingParameters/(adEntity:(sponsoredCampaign:urn%3Ali%3AsponsoredCampaign%3A166564776))
But I get below error.
"message": "Tracking Parameters resource does not exist for the ad entity provided: urn:li:sponsoredCampaign:166564776",
"status": 404
}
Related
I am currently trying to fetch all the available campaigns and ads.
Search for adCampaigns GET https://api.linkedin.com/v2/adCampaignsV2?q=search&search.test=false&count=10 returns empty "elements": [].
Querying for analytics: GET https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&dateRange.end.month=9&dateRange.start.day=1&dateRange.start.year=2021&dateRange.end.day=1&dateRange.end.year=2021&pivot=CAMPAIGN&dateRange.start.month=1&timeGranularity=DAILY&companies[0]=urn:li:organization:ORGID&fields=impressions again return empty "elements": [].
The OAuth token was generated by Super Admin user and the campaigns are managed by other Media company.
Thanks.
I'de like to get the last posts from my LinkedIn company page for add on my website.
I'm already created the app and generated the Access Token.
I didn't understand which endpoint I need to use, I tried this:
https://api.linkedin.com/v2/shares?q=owners&owners=urn:li:organization:MY_COMPANY_ID but I received the follow error:
"serviceErrorCode": 100,
"message": "Not enough permissions to access: GET-owners /shares",
"status": 403
Can somebody help me?
Thanks
Did You request Marketing Developer Platform in Linkedin? To get information about Your company You have to own this product. Login here:
https://www.linkedin.com/developers/
Create app and request Marketing Developer Platform in Products section
While using Share Api i got response as follows
{
"serviceErrorCode": 100,
"message": "Not enough permissions to access: POST /shares",
"status": 403
}
this is due to the fact that for the linkedin V2 API you need to become an linkedin partner. this can take up to a month befor you get a response.
Partnering with LinkedIn provides you with additional API functionality & data access, increased call limits & dedicated support. Read more about our various Partner Programs and use cases and see if one is a match for your app. Applications are only accepted when we feel that they're providing value to members, developers and LinkedIn.
for more information see this link :
https://developer.linkedin.com/partner-programs
I'm trying to post to a moderated LinkedIn group via their API but I only get a 403 answer back, with a reason phrase "Forbidden".
I can use the same code to post to profiles, company pages and even non-moderated groups, so why are moderated groups any different? There's nothing about it in the API docs and I can't find anything anywhere else.
The endpoint I'm using is this:
https://api.linkedin.com/v1/groups/[group_id]/posts?format=json&oauth2_access_token=[my_token]
Anyone has any idea what could be the problem and how I can post to the group? Or is it impossible to post to a moderated LinkedIn group via their API?
"Forbidden" means you are not allowed to access that URL, and it's not because of missing authentication. In other words, it's not going to work.
I am trying to create a new WebProperty or update an existing one in Google Analytics API.
The service account is added to the Google Analytics account with all permissions checked.
Response:
"errors": [
{
"domain": "global",
"reason": "insufficientPermissions",
"message": "Your project does not have access to this feature."
}
]
Apart from update and insert the rest of the management API is working.
What am I missing?
it's written in documentation:
Write operations in the Management API (e.g. create, update, delete,
patch) for Web Property, View (Profile), and Goal resources is
currently available as a developer preview in limited beta. If you're
interested in using these features, request access to the beta.
Update:
To request access fill out the form at Google Analytics Account Setup and Configuration APIs it can take a few weeks to get access. You should recieve an email from google when you get access.