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

Google Antigravity · Social Media

How to Use Facebook Ad Library ads in Google Antigravity

Find Meta ads by keyword, with ad copy, images, videos, advertiser details, and active status. Use it to compare offers and creative approaches across advertisers.

Prompts to try with Facebook Ad Library ads in Google Antigravity

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

Use Facebook Ad Library ads to search running shoes in the United States and build a view showing advertiser, ad copy, active status, and creative format.

Facebook Ad Library adsGoogle Antigravity
Try asking
  • Use Facebook Ad Library ads to search Patagonia and save the returned ad IDs, Page IDs, copy, and calls to action as a project research file.

  • Use Facebook Ad Library ads to search trail running in Canada, follow the available result pages, and add advertiser and platform filters to our research view.

  • Scrape https://example.com/pricing with Facebook Ad Library ads and turn it into a comparison table. Save the result in ./assets.

  • Crawl the docs at https://docs.example.com with Facebook Ad Library ads and summarize each section.

How to set up Facebook Ad Library ads in Google Antigravity

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

Use Spiral's MCP server

  1. Open the MCP config

    * Antigravity App: click Customizations, then Installed. In the MCP Servers section, click Copy Config File Path and open that file. * Antigravity IDE: click … at the top of the agent side panel, select MCP Servers, then Manage MCP Servers › View raw config. * Antigravity CLI: edit ~/.gemini/config/mcp_config.json.

  2. Add the server

    Add Spiral under mcpServers:

    {
      "mcpServers": {
        "spiral": {
          "serverUrl": "https://api.spiral.ai/mcp"
        }
      }
    }
  3. Sign in

    In the Antigravity App, open Customizations › Installed. Under MCP Servers, click Authenticate next to Spiral. Sign in to Spiral, pick the organization and click Authorize. Copy the authorization code the browser shows, paste it into Enter authorization code and click Submit. No API key.

Use the Spiral skill

  1. Send Google Antigravity 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 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-search-ads",
        "input": {
          "query": "<query>"
        }
      }'

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

Facebook Ad Library ads providers and prices

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

ScrapeCreatorsSocial Media
Facebook Ad Library · Search
scrapecreators/facebook-adlibrary-search-ads

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Trimon or off

Set to true for a trimmed down version of the response

StatusALL, ACTIVE, or INACTIVE

Status of the ad. Defaults to ACTIVE.

Ad typeall or political_and_issue_ads

Search for all ads or only political and issue ads

Sort bytotal_impressions or relevancy_monthly_grouped

Sort by impressions (high to low), or Most Recent (relevancy_monthly_grouped). Defaults to impressions.

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

Media type of the ad. Defaults to ALL. Meme just means the ad has text and an image. No clue why they call it meme.

Search typekeyword_unordered or keyword_exact_phrase

If you want to search by exact phrase or not

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

What can you do with Facebook Ad Library ads in Google Antigravity?

Build a Meta advertising research view that keeps advertiser identities attached to the evidence. A coding agent can turn returned Page IDs, advertiser details, and ad creatives into project data and comparison screens.

Competitor research brief

Identify the Facebook Pages associated with Nike and Adidas, then compare keyword-matched ads by message, offer, format, and call to action.

Advertiser identity review

Compare advertiser names and Page IDs found in ad results with name-search matches. Flag similarly named Pages for review before attributing a campaign to a brand.

Agency research handoff

Prepare a client research sheet with advertiser Page IDs and Instagram identities, alongside examples of keyword-matched ad copy and creative formats.

Brand portfolio review

Find candidate Pages for Nike and Nike Football, then organize matching ad results by returned Page ID so separate brand properties stay separate.

Creative planning

Search ads mentioning running shoes and group the returned copy, images, videos, and calls to action into themes for a new creative brief.

Questions about Facebook Ad Library ads in Google Antigravity

Can Google Antigravity use Facebook Ad Library ads?

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

How much does Facebook Ad Library ads cost in Google Antigravity?

$0.0013 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Google Antigravity plan is separate.

Do I need a ScrapeCreators account to use Facebook Ad Library ads in Google Antigravity?

No. Spiral runs Facebook Ad Library 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 ads in Google Antigravity?

About two minutes: open the MCP config, then add the server, then sign in.

Does Google Antigravity wait while Facebook Ad Library ads runs?

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

Which platforms does the Meta Ad Library cover?

Meta describes the library as covering ads currently running across its technologies. Ad search results identify placements such as Facebook and Instagram.

How quickly do new ads appear?

Meta says an ad appears within 24 hours of its first impression. A campaign can therefore start delivering before it becomes visible in the library.

Can I research older commercial ads?

Meta retains ads of any type delivered to the UK or EU during the past year. That regional archive extends beyond the library's coverage of currently running ads.

How long are political and social issue ads retained?

Meta retains ads about social issues, elections, or politics in its public Ad Library for seven years.

What advertiser information can I find?

Advertiser search returns Facebook Page IDs. Its documented response also includes Page names, verification status, Facebook likes, Instagram usernames, and Instagram follower counts.

Get started

Start using Facebook Ad Library ads in Google Antigravity

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

Paste this into Google Antigravity:

Set up Google Antigravity

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