> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up LinkedIn Ads in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/linkedin-ads
Last updated: 2026-11-24

Share LinkedIn Ads with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 21 tools (13 read-only).

---

To give your team LinkedIn Ads in Claude, ChatGPT, Cursor and other AI clients, an admin shares the LinkedIn Ads integration in a Metorial portal, and each person signs in to LinkedIn Ads with their own account. Agents can discover authorized LinkedIn ad accounts, manage campaign groups, campaigns and creatives, query advertising performance, submit conversion events and retrieve sponsored lead forms and submissions. The integration has 21 tools, 13 read-only and 8 write, plus 3 triggers.

**What you will learn**

- How an admin shares LinkedIn Ads in a portal and how each person connects
- The 16 OAuth scopes LinkedIn Ads can request, and what each one allows
- How to keep the 13 read-only tools and reject the other 8

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with LinkedIn Ads for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **LinkedIn Advertising** (default) | OAuth | Signs in to LinkedIn Ads |

Also available: **LinkedIn Lead Sync**, **LinkedIn Advertising Read Only**, **LinkedIn Advertising and Conversions**.

The portal and `metorial setup` use **LinkedIn Advertising** unless someone picks another method.

### LinkedIn Advertising

People sign in to LinkedIn Ads and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `r_ads` | Read Ads | Retrieve advertising accounts and their data |
| `r_ads_reporting` | Read Ads Reporting | Retrieve reporting data for advertising accounts |
| `rw_ads` | Read/Write Ads | Manage and read an authenticated member's ad accounts |
| `r_basicprofile` | Read Basic Profile | Access basic profile information (name, photo, headline) |
| `r_organization_admin` | Read Organization Admin | Retrieve organization pages and reporting data |
| `r_organization_social` | Read Organization Social | Retrieve organization posts and engagement data |
| `rw_organization_admin` | Read/Write Organization Admin | Manage organization pages and retrieve reporting data |
| `w_member_social` | Write Member Social | Post, comment, and like posts on the member's behalf |
| `w_organization_social` | Write Organization Social | Post, comment, and like posts on the organization's behalf |
| `r_1st_connections_size` | Read 1st Connections Size | Retrieve the number of 1st-degree connections |
| `rw_dmp_segments` | Read/Write DMP Segments | Manage matched audiences and DMP segments (requires separate approval) |
| `rw_conversions` | Read/Write Conversions | Manage conversion rules and send conversion events (requires separate approval) |
| `r_marketing_leadgen_automation` | Read Marketing Lead Gen Automation | Access Lead Sync API for lead gen form submissions (requires separate approval) |
| `openid` | OpenID | OpenID Connect for user profile access |
| `profile` | Profile | Access user profile information |
| `email` | Email | Access user email address |

## Use your own LinkedIn Ads OAuth app

With your own OAuth app, people see your company's name on the LinkedIn Ads consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose LinkedIn Ads and copy the **Redirect URI**.

2. **Register the app with LinkedIn Ads**

   Create an OAuth app or client in LinkedIn Ads and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the LinkedIn Ads integration.

## Admin: share LinkedIn Ads in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose LinkedIn Ads. Under **Auth Method**, keep **LinkedIn Advertising** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to LinkedIn Ads as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from LinkedIn Ads.

4. **Choose who gets it**

   Add the access groups that should see LinkedIn Ads. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user LinkedIn Ads integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "linkedin ads"
```

## Employee: connect LinkedIn Ads

### In the portal

1. **Open LinkedIn Ads in the catalog**

   Sign in to your portal and open LinkedIn Ads. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. A LinkedIn Ads sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "linkedin ads"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **LinkedIn Advertising**. To connect with **LinkedIn Lead Sync** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your LinkedIn Ads connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "linkedin ads"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 13 read-only tools, such as `get_campaign` and `get_creative`, and lose the 8 write tools, such as `create_campaign` or `create_creative`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "linkedin ads"
metorial tools <integration-id>
metorial call <integration-id> list_ad_accounts -d '{}'
```

`metorial tools` lists the 21 tools, minus any you rejected. `list_ad_accounts` takes no input. It lists LinkedIn advertising accounts accessible to the authenticated user.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (13)

- `list_lead_forms`: List LinkedIn Lead Gen Forms for an ad account. Needs `accountId`.
- `list_conversion_rules`: List conversion rules configured for a LinkedIn ad account. Needs `accountId`.
- `get_ad_analytics`: Retrieve advertising performance analytics from LinkedIn. Needs `pivot`, `startDate` and `endDate`.
- `list_ad_accounts`: List LinkedIn advertising accounts accessible to the authenticated user.
- `list_creatives`: List ad creatives for a specific LinkedIn campaign. Needs `campaignId`.
- `get_ad_account`: Retrieve detailed information about a specific LinkedIn ad account by its ID, including status, budget, currency, and notification settings. Needs `accountId`.
- `get_campaign`: Retrieve detailed information about a specific LinkedIn campaign including its configuration, targeting, budget, and status. Needs `campaignId`.
- `list_campaigns`: List advertising campaigns within a LinkedIn ad account. Needs `accountId`.
- `get_lead_form_responses`: Retrieve submissions/responses for LinkedIn Lead Gen Forms.
- `list_campaign_groups`: List campaign groups for a LinkedIn ad account. Needs `accountId`.
- `get_campaign_group`: Retrieve one campaign group in an authorized ad account.
- `get_current_user`: Read the connected LinkedIn member identity using OpenID Connect.
- `get_creative`: Retrieve one creative in an authorized ad account.

### Write tools (8)

- `create_campaign_group`: Create a new campaign group in a LinkedIn ad account. Needs `accountId`, `name` and `status`.
- `send_conversion_events`: Send conversion events to LinkedIn's Conversions API (CAPI). Needs `events`.
- `create_creative`: Create a new ad creative for a LinkedIn campaign. Needs `campaignId` and `content`.
- `create_campaign`: Create a new LinkedIn advertising campaign. Needs `accountId`, `campaignGroupId`, `name`, `objectiveType`, `type` and `costType`.
- `update_campaign`: Update an existing LinkedIn campaign's configuration, including status, name, budget, schedule, bid amount, and targeting. Needs `campaignId`.
- `update_creative`: Update an existing ad creative's status or name. Needs `creativeId`.
- `create_conversion_rule`: Create a new conversion rule for a LinkedIn ad account. Needs `accountId`, `name` and `type`.
- `update_campaign_group`: Update an existing campaign group's name, status, budget, or schedule. Needs `campaignGroupId`.

## Triggers

LinkedIn Ads has 3 triggers, which fire on events in LinkedIn Ads:

- `inbound_webhook`
- `campaign_status_changes`: Triggers when campaigns in an ad account change status (e.g., become active, paused, or encounter serving issues).
- `lead_form_submissions`: Triggers when new lead form submissions are received on LinkedIn Lead Gen Forms.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use LinkedIn Ads there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [LinkedIn Ads on metorial.com](https://metorial.com/integrations/linkedin-ads): the integration overview