# Run LinkedIn Ads from your terminal.

Adwarp is a free, open-source MCP server and CLI for LinkedIn Ads. Ask in Claude, Codex or Cursor to size audiences, draft campaigns and pull reports, and nothing spends until you turn it on.

```text
$ claude
> Draft a LinkedIn campaign for VPs of RevOps at US software companies, 50 USD a day.
adwarp.search_targeting titles "revenue operations": 4 matches
adwarp.estimate_audience titles + VP + US + software: 2,140 members
adwarp.create_campaign group "RevOps VP Q4", 50 USD/day: DRAFT
adwarp.create_text_ad 3 variants: DRAFT
Drafted 1 campaign group, 1 ad group and 3 ads for 2,140 people.
Nothing is live until you say so.
```

## What it does on LinkedIn.

Each job has its own page, with the tools behind it.

- [Audiences](https://adwarp.dev/linkedin-ads/audiences): How many VPs of RevOps can we reach in the US?
- [Campaigns](https://adwarp.dev/linkedin-ads/campaigns): Launch 1 ad group per persona for each competitor.
- [Ad Library](https://adwarp.dev/linkedin-ads/ad-library): What ads is our biggest competitor running?
- [Reporting](https://adwarp.dev/linkedin-ads/reporting): How did retargeting do last month vs the month before?
- [Optimization](https://adwarp.dev/linkedin-ads/optimization): Which ads should I pause this week?
- [Retargeting](https://adwarp.dev/linkedin-ads/retargeting): Swap fresh creative into the retargeting campaign.
- [Account-based ads](https://adwarp.dev/linkedin-ads/abm): How are my ABM ads doing?
- [Salesforce audiences](https://adwarp.dev/integrations/salesforce): Build an audience from our closed-lost deals.
- [HubSpot audiences](https://adwarp.dev/integrations/hubspot): Build an audience from our HubSpot list of open deals.

## Why it gets better results.

### More variants tested

Launching an ad group is 1 line instead of 20 clicks, so more audiences and messages get tried.

### Audiences sized first

Every audience is checked against LinkedIn's 300-member floor before a budget touches it.

### Faster reads

Performance is 1 question away, so a weak ad gets caught in days instead of at month end.

### A record of what worked

Every change is journaled, so you keep the changes that moved results and drop the rest.

## Get started.

1. Create your LinkedIn app. A free developer app with the Advertising API. Approval usually takes a day or 2.
2. Sign in from your terminal. Run npx adwarp auth login and approve access in your browser.
3. Add it to your agent. Pick Claude Code, Codex, Cursor or the CLI and copy 1 command.

## Pick where you run it.

The same 28 LinkedIn tools in Claude, Codex and Cursor, or straight from the CLI.

- [Claude](https://adwarp.dev/linkedin-ads/claude): Claude Code and Claude Desktop
- [ChatGPT](https://adwarp.dev/linkedin-ads/chatgpt) (coming soon): ChatGPT on the web and desktop
- [Codex](https://adwarp.dev/linkedin-ads/codex): OpenAI Codex CLI
- [Cursor](https://adwarp.dev/linkedin-ads/cursor): Cursor agent
- [CLI](https://adwarp.dev/linkedin-ads/cli): npx adwarp, scripts and cron

## Questions, answered.

### Is there an official LinkedIn Ads MCP server?

No. LinkedIn doesn't offer one. Adwarp is independent and open source, and it uses LinkedIn's documented Marketing API through a developer app you create.

### Do I need LinkedIn's Advertising API access?

Yes. You create a free developer app and request the Advertising API product. Approval usually takes a day or 2.

### Should I use the MCP server or the CLI?

Use the MCP server when you want to ask in plain words inside Claude, Codex or Cursor, and the CLI for scripts and scheduled runs. They share the same code and the same change journal.

### Can it spend money on its own?

No. Everything starts as a draft, and a campaign only goes live when you explicitly ask for it or switch it on in Campaign Manager.

### Which ad formats does it support?

Text ads and single-image ads today. The format is set when the ad group is created.

### How do LinkedIn's names compare with other ad platforms?

They sit 1 level off, which trips up everyone the first time: a LinkedIn campaign group is what other platforms call a campaign, and a LinkedIn campaign is their ad group.

| Other platforms | LinkedIn | What it holds |
| --- | --- | --- |
| Campaign | Campaign group | Status and the total budget |
| Ad group | Campaign | Targeting, budget, bid, schedule and format |
| Ad | Creative | The ad people see |
| Audience | Matched audience | A contact or company list you upload |

Unofficial. Not affiliated with or endorsed by LinkedIn or Google.

Canonical page: https://adwarp.dev/linkedin-ads
Last updated: 2026-10-18
