Skip to content
Last updated

LinkedIn Ads integration

LinkedIn Ads is a digital advertising platform that enables businesses to reach professionals on LinkedIn. Integrating it with Frontegg gives your application access to advertising account data, campaign performance reporting, and ad management capabilities using LinkedIn's OAuth 2.0 API.


Prerequisites

  • A LinkedIn account
  • Admin access to a LinkedIn Company Page (required for app verification)
  • Access to the LinkedIn Developer Portal

Connect LinkedIn Ads

Step 1: Open the LinkedIn Developer Portal

Navigate to developer.linkedin.com and click My apps in the top navigation bar.

LinkedIn Developer Portal

Step 2: Go to My apps

On the My apps page, click Create app.

LinkedIn My apps page

Step 3: Fill in the app details

Fill in the following fields:

  • App name: Enter a name for your app (for example, Frontegg Integration).
  • LinkedIn Page: Search for and select your company's LinkedIn Page.
  • Privacy policy URL: Enter your app's privacy policy URL.
  • App logo: Upload a square logo image (at least 100×100 px).

Check the I have read and agree to these terms checkbox, then click Create app.

LinkedIn create app form

Step 4: Copy your credentials

Your Client ID and Client Secret are issued immediately after app creation, before any product approval is required.

Open the Auth tab. In the Application credentials section:

  • Client ID: copy the value from the Client ID field.
  • Client Secret: click Show to reveal the Primary Client Secret, then click Copy.

Keep your credentials secure

Store the Client Secret immediately after copying it. Never share or commit it to version control.

LinkedIn application credentials

Step 5: Add the redirect URI

In the Auth tab, scroll to OAuth 2.0 settings and click the pencil icon next to Authorized redirect URLs for your app. Click Add redirect URL and enter:

  • https://YOUR_MCP_GATEWAY_URL/integration-callback

Click Update to save.

LinkedIn redirect URI configuration

Step 6: Open the Products tab

Click the Products tab. Under Available products, locate Advertising API.

LinkedIn app Products tab

Step 7: Note the verification requirement

The Advertising API requires your app to be verified as associated with your company page before you can request access. Hovering over Request access shows a tooltip confirming this requirement.

LinkedIn Advertising API verification requirement

Step 8: Verify your company

Open the Settings tab. In the LinkedIn Page section, click Verify next to your company page.

LinkedIn Settings tab with Verify button

Step 9: Generate a verification URL

In the Verify company dialog, click Generate URL. Copy the generated URL and send it to a Page Admin of your company. The admin must open the URL and approve the association. The link is valid for 30 days.

Once the Page Admin approves the association, return to the Products tab.

LinkedIn Verify company dialog

Step 10: Request access to the Advertising API

After company verification is complete, return to the Products tab. Under Available products, click Request access next to Advertising API.

LinkedIn opens an application form. Describe your integration use case and submit the form.

Application review

LinkedIn reviews all Advertising API access requests manually. Review typically takes several business days. LinkedIn sends an email notification when a decision is made. Your credentials are already issued (Step 4), but the ads scopes are only activated after approval.

Step 11: Confirm Advertising API is added

Once LinkedIn approves your request, the Advertising API moves from Available products to Added products on the Products tab.

LinkedIn Advertising API added

Step 12: Confirm the granted scopes

After approval, the following scopes become active in the OAuth 2.0 scopes section of the Auth tab:

ScopeDescription
r_adsRetrieve your advertising accounts
r_ads_reportingRetrieve reporting for your advertising accounts
rw_adsManage your advertising accounts

LinkedIn OAuth scopes

Configure the Frontegg portal

Once you have your Client ID and Client Secret and the Advertising API access has been approved, configure the integration in the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT]IntegrationsLinkedIn Ads.
  2. Enter the Client ID and Client Secret in the corresponding fields.
  3. Select the required scopes.
  4. Click Save.

Additional resources