meta-ad-spy

Exact captured content · path skills/meta-ad-spy/SKILL.md · sha256 7d08ea5ea4a4ebc7… · revision 349c0ccc77f961c6efeefb3d4b56ae330cdf9977

Download the exact captured file

---
name: meta-ad-spy
version: "0.1.0"
description: "Meta Ad Library teardown for any brand or Facebook page: pulls its active Facebook and Instagram ads, then groups them by format, call to action, landing domain, reused hook, and how long each ad has been running. Use when the user asks what ads a competitor is running, for a Facebook ads or Meta ads teardown, for ad creative research, or which of a brand's ads are working."
argument-hint: 'meta-ad-spy Nike | meta-ad-spy "Liquid Death" --country GB | meta-ad-spy --page-id 15087023444 Nike'
allowed-tools: Bash, Read
primaryEnv: FETCHPROOF_API_KEY
homepage: https://github.com/fetchproof/skill
repository: https://github.com/fetchproof/skill
license: MIT
user-invocable: true
metadata:
  openclaw:
    emoji: "🕵️"
    primaryEnv: FETCHPROOF_API_KEY
    requires:
      env:
        - FETCHPROOF_API_KEY
      bins:
        - python3
    files:
      - "scripts/*"
    tags:
      - meta-ads
      - facebook-ads
      - ad-library
      - competitor-research
      - marketing
      - dtc
---

# meta-ad-spy

Input: a brand or Facebook page name (or a page id). Output: a markdown teardown of the brand's active Meta ads: format mix, run length, calls to action, landing domains, hooks used on more than one ad, the longest-running ads, and the newest tests. Usually 3 credits per run.

## Run it

```bash
python3 scripts/meta_ad_spy.py "Nike"                      # US, 2 pages of ads
python3 scripts/meta_ad_spy.py "Nike" --country ALL --pages 3
python3 scripts/meta_ad_spy.py "Nike" --page-id 15087023444 # skip the name lookup
python3 scripts/meta_ad_spy.py "Nike" --json                # one JSON row per ad
```

`FETCHPROOF_API_KEY` must be set. If it isn't, tell the user they can get a key with 100 free credits at https://app.fetchproof.com and stop.

## API

- Base URL: `https://api.fetchproof.com`, header `x-api-key`.
- `GET /v1/facebook/adLibrary/search/companies?query=<name>`: finds the page id (1 credit; skipped with `--page-id`).
- `GET /v1/facebook/adLibrary/company/ads?pageId=<id>&status=ACTIVE&country=US`: one page of ads (1 credit). Pass `cursor` for the next page.
- Empty pages, errors and blocked requests cost 0.

## How to present it

- Print the script's markdown as-is, then add 3 to 5 bullets of your own reading of it, such as which format dominates, which offer or hook keeps coming back, and what the longest runners have in common.
- Ads that have run 3+ months are the strongest signal that a creative is working. Lead with them.
- If the page match looks wrong (wrong country page, a fan page), say so and rerun with `--page-id` from the Ad Library URL.
- Don't make up spend or results. The Ad Library doesn't publish spend for commercial ads.