Claude Code and LinkedIn Ads: a repeatable B2B report from a terminal
LinkedIn is where B2B teams pay for the right job title, so the question each week is the same: which seniority, function and company size got the spend, and which of them produced leads? Claude Code can ask that question the same way every time and write the answer to a file. Claude Code does not connect to LinkedIn itself. It connects to AdAce Ads, which holds the link to your LinkedIn ad account, and it never receives your LinkedIn password.
What you can do
Reading needs no approval. For LinkedIn Ads, Claude Code can ask AdAce Ads for the following:
Campaigns, creatives and metrics for a period of up to 31 completed days.
Breakdowns by job function, seniority, industry, company size, country, region, device and placement. Region figures are approximate and can be delayed by 12 to 24 hours.
Conversions by action type and Insight Tag health.
An audit of UTM tags and a check of landing pages.
Campaign settings, including what automatic bidding optimizes for, such as clicks, website conversions or qualified leads.
A pre-launch forecast of audience size, suggested bid and budget, and lookups of LinkedIn targeting values.
It can prepare proposals for budgets, pausing or enabling, bids, targeting, campaign settings and UTM suffixes. A draft campaign and creative stay paused until approved. Forecast and settings reads, and creating drafts, are limited to owners and admins.
The terminal angle. Think of the report as a small routine. Keep one prompt in your repository, for example linkedin-weekly.md, that asks for the last 14 completed days by seniority and job function, a comparison with the previous period, and a list of segments with spend and no leads. Ask Claude Code to save the result as a dated Markdown file, so you can read last month beside this month. Before you launch a new campaign, run the forecast with the targeting you plan and keep it with the brief.
Reading is the part worth repeating. Changes still go through a person.
What stays under your control
By default only changes that reduce spend are applied by themselves, within the client's limits: pausing a campaign or creative and lowering a daily budget. Raising a budget, enabling, bids, targeting, settings and new campaigns wait for a person. You can approve in the chat after an explicit yes or in the web app. Claude Code must show you what changes first, and the service refuses an approval within 20 seconds of the proposal.
A budget change above the client's per-operation limit can be approved only by a workspace owner or admin. A client can choose Manual only. A new ad account can start in view-and-advice mode until its owner allows changes once.
Five prompts to start with
- "Show my LinkedIn spend, leads and cost per lead by campaign for the last 14 completed days."
- "Break the results down by seniority, then by company size. Save a table to linkedin-report.md."
- "Compare this period with the previous one and name the segments that explain the change."
- "Read the settings of my active campaigns and tell me what each one's automatic bidding optimizes for."
- "Forecast the audience for these targeting values and a daily budget of 100, quoting the tool result."
How to connect
- Create a free AdAce Ads workspace and connect LinkedIn Ads in the web app, using LinkedIn's own sign-in window.
- Add the server in your terminal: claude mcp add --transport http adace-ads https://ads.adace.website/mcp
- In Claude Code type /mcp, choose adace-ads and select Authenticate. Sign in to AdAce Ads, pick the workspace and allow read. Allow propose only if you want drafts. No API key is needed.
- Ask Claude Code to call get_started, then to list your ad accounts.
Notes and pricing
- LinkedIn Matched Audiences are not available through AdAce Ads yet, because LinkedIn has not granted that access.
- Free is $0 with no card: 15 actions a month, 2 platforms and 2 ad accounts. Plus is $29 a month for 3 platforms, Pro is $99 for all platforms, and Max is $299. GA4 and Search Console reports are included from Plus. One call from Claude Code to AdAce Ads is one action; help, tool search and listing accounts or campaigns are not counted. No share of ad spend is charged. See the pricing page.
- Until 30 November, Pro for the first year is $690.
- Until 30 November, Plus for the first year is $190.
Sources and further reading
Common questions
Does it read my lead form answers?
No. This connection covers ad results, tags and settings.
Can it change a LinkedIn bid?
It can propose one. You approve it.
Why is the forecast missing for me?
It is available to owners and admins.
Prefer an editor?
See Cursor and LinkedIn Ads.



Try it on your own accounts
Create a workspace, connect Google or Meta in a couple of clicks and see your accounts clearly. Once you allow changes in your ad account, spend cuts can run on their own by default; everything else waits for your approval.
Create your workspace