How to Use LinkedIn company ads in Claude Code
Returns a company's LinkedIn ad copy, headlines, creative formats, media links, and ad count. Use it to review a known advertiser's messaging and creative mix.
Prompts to try with LinkedIn company ads in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use LinkedIn company ads for hubspot.com and add a report to this project showing returned headlines, copy, creative formats, and media links.
Use LinkedIn company ads for shopify.com and build a table in this project that groups ads by creative format and repeated headline.
Use LinkedIn company ads for salesforce.com and compare returned headlines and copy with the campaign positioning notes in this repository.
Use LinkedIn company ads to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from LinkedIn company ads and tell me what changed since last week.
How to set up LinkedIn company ads in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run LinkedIn company ads
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "adyntel/linkedin/company-ads", "input": { "company_domain": "<company_domain>" } }'
Then paste one of the prompts above: Claude Code finds LinkedIn company ads on Spiral, shows the price and runs it.
LinkedIn company ads providers and prices
Spiral runs LinkedIn company ads through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Live ads | on or off | When true, only ads that are live. Omit it for the default, which is false. |
Every API field of Adyntel · LinkedIn ads for a company is on its tool page: open its card above.
What can you do with LinkedIn company ads in Claude Code?
Build a searchable review of LinkedIn ad copy and creative assets in your project. Use returned records to compare advertisers, group repeated messages, and link each example to its media.
Compare competitor messaging
Collect ads from named competitors or a shared product topic. Compare headlines and copy to see which benefits each advertiser emphasizes.
Build a creative reference list
Organize returned image and video links by advertiser and message. Give a creative team concrete examples to review before drafting its own campaign.
Review webinar promotions
Find webinar offers in a company's ads or search the topic across advertisers. Compare event headlines, calls to action, and supporting copy.
Monitor changes in advertised offers
Compare repeated searches with earlier results to flag newly observed headlines and offers. Keep the advertiser and creative link beside each change.
Prepare an agency account review
Review a public business's ads or relevant category ads before an account meeting. Summarize messaging themes and creative formats using returned examples.
Find repeated creative concepts
Compare headlines, copy, and media URLs across returned ads. Separate repeated executions from distinct concepts when assembling a campaign review.
More on LinkedIn company ads and Claude Code
Overview
LinkedIn company ads in other agents
Questions about LinkedIn company ads in Claude Code
Can Claude Code use LinkedIn company ads?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run LinkedIn company ads like any built-in tool.
How much does LinkedIn company ads cost in Claude Code?
Up to $0.0977704 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use LinkedIn company ads in Claude Code?
No. Spiral runs LinkedIn company ads on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up LinkedIn company ads in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while LinkedIn company ads runs?
LinkedIn company ads runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
How far back does LinkedIn's ad library go?
Ads remain available for one year after their last impression. The library therefore includes ads that have stopped running, alongside more recent activity.
How soon do new ads appear?
LinkedIn says ads typically appear shortly after their first impression. Its help page gives no fixed number of minutes or hours.
Does one response contain every matching ad?
Results are paginated. Use the continuation token to retrieve additional pages before treating the returned ads as the complete result.
Will the retrieved ads always match the displayed total?
Counts and retrievable records can differ. In Adyntel's September 2026 HubSpot test, pagination returned 1,167 ads against a displayed total of 1,409.
Does LinkedIn publish impression data for every ad?
LinkedIn documents estimated total impressions and country breakdowns for EU-targeted ads. That additional library information should not be assumed to appear in every ad search response.
Start using LinkedIn company ads in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


