Authorization

LinkedIn Ads
Prerequisites
Before creating a LinkedIn Ads credential, you'll need to create a LinkedIn app and obtain OAuth 2.0 credentials (Client ID and Client Secret) from LinkedIn's Developer Portal. LinkedIn Ads API uses OAuth 2.0 authentication with specific scopes for accessing advertising data.
To obtain LinkedIn Ads API credentials:
-
Log in to your LinkedIn account and navigate to the LinkedIn Developers Portal.
-
Click Create app to create a new LinkedIn app, or select an existing app if you already have one.
-
In your app settings, navigate to the Auth tab to configure OAuth 2.0 settings.
-
In the Redirect URLs section, add the redirect URL that will be used for OAuth authentication. This URL should match the redirect URI configured in your Nexla credential.
-
In the Products section, ensure that Marketing Developer Platform or LinkedIn Ads API is enabled for your app. This product provides access to LinkedIn Ads API endpoints.
-
Navigate to the Auth tab and locate your Client ID and Client Secret. These are your OAuth 2.0 credentials.
-
Copy the Client ID and Client Secret. Store them securely, as you'll need them to authenticate API requests.
-
Note the required OAuth scopes for LinkedIn Ads API access. The default scopes are
r_liteprofile,r_ads, andr_ads_reporting, which provide access to basic profile information, ad account data, and ad reporting data.
LinkedIn Ads API requires OAuth 2.0 authentication with specific scopes. Ensure that your LinkedIn app has the Marketing Developer Platform product enabled and that you have the necessary permissions to access advertising data. The OAuth flow will require user consent to access LinkedIn Ads data.
For detailed information about LinkedIn Ads API authentication and OAuth setup, refer to the LinkedIn Marketing Developer Platform Documentation.
Create a LinkedIn Ads Credential
- To create a new LinkedIn Ads credential, after selecting the data source/destination type, click the Add Credential tile to open the Add New Credential overlay.
New Credential Overlay – LinkedIn Ads

Credential Name & Description
-
Enter a name for the credential in the Credential Name field and a short, meaningful description in the Credential Description field.
Resource descriptions are recommended but are not required. They should be used provide information about the resource purpose, data freshness, etc. that can help the owner and other users efficiently understand and utilize the resource.
OAuth 2.0 Authentication
-
The LinkedIn Ads connector uses OAuth 2.0 authentication. When you click Authorize or Connect, you will be redirected to LinkedIn's authorization page to grant access to your LinkedIn Ads account.
-
Log in to your LinkedIn account and review the permissions being requested. Click Allow to grant access to your LinkedIn Ads data.
-
After authorization, you will be redirected back to Nexla, and your credential will be automatically configured with the OAuth tokens.
OAuth 2.0 tokens may expire after a certain period. Nexla will automatically refresh the tokens when needed using the refresh token. If you need to re-authorize, you can delete the existing credential and create a new one.
Save the Credential
-
Once all of the relevant steps in the above sections have been completed, click the Save button at the bottom of the overlay to save the configured credential.
-
The newly added credential will now appear in a tile on the Authenticate screen during data source/destination creation and can be selected for use with a new data source or destination.