LinkedIn API: Sudden Permission errors for adCampaignsV2 - linkedin

We (my work) have been fetching campaign analytics for our Live campaigns through the LinkedIn API for over a year.
Suddenly since mid-October we are getting Permissions errors. We have seemingly all the required permissions including r_ads, r_ads_reporting but still getting errors.
Nothing has changed that I can see. We have an up to date token since today.
We have: Marketing Developer Platform • Development tier
Errors include:
Not enough permissions to access: GET-statuses /adCampaignsV2
Not enough permissions to access: GET-analytics /adAnalyticsV2

Related

Getting access to r_basicprofile when I already have permission on LinkedIn api v2

After numerous exchanges with LinkedIn "Experts" none of them was able to help and do anything but copy paste the FAQ.
I'm preparing a client's platform for the v2 migration and encountered major problems for getting user data.
I currently have access to many fields including the r_basicprofile as can be seen in my app's auth tab:
However upon requesting the endpoint
/me I get the following error:
Not enough permissions to access: GET /me
I have also searched the new API documentation and there is no mention on how to request access to the r_basicprofile same on the FAQ the only link I could find was this one:
https://developer.linkedin.com/partner-programs
However it doesn't specify which one gives access to r_basicprofile
Our app is aimed at professionals and we require access to more info than just first, last name and email. Currently we work with positions, headlines and more.
How can I get access to the r_basicprofile and specifically the following fields:
'headline','summary','positions','specialties','location','industry','current-share','num-connections','num-connections-capped',

LinkedIn Sign In API recently intermittently failing

I'm having intermittent issues with signing in to LinkedIn with the LinkedIn Sign In API.
By intermittent I mean, I have two LinkedIn accounts, and as of this week one of them is unable to use the API to sign in to external services, such as the LinkedIn application I develop.
I'm authenticating via Auth0, whose engineers have confirmed there is an issue:
Over the last few weeks, the current version of the LinkedIn API for
sign-in has been intermittently failing when fetching the user
profile, causing a small number of users to fail to log in. The cause
of this issue is currently unknown, and is coming from LinkedIn
directly.
https://community.auth0.com/t/linkedin-connection-deprecated/20484/18
The Auth0 response i'm getting is the following (I've replaced senstivie response values with 'XX'):
{"name":"a0.response.invalid","message":"unknown error","json":{"error":"invalid_request","error_description":"InternalOAuthError: failed to fetch user profile (status: 500 data: {\n \"errorCode\": 0,\n \"message\": \"Internal API server error\",\n \"requestId\": \"XX\",\n \"status\": 500,\n \"timestamp\": 1550474289966\n})","state":"XX"},"status":0}
I know this API is being depreciated in March, but it's imperative that this API continues to work until the decommission date. I'm wondering if anyone has found a work around or solution to this issue, as it's impacting my ability to run real-world trials of my application scheduled in this week.
I've contacted LinkedIn support who directed me here.
Auth0 recently released a change to LinkedIn social connection, allowing you to use the new LinkedIn API (Version 2). You can change this by going to Connections-->Social-->LinkedIn-->Strategy Version dropdown and select Version 2. This should fix most of the login issues with the old deprecated version of LinkedIn API. More information post.

How can I change a LinkedIn app's permissions?

I have a LinkedIn app which can access the LinkedIn v2 API (tested with v2 endpoints), having the following privileges (scopes) according to the LinkedIn Developer Portal:
r_ad_campaigns
r_basicprofile
rw_organization.
The application is already enrolled in the Marketing Partner Program as far as my knowledge goes.
Regarding the above, I would like to have two questions/requests in which I would like to ask for your help.
I would like to modify the app permissions (scopes) to be the following:
r_liteprofile
r_emailaddress
r_member_social
w_member_social
rw_organization_admin
w_organization_social
r_organization_social
r_organization_lookup
rw_ads
r_ads_reporting
Currently there is no way to do so via the developer platform, and the LinkedIn support sent me here, so my question is: how can I get the app's privileges changed?
Interestingly enough, with the current set of privileges I was able to get an auth token for a given user for the r_emailaddress scope, but when I tried to call either https://api.linkedin.com/v2/clientAwareMemberHandles?q=members&projection=(elements*(primary,type,handle~)) or https://api.linkedin.com/v2/emailAddress?q=members&projection=(elements*(handle~)) I have received 403 Forbidden response, presumably due to the missing permission in question 1. Even if so, the token shouldn't have been issued in this case if I am not mistaken.
Could you please confirm if this is expected, or if something else is in play here?
I'm pretty certain it's that you must apply to the Marketing Partner Program.
I'm having the same issue as well, and I just applied to the program. Currently awaiting approval, but will confirm/edit answer once I get confirmation.
LinkedIn has made a lot of changed to their API over the past few months. Check out the latest permission changes relevant to this post:
https://learn.microsoft.com/en-us/linkedin/shared/references/migrations/marketing-permissions-migration
EDIT: Confirmed. I didn't receive a notification that I was approved, however, it's 30 days later after applying and I just noticed there was a new product available under "Products" once you are logged in and on your App in the developer portal. You have to add the "Marketing Developer Platform" product, and once again fill out an application:
After completing, they say they will provide you with confirmation within 90 days.

adword test account campaign performance, stuck with developer token, where to find?

i have test account for google adword
i got source code from provided by google adwords
but it stuck with me below error
[QuotaCheckError.INVALID_TOKEN_HEADER # ; trigger:'INSERT_YOUR_DEVELOPER_TOKEN_HERE']
while i am searching for developer token then
Google Adword Account > Account Setting > AdWords Api Center
in document they are asking for
bur in test account no such a thing like AdWords Api
now for campaign performance may i able to get with test account or i have to spend money to it?
Thanks,
Jimmy Darji
Use the developer token from the production account (even if it’s not approved yet)
Use the developer token of your production manager account when making requests against the test manager account. Even if it’s not approved yet, the token will still work on test accounts, including the ones you just created.
reference here

We need rw_nus and r_network scope permissions again, is it even possible

Our site is using rw_nus and r_network permissions from Linkedin to work properly. We were fetching feeds from Linkedin and were able to post comments and likes. But now we are getting following error:
error=invalid_scope&error_description=Your+application+has+not+been+authorized+for+the+scope+%22r_fullprofile%22r_network%22rw_nus
We found the following link that says:
Linkedin deprecating rw_nus from API
Is it now even possible to get these permissions once again or its over now? If yes, then how to get approval for them?
Deprecation of rw_nus permission:
The rw_nus member permission will be deprecated as of May 12, 2015 Linkedin API changes. Going forward, if your application shares content on behalf of a LinkedIn member, your application will require the w_share member permission to be granted.
The new w_share permission will grant you the permission to share content on LinkedIn as you could previously, however you will no longer be able to read shared content from a user's LinkedIn feed using the API.
So, if you were using the following link to request an Authorization code
https://www.linkedin.com/uas/oauth2/authorization?scope=rw_nus
Now, you’ll have to ue –
https://www.linkedin.com/uas/oauth2/authorization?scope=w_share
How to fix invalid scope authorization error:
To correct this issue, ensure that the scope parameter in your authorization workflow is no longer requesting any of the following member permissions:
r_fullprofile, r_network, r_contactinfo, rw_nus, rw_groups, w_messages
For access to these permissions, you will have to apply to become a member of a relevant Partner Program that provides the necessary API access to the required endpoints.
So apply for partner status with LinkedIn, explaining what your integration is and how it works. If it meets the criteria of "we feel that they’re providing value to members, developers and LinkedIn," then one or more endpoints will remain open for that app, and ONLY that app.
For further details, check this link.

Resources