How to Use LinkedIn ad search in Muse Code
Find LinkedIn ads with their copy, format, advertiser, media links, and available targeting and impression details. Use it to compare company messaging, research offers, or collect examples around a topic.
Prompts to try with LinkedIn ad search in Muse Code
Copy an example into Muse Code, or ask in your own words.
Use LinkedIn ad search to collect Salesforce ads for the United States from the last 30 completed days. Follow all result pages and add an internal report to this project with ad IDs, headlines, formats, and source links.
Use LinkedIn ad search to find Microsoft ads mentioning AI. Build a table in this project that groups the returned headlines by theme and links each row to its ad.
Use LinkedIn ad search to collect HubSpot ads and add a report to this project grouping available destination URLs by domain and path.
Use LinkedIn ad search to retrieve Adobe ads and build a project view that filters the results by advertiser and ad format, with links to the original ads.
Use LinkedIn ad search to retrieve SAP ads for Germany from the last 30 completed days. Add a table to this project showing available targeting disclosures and estimated impressions.
How to set up LinkedIn ad search in Muse Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Install Muse Code
curl -fsSL https://dev.meta.ai/install.sh | bash
- Ask Muse to add the server
Start muse and ask:
Add the Spiral MCP server at https://api.spiral.ai/mcp
- Sign in
In your terminal, run:
muse mcp login spiral
Use the Spiral skill
- Send Muse 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 ad search
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": "scrapecreators", "model": "scrapecreators/linkedin-ads-search", "input": { "company": "microsoft" } }'
Then paste one of the prompts above: Muse Code finds LinkedIn ad search on Spiral, shows the price and runs it.
LinkedIn ad search providers and prices
Spiral runs LinkedIn ad search through ScrapeCreators. Open a card for today's price, with every fee included.
What can you do with LinkedIn ad search in Muse Code?
Build a searchable competitor-ad report from LinkedIn copy, formats, advertiser identities, and creative links. A coding agent can add pagination, deduplicate ad IDs, and turn the results into tables in your project.
Compare competitor messaging
Collect Salesforce and HubSpot ads, group their headlines by customer problem, and compare the promises each company makes.
Prepare a creative brief
Find Microsoft ads about AI, separate examples by ad format, and summarize the hooks and calls to action for a writing brief.
Review regional messaging
Compare SAP ads returned for Germany and the United States to identify differences in wording, offers, and creative formats.
Watch for newly observed ads
Compare Adobe ad IDs across weekly searches and report newly observed headlines, formats, and offers with links to the ads.
Research EU audience targeting
Review the targeting disclosures available for Salesforce ads targeted in Germany and summarize the professional audiences described.
Build an offer inventory
Search HubSpot ads and organize the copy into webinars, reports, demos, and product announcements, retaining an ad link for each example.
Analyze destination patterns
Collect available destination URLs from Salesforce ads and group them by domain and page path to see where different offers send readers.
More on LinkedIn ad search and Muse Code
LinkedIn ad search in other agents
Questions about LinkedIn ad search in Muse Code
Can Muse Code use LinkedIn ad search?
Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run LinkedIn ad search like any built-in tool.
How much does LinkedIn ad search cost in Muse Code?
Up to $0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Muse Code plan is separate.
Do I need a ScrapeCreators account to use LinkedIn ad search in Muse Code?
No. Spiral runs LinkedIn ad search on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.
How long does it take to set up LinkedIn ad search in Muse Code?
About two minutes: install Muse Code, then ask Muse to add the server, then sign in.
Does Muse Code wait while LinkedIn ad search runs?
LinkedIn ad search runs in the background. Muse 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. An older creative can therefore still appear if it received impressions within that window.
How fresh is the data?
Ads typically appear shortly after their first impression. LinkedIn calculates Ad Library analytics daily after upstream data becomes available.
Do all ads include targeting and impression details?
LinkedIn provides these additional disclosures for ads targeted in the European Union. Impression totals are estimates, and country percentages are rounded to the nearest percent.
Why are some ad details hidden?
For restricted ads, LinkedIn hides the ad preview, advertiser name, and payer name to comply with the law.
Does one search return every matching ad?
Search results support pagination. The documented response includes a continuation token, a last-page indicator, and a total ad count, so the first response can be only part of the results.
Start using LinkedIn ad search in Muse Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Muse Code:
set up https://spiral.ai/SKILL.md


