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

Google Antigravity · Social Media

How to Use Facebook Ad Library video transcript in Google Antigravity

Get the transcript text of a Facebook Ad Library video ad, using native captions or AI transcription. Use it to review spoken hooks, offers, and calls to action; unavailable transcripts return null.

Prompts to try with Facebook Ad Library video transcript in Google Antigravity

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

Use Facebook Ad Library video transcript for https://www.facebook.com/ads/library?id=1020359190509080 and save the returned text in this project's ad research folder.

Facebook Ad Library video transcriptGoogle Antigravity
Try asking
  • Use Facebook Ad Library video transcript for https://www.facebook.com/ads/library?id=702369045530963 and add its retrieved text to our script search index.

  • Use Facebook Ad Library video transcript for ad 1020359190509080 and add a review view that separates the transcript from an extracted opening hook and closing call to action.

  • Use Facebook Ad Library video transcript for ad 702369045530963 and export its text plus any spoken event references to a CSV in this project.

  • Use Facebook Ad Library video transcript for ads 1020359190509080 and 702369045530963, then generate a Markdown comparison of spoken benefits, offers, and closing instructions.

How to set up Facebook Ad Library video transcript 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 video transcript

    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-ad-transcript",
        "input": {
          "id": "1020359190509080"
        }
      }'

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

Facebook Ad Library video transcript providers and prices

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

ScrapeCreatorsSocial Media
Facebook Ad Library · Ad Transcript
scrapecreators/facebook-adlibrary-ad-transcript

Settings you can ask for

Ask Google Antigravity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cache max age1d, 3d, 7d, 14d, or 30d

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (Returned native captions cost 1 credit, even for long videos with the paid flag. By default, successful AI up to 120 seconds costs a flat 1 credit per request; over 120 seconds requires allow_long_transcription=true, which bills ALL successful AI at 10 credits per started minute, including short videos; empty AI results and errors cost 0 credits; no transcript: 0 credits). See the Caching page for details.

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

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

Build a searchable ad script archive from Facebook Ad Library transcript text. A coding agent can add transcript retrieval, text search, and a review screen that handles unavailable transcripts.

Compare opening hooks

Extract the opening words from selected video ad transcripts and compare how each script introduces a problem, product, or offer.

Review spoken offers

Pull offer language, eligibility conditions, and deadlines from selected scripts into a review table, keeping each finding tied to its ad.

Build a searchable script archive

Index retrieved transcript text so a creative team can find ads that mention particular products, objections, or benefits.

Prepare claims for review

Extract spoken product claims and guarantees for a human reviewer, preserving the wording separately from the agent's interpretation.

Compare calls to action

Compare the closing instructions in selected video scripts, such as visiting a website, booking a demonstration, or attending an event.

Draft a translation brief

Translate retrieved ad speech for an internal creative review and identify product names or phrases that need a translator's attention.

Summarize creative themes

Turn a selected set of transcripts into a brief covering repeated problems, benefits, objections, and offers, with supporting passages.

Questions about Facebook Ad Library video transcript in Google Antigravity

Can Google Antigravity use Facebook Ad Library video transcript?

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

How much does Facebook Ad Library video transcript 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 video transcript in Google Antigravity?

No. Spiral runs Facebook Ad Library video transcript 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 video transcript 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 video transcript runs?

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

Where does the transcript come from?

ScrapeCreators returns native captions or an AI transcript from a Facebook video ad. The output is transcript text for the video's speech.

Does every ad have a transcript?

No. The documented transcript value is null when a transcript is unavailable, so an Ad Library listing does not guarantee readable speech text.

What is the video length limit?

The standard AI transcription boundary is two minutes. ScrapeCreators documents separate permission for AI transcription beyond that length; this boundary concerns AI transcription, rather than native captions.

How fresh is the source data?

ScrapeCreators says live requests fetch the latest available Ad Library information when requested. That describes retrieval freshness, rather than a fixed publication or caption update schedule.

Can I retrieve years of political ad scripts?

Meta retains political, electoral, and social issue ads in its public Ad Library for seven years. That is an ad retention policy: the transcript endpoint can still return null for an unavailable transcript.

Get started

Start using Facebook Ad Library video transcript 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