Spiral gives your agent every tool with one account. Browse the tools →

Grok · Social Media

How to Use Facebook Ad Library company ads in Grok

Fetch a company's public Meta ads, including creative copy, media, advertiser details, platforms, status, and delivery dates. Use it to review one advertiser's campaigns and follow pagination for more results.

Prompts to try with Facebook Ad Library company ads in Grok

Copy an example into Grok, or ask in your own words.

Use Facebook Ad Library company ads to review lululemon's current US ads and summarize five recurring messages, citing an ad ID for each example.

Facebook Ad Library company adsGrok
Try asking
  • Use Facebook Ad Library company ads to compare Nike and adidas ads currently running in the United States, focusing on product benefits and calls to action.

  • Use Facebook Ad Library company ads to review IKEA's current Canadian ads and separate image ads from video ads, with examples of the copy used in each.

  • Use Facebook Ad Library company ads to compare LEGO's current ads in the United States and Canada and explain any differences in product emphasis.

  • Use Facebook Ad Library company ads to review Patagonia's current US ads and make a table of ad IDs, creative copy, publishing platforms, and delivery dates.

How to set up Facebook Ad Library company ads 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.

    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.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Facebook Ad Library 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": "scrapecreators",
        "model": "scrapecreators/facebook-adlibrary-company-ads",
        "input": {
          "pageId": "15087023444"
        }
      }'

Then paste one of the prompts above: Grok finds Facebook Ad Library company ads on Spiral, shows the price and runs it.

Facebook Ad Library company ads providers and prices

Spiral runs Facebook Ad Library company ads through ScrapeCreators. Open a card for today's price, with every fee included.

ScrapeCreatorsSocial Media
Facebook Ad Library company ads
scrapecreators/facebook-adlibrary-company-ads

Settings you can ask for

Ask Grok for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Trimon or off

true answers a shorter version of each ad.

StatusALL, ACTIVE, or INACTIVE

Which ads: running ones (ACTIVE, the default), stopped ones or all.

Sort bytotal_impressions or relevancy_monthly_grouped

Most impressions first (the default) or most recent first (relevancy_monthly_grouped).

Media typeALL, IMAGE, VIDEO, MEME, IMAGE_AND_MEME, or NONE

The ads' media (ALL by default; MEME is an image with text).

Every API field of Facebook Ad Library company ads is on its tool page: open its card above.

What can you do with Facebook Ad Library company ads in Grok?

Turn a company's public Meta ads into a brief with concrete examples of its messaging and creative formats. A chat app can compare advertisers or countries and cite the returned ad IDs beside its findings.

Compare competitor messaging

Collect ads from public business Pages and compare recurring product benefits, opening lines, and calls to action. Include ad IDs so each observation points to a specific record.

Prepare a creative brief

Review a brand's public ad copy and available media to identify themes worth exploring in an original campaign brief.

Report newly observed ads

Compare repeated collections by ad ID and summarize newly observed creative copy, formats, and delivery dates for a weekly competitor report.

Compare regional messaging

Collect the same advertiser's ads for the United States and Canada, then compare product emphasis, copy, and creative formats in the returned records.

Measure creative format mix

Count image and video ads in a collected advertiser inventory and show how the observed mix changes across weekly collections.

Build an advertiser review

Create a client research report with public ad examples, advertiser identity, publishing platforms, active status, and delivery dates.

Facebook Ad Library company ads success rate and speed on Spiral

Success and speed over the last 24 hours, across every run of these tools on Spiral.

Success rate
96.5%
Fastest median run time
3.6s
Runs, last 24 hours
256
ToolSuccessMedian timeRuns
Facebook Ad Library company ads96.5%3.6s256

Questions about Facebook Ad Library company ads in Grok

Can Grok use Facebook Ad Library company ads?

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run Facebook Ad Library company ads like any built-in tool.

How much does Facebook Ad Library company ads cost in Grok?

$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 Facebook Ad Library company ads in Grok?

No. Spiral runs Facebook Ad Library company ads on its own ScrapeCreators account. You sign in to Spiral once and never paste a key.

How long does it take to set up Facebook Ad Library company ads 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 Facebook Ad Library company ads runs?

Facebook Ad Library company ads runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

How quickly do new ads appear?

Meta says an ad appears in the Ad Library within 24 hours of its first impression. A campaign that just started may therefore be absent from today's results.

Can I retrieve a company's complete advertising history?

Meta documents a one-year archive for ads delivered anywhere in the EU. That coverage boundary does not establish a complete historical archive for a company's campaigns in every country.

Does one response contain every ad from an advertiser?

Large inventories require pagination. ScrapeCreators returns a cursor to retrieve more company ads, so the first response alone may cover only part of the advertiser's results.

Can a company name return the wrong advertiser?

Yes. ScrapeCreators explicitly warns that company name lookup may select the wrong company and recommends a verified Facebook Page ID for accurate advertiser selection.

What information is public in these ad records?

The data includes public creative copy, images, videos, advertiser details, active status, and publishing platforms. Meta also identifies the advertiser's Page and supplies ad delivery dates.

Get started

Start using Facebook Ad Library company ads in Grok

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Grok:

Set up Grok

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options