Skip to content

How to obtain the Access Token for Linkedin Ads Source

To connect to LinkedIn Ads through the API, you need to create an app, request access to the API, and generate a refresh token. Follow the steps below to complete the process.

Visit the LinkedIn Developer portal.

Click the Create App button.

LinkedIn creating app

Enter your App Name and paste the link to your company’s LinkedIn page into the LinkedIn Page field.

LinkedIn app name

Upload your app logo, check the box to accept the legal agreement, and click the Create App button.

LinkedIn app creating

Go to the Settings tab and click the Verify button. Share the link with the administrator of your LinkedIn company page. The administrator must verify the app to grant it access to company data.

LinkedIn app verifying

LinkedIn verifying

Please, ensure that the app is verified:

LinkedIn verified

Once your app is verified, navigate to the Products tab and request access to the necessary APIs.

If you need access to advertising data: to retrieve campaign performance, audience insights, ad creatives, and other paid media metrics, request access to the Advertising API.

LinkedIn app request

⏳ Approval may take up to 24 hours. You will receive a confirmation email once your request is approved.

LinkedIn request accepted

When access is granted, the Advertising API will appear under the Added Products section on the Products page.

LinkedIn Adv API added

Navigate to the Auth tab of your LinkedIn app.

Copy the Client ID and Client Secret, you will need it later.

LinkedIn Ads Credentials

Click OAuth 2.0 tools on the right-hand side of the page.

LinkedIn OAuth

Click the Create token button to begin the authorization process.

LinkedIn Token


If you see the following error message:
“There aren’t any scopes available for this app. Select another app or visit your app’s product settings to request API access,“
make sure you’ve requested and received approval for the necessary APIs in Step 3.

LinkedIn Scopes Error


Select the required scopes for advertising data access:

  • r_ads
  • r_ads_reporting

LinkedIn Scopes

After selecting the appropriate scopes, click Request access token.

LinkedIn Request token

On the next screen, click Allow to authorize the app.

LinkedIn Allow access

After the token is generated, copy and securely store your Refresh Token.

⚠️ Important:
Make sure you are copying the Refresh Token, not the Access Token.
The Refresh Token is located at the bottom of the page.

LinkedIn Copy token

You can now use this token as described in the Getting Started guide to connect to LinkedIn Ads data source.

If you encounter any issues:

  1. Please visit Q&A first
  2. If you want to report a bug, please open an issue
  3. Join the discussion forum to ask questions or propose improvements