# LinkedIn Ads MCP server

On LinkedIn Ads, an agent on PubNio's hosted MCP server runs 7 of the 12 ad operation kinds. `campaign.activate` is human-only and comes back with a link to the web app; `campaign.archive`, `ad.status`, `budget.update` and `boost.create` are not supported on LinkedIn.

## What PubNio supports from an agent on LinkedIn

```text
search   ads.listAccounts, ads.listInsights
execute  ads.listAccounts, keep provider "linkedin_ads"
execute  ads.listInsights: rank, report, change nothing
```

Asked which creatives drove form leads, the agent calls `ads.listInsights` with `level: ad` over the quarter. Every row is one LinkedIn creative, so sorting the rows by `metrics.oneClickLeads` ranks the creatives, and the agent changes nothing.

The writes an agent can run here are `ads.createCampaignPlan`, `ads.createCreative`, `ads.createAdGroup`, `ads.attachAd`, `ads.duplicateCampaign`, `ads.pauseCampaign` and `ads.setAdGroupStatus`.

## Spend controls

- An agent can pause, archive, and turn on the kill switch; a person resumes spend and clears it in the console.

## Connect your agent

```sh
claude mcp add --transport http pubnio https://pubnio.com/mcp
```

## Limits

- What an agent creates stays inert: a create leaves `status: PAUSED` on the LinkedIn campaign, which sits in a campaign group created as a `DRAFT`; the creative goes to LinkedIn review.
- This page shows no campaign create because the adapter builds the campaign group and campaign from the plan's name, objective, and budget alone, and passes `targeting` and `locale` through only from `providerSettings`; nothing in PubNio shows LinkedIn accepts a campaign without them, so no page documents it.

## Related

- [LinkedIn Ads through PubNio](https://pubnio.com/ads/linkedin-ads)
- [All ad providers](https://pubnio.com/ads)
- API reference: [ads.listInsights](https://pubnio.com/docs/reference/ads-list-insights/)

