[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [LinkedIn ad search](https://spiral.ai/integrations/grok/linkedin-ad-search)

# How to Use LinkedIn ad search in Grok

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.

|  |  |
| --- | --- |
| Model | LinkedIn ad search |
| Available through | ScrapeCreators |
| Category | Social Media |
| Price | Up to $0.0013 per run. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with LinkedIn ad search in Grok

- Use LinkedIn ad search to compare Salesforce and HubSpot ads shown in the United States during the last 30 completed days. Summarize their main offers and include ad links.
- Use LinkedIn ad search to find Microsoft ads mentioning AI. Group the headlines by customer problem and show examples from the returned ads.
- Use LinkedIn ad search to find Adobe ads for the United Kingdom. Compare the calls to action used in video and single-image ads.
- Use LinkedIn ad search to review Salesforce ads targeted in Germany. Summarize the available audience targeting disclosures and country impression breakdowns.
- Use LinkedIn ad search to find HubSpot ads from the last 30 completed days. Organize the offers into webinars, reports, demos, and product announcements, with a link for each example.

## How to set up LinkedIn ad search in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run LinkedIn ad search**: One request; the result comes back by polling or a webhook.

```bash
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: Grok finds LinkedIn ad search on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## LinkedIn ad search tools and prices

- [LinkedIn Ad Library · Search Ads](https://spiral.ai/tools/scrapecreators/scrapecreators/linkedin-ads-search) (ScrapeCreators): Up to $0.0013 per run.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| company |  | — | The company name to search for. 'Microsoft' for example |
| endDate |  | — | End date in YYYY-MM-DD format. Must be used with startDate and cannot be today or a future date. |
| keyword |  | — | The keyword to search for |
| companyId |  | — | The company id to search for |
| countries |  | — | Comma separated list of countries. Example: US,CA,MX |
| startDate |  | — | Start date in YYYY-MM-DD format. Must be used with endDate and cannot be earlier than the date one year ago. |

## What can you do with LinkedIn ad search in Grok?

Create a competitor messaging brief from the LinkedIn ads a company has run. A chat app can organize headlines, offers, and formats into a comparison with links to the examples.

### 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.

## Overview

- [ScrapeCreators](https://spiral.ai/providers/scrapecreators)
- [All Grok guides](https://spiral.ai/integrations/grok)

## LinkedIn ad search in other agents

- [Amp](https://spiral.ai/integrations/amp/linkedin-ad-search)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/linkedin-ad-search)
- [Claude](https://spiral.ai/integrations/claude-desktop/linkedin-ad-search)
- [Claude Code](https://spiral.ai/integrations/claude-code/linkedin-ad-search)
- [Cline](https://spiral.ai/integrations/cline/linkedin-ad-search)
- [Codex](https://spiral.ai/integrations/codex/linkedin-ad-search)
- [Cursor](https://spiral.ai/integrations/cursor/linkedin-ad-search)
- [Devin](https://spiral.ai/integrations/devin/linkedin-ad-search)
- [dots](https://spiral.ai/integrations/dots/linkedin-ad-search)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/linkedin-ad-search)
- [Gemini](https://spiral.ai/integrations/gemini/linkedin-ad-search)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/linkedin-ad-search)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/linkedin-ad-search)
- [goose](https://spiral.ai/integrations/goose/linkedin-ad-search)
- [Grok Build](https://spiral.ai/integrations/grok-build/linkedin-ad-search)
- [Hermes](https://spiral.ai/integrations/hermes/linkedin-ad-search)
- [Instinct](https://spiral.ai/integrations/instinct/linkedin-ad-search)
- [Manus](https://spiral.ai/integrations/manus/linkedin-ad-search)
- [Muse](https://spiral.ai/integrations/muse/linkedin-ad-search)
- [Muse Code](https://spiral.ai/integrations/muse-code/linkedin-ad-search)
- [n8n](https://spiral.ai/integrations/n8n/linkedin-ad-search)
- [Notion](https://spiral.ai/integrations/notion/linkedin-ad-search)
- [OpenClaw](https://spiral.ai/integrations/openclaw/linkedin-ad-search)
- [opencode](https://spiral.ai/integrations/opencode/linkedin-ad-search)
- [Perplexity](https://spiral.ai/integrations/perplexity/linkedin-ad-search)
- [Raycast](https://spiral.ai/integrations/raycast/linkedin-ad-search)
- [VS Code](https://spiral.ai/integrations/vscode/linkedin-ad-search)
- [Windsurf](https://spiral.ai/integrations/windsurf/linkedin-ad-search)
- [Zapier](https://spiral.ai/integrations/zapier/linkedin-ad-search)

## More Grok guides

- [LinkedIn ad details](https://spiral.ai/integrations/grok/linkedin-ad-details)
- [LinkedIn comment reactions](https://spiral.ai/integrations/grok/linkedin-comment-reactions)
- [LinkedIn Web Get post comments](https://spiral.ai/integrations/grok/linkedin-web-get-post-comments)
- [LinkedIn comment replies](https://spiral.ai/integrations/grok/linkedin-comment-replies)
- [LinkedIn Web Get company's posts](https://spiral.ai/integrations/grok/linkedin-web-get-company-s-posts)
- [LinkedIn company posts](https://spiral.ai/integrations/grok/linkedin-company-posts)

## Questions about LinkedIn ad search in Grok

**Can Grok use LinkedIn ad search?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run LinkedIn ad search like any built-in tool.

**How much does LinkedIn ad search cost in Grok?**

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 Grok plan is separate.

**Do I need a ScrapeCreators account to use LinkedIn ad search in Grok?**

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 Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while LinkedIn ad search runs?**

LinkedIn ad search runs in the background. Grok 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.

