# Facebook Ads Analyzer – Video Transcript, Hook & Angle (`smoxy/meta-ads-video-analyzer`) Actor

Analyze Facebook and Instagram video ads from a Meta Ad Library dataset: transcript, spoken and on-screen hook, angle, offer, CTA, English summary, days active, plus an angle report per advertiser. Expired links, failed and unsupported-language ads are free.

- **URL**: https://apify.com/smoxy/meta-ads-video-analyzer.md
- **Developed by:** [Simone Flavio Paris](https://apify.com/smoxy) (community)
- **Categories:** Marketing, AI, Social media
- **Features:** Limited permissions, Multi-tenant, Server interface
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $7.50 / 1,000 video ad analyzeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Ads Analyzer – Video Transcript, Hook & Angle

**Analyze Facebook and Instagram video ads from the Meta Ad Library** in bulk: the spoken script, the hook of the first seconds (spoken and on screen), the angle, the offer, the call to action and an English summary of every ad, plus how many days it has been running. Feed it the dataset of a Meta Ad Library scraper run, and get one clean row per ad, ready to export as JSON, CSV or Excel.

**Launch prices until December 31, 2026:** about half the list price on most events (a video ad analysis costs $0.0125). After that date prices go up gradually, with the notice Apify sends to every user 14 days in advance.

Built for media buyers, performance agencies, e-commerce brands and creative strategists who want to **study competitors' ads at scale**: which hooks they open with, which angles and offers they keep testing, and which ads stay live the longest.

### What does Facebook Ads Analyzer do?

For every video ad you get:

- **Hook**: what is said and what is written on screen in the opening seconds
- **Angle**: the main persuasion angle of the ad (for example pain point, social proof, price, authority)
- **Offer** and **call to action**
- **Creative format** of the ad
- **English summary** of the ad (another language can be chosen)
- **Full script** (optional): the spoken text of the ad
- **Ad data**: ad ID, advertiser, start date, **days active**, platforms, language
- A **status** for every ad, so you always know why an ad has no analysis

Optionally:

- **Image and text ads** get angle, offer, CTA and summary from the ad copy and image, at a lower price
- **Angle report per advertiser**: for each advertiser with at least 10 analyzed ads, the angles found, how many ads use each one, and examples

**You only pay for ads that were analyzed.** Expired video links, ads without media, failed ads and ads spoken in unsupported languages are free.

### How to analyze Facebook ads

1. Run any Facebook Ads Library scraper from Apify Store on the advertisers or keywords you want to study.
2. In **Dataset of ads**, pick the dataset of that run (one of your runs, or a dataset shared with you). Alternatively, paste ads directly in **Ads**, each with its `video_url` and ad text.
3. Optionally turn on image and text ads, the angle report or the full script, and set the maximum number of ads.
4. Run. Each ad becomes one row in the dataset; the angle report is saved in the key-value store.

**Run it soon after scraping.** Meta video links expire after a while; ads whose link has expired get the status `expired_media` and are not charged.

Run it with an empty input to see sample output rows (marked `is_example: true`): they are precomputed, take a second and cost nothing. Paste your own ads to get real results.

#### Input example

```json
{
  "datasetId": "aBcDeFgHiJkLmNoPq",
  "includeStatic": false,
  "angleReport": true,
  "translateTo": "en",
  "includeFullScript": false,
  "maxItems": 100
}
```

Or with ads pasted directly:

```json
{
  "ads": [
    {
      "video_url": "https://video.example-cdn.net/ad-12345.mp4",
      "text": "Sleep better in 7 nights or your money back"
    }
  ],
  "includeFullScript": true
}
```

#### Output example

```json
{
  "ad_id": "1234567890123456",
  "advertiser": "Nordic Sleep Co",
  "start_date": "2026-09-14",
  "days_active": 59,
  "platforms": ["facebook", "instagram"],
  "language": "en",
  "hook": {
    "spoken": "I tried every pillow on the market. This is the one I kept.",
    "on_screen": "Neck pain at 3am?"
  },
  "angle": "pain point",
  "offer": "30% off the first order, 100-night trial",
  "cta": "Shop now",
  "format": "talking head",
  "script": null,
  "summary_en": "A customer explains how the pillow solved her neck pain, then shows the 100-night trial and the 30% discount.",
  "status": "ok"
}
```

Fields that are not available are `null`, never missing, so CSV and Excel exports keep the same columns. `script` is filled only when `includeFullScript` is on.

#### Angle report example

Saved as `ANGLE_REPORT.json` in the run's key-value store when `angleReport` is on:

```json
{
  "advertiser": "Nordic Sleep Co",
  "ads_analyzed": 32,
  "angles": [
    {"angle": "pain point", "ads": 14, "example_hooks": ["Neck pain at 3am?"]},
    {"angle": "social proof", "ads": 9, "example_hooks": ["50,000 five-star reviews"]},
    {"angle": "price", "ads": 6, "example_hooks": ["Why pay 200 for a pillow?"]}
  ]
}
```

### Status of each ad

| `status` | Meaning | Charged |
|---|---|---|
| `ok` | Ad analyzed | yes |
| `expired_media` | The video link has expired; scrape the ads again and rerun | no |
| `no_media` | The row has no video (image or text ad with `includeStatic` off) | no |
| `unsupported_language` | Speech in a language outside the 25 supported | no |
| `no_speech` | No speech in the video (music only, silence) | no |
| `too_long` | Video longer than 3 minutes | no |
| `unsupported_url` | A `video_url` not hosted on the Meta (Facebook, Instagram) CDN | no |
| other errors | The ad could not be processed; retry later | no |

### How much does it cost?

Pay per event: you pay only for ads analyzed successfully.

| Event | Price (Free plan) | When it is charged |
|---|---|---|
| `ad-video-analyzed` | $0.0125 | per video ad analyzed successfully |
| `ad-static-analyzed` | $0.002 | per image or text ad analyzed, only when `includeStatic` is on |
| `angle-report` | $0.20 | per advertiser report (advertisers with at least 10 analyzed ads), only when `angleReport` is on |

**Example:** 50 video ads and an angle report for one advertiser cost **$0.82** on the Free plan. Paid Apify plans get up to **40% off**. You can set a maximum charge per run in the Apify console: the Actor checks it before starting and processes only the items that fit in the remaining budget, so it never goes over it. Prices on this page are **launch prices, valid until December 31, 2026**.

The scraper run that produces your dataset is billed separately by its own Actor.

#### Free-plan limits

On the Apify Free plan each run analyzes **up to 10 ads**, and the **angle report is not available**. Any paid Apify plan removes these limits.

### Languages

Speech is transcribed in **25 European languages**, detected automatically: Bulgarian, Croatian, Czech, Danish, Dutch, English, Estonian, Finnish, French, German, Greek, Hungarian, Italian, Latvian, Lithuanian, Maltese, Polish, Portuguese, Romanian, Russian, Slovak, Slovenian, Spanish, Swedish, Ukrainian. Ads spoken in other languages are marked `unsupported_language` and are **not charged**.

The summary is written in English by default; set `translateTo` to get it in another language.

### Use it from AI agents (MCP server)

This Actor is also an **MCP server**, so AI agents and assistants (Claude, Cursor, VS Code, n8n and any MCP client) can analyze ads by themselves. Connect your client to:

```
https://smoxy--meta-ads-video-analyzer.apify.actor/mcp
```

Transport: Streamable HTTP. Authentication: header `Authorization: Bearer <your Apify API token>`. For example, in Claude Code:

```
claude mcp add --transport http meta-ads-video-analyzer https://smoxy--meta-ads-video-analyzer.apify.actor/mcp --header "Authorization: Bearer YOUR_APIFY_TOKEN"
```

Tools:

| Tool | What it does |
|---|---|
| `analyze_ad` | `video_url` of one ad, optional ad `text`, `translateTo`, `includeFullScript`. Returns hook, angle, offer, CTA and summary, or `status: processing` and a `job_id` if it takes longer |
| `create_angle_report` | `job_ids` of finished `analyze_ad` analyses (up to 20) → the angle report per advertiser |
| `get_job` | `job_id` → the rows ready so far, or the report, and the job status |

Same prices as normal runs: charged per ad analyzed and per report delivered, never twice for the same job; failed ads are free. To analyze a whole scraper dataset from an agent, use the Apify MCP server (`mcp.apify.com`, tool `smoxy/meta-ads-video-analyzer`): it starts a normal run with your token and `datasetId`.

**Limits for MCP calls**, the same for every caller: up to 3 active jobs per user (more returns `too_many_jobs`, free). Repeating the same call with the same arguments within 10 minutes returns the cached result for free. A paid result is delivered only when it can be billed: otherwise the call returns `billing_unavailable` and nothing is charged.

### FAQ

#### Does it scrape the Meta Ad Library itself?

No. It analyzes ads that a Facebook Ads Library scraper has already collected. Run the scraper of your choice from Apify Store, then pass its dataset ID here. You can also paste ads with their video links directly.

#### Why do some ads get `expired_media`?

Meta video links are signed and expire. If the dataset is old, scrape the ads again and rerun. Expired ads are not charged.

#### What am I not charged for?

Expired or broken video links, video links outside the Meta CDN, rows without media, music-only ads, videos longer than 3 minutes, failed ads and ads spoken in unsupported languages. Only rows with `status: ok` are charged.

#### What is the difference between the hook fields?

`hook.spoken` is what is said in the opening seconds of the video; `hook.on_screen` is the text shown on screen in the same seconds. Many ads open with on-screen text only, so one of the two can be `null`.

#### What does `days_active` tell me?

How many days the ad has been running, from its start date to its end date or to today if it is still live. Ads that run for weeks are usually the ones that perform.

#### Can I get the full script of an ad?

Yes, turn on `includeFullScript`. The script is the advertiser's own text: use it for analysis and research, not to republish it.

#### Are image ads supported?

Yes, when `includeStatic` is on. Image and text ads get angle, offer, CTA and summary from the ad copy and image, at a lower price than video ads.

#### Are the videos stored?

No. Videos are downloaded only to analyze them and deleted right after. The results are saved only in your Apify dataset and key-value store.

#### Can I use it from an API, Make, Zapier or n8n?

Yes. Like any Apify Actor it runs via the Apify API, the Python and JavaScript clients, Make, Zapier and n8n, and can call a webhook when a run finishes. You can also chain it after a scraper run with an Apify integration.

### Notes

- Use the results in line with Meta's terms and with data protection law. The Actor processes only ads that are public in the Meta Ad Library and returns no personal data beyond what the ad itself shows.
- Ad scripts, images and videos belong to their advertisers. The analysis is meant for research and competitive insight, not for copying or republishing creative work.
- Angles, hooks and summaries are produced by an AI model and can contain mistakes; check important conclusions on the original ad.

### Feedback

Found a problem or need a feature? Open an issue on the **Issues** tab: we answer within 24 hours. If the Actor saved you time, a **review** on this page helps other users find it.

# Actor input Schema

## `datasetId` (type: `string`):

Pick the dataset that a Facebook / Instagram Ad Library scraper produced: one of your runs, or a dataset shared with you. Up to 2000 ads. Leave empty to use the list below or to run the example.

## `ads` (type: `array`):

A list of ads, each one an object. The output of the common Ad Library scrapers is understood as it is (video links, text, page name, dates). A simple object also works: video_url, text, advertiser, start_date. Leave it empty, with no dataset, to run the free example: two static sample rows about invented text ads, nothing is analyzed.

## `includeStatic` (type: `boolean`):

Ads with no video (text and image only) are analyzed from their text, for a lower price per ad. When off, they get a free row with status no_media.

## `angleReport` (type: `boolean`):

After the ads, build a report for every advertiser with at least 10 analyzed ads: the angles they use, how many ads for each, how long they ran, examples and a short reading of the strategy. One charge per report. Saved as ANGLE_REPORT.json in the key-value store and as a row in the dataset. Not available on the free plan.

## `translateTo` (type: `string`):

The summary is always in English. Pick another language to get a translation of the summary and of the hook as well.

## `includeFullScript` (type: `boolean`):

Adds the complete spoken text of each video as the script field. The text belongs to the advertiser: use it for research and analysis, not to republish it.

## `maxItems` (type: `integer`):

The run analyzes at most this many ads (the first ones). Use it to cap the cost.

## Actor input object example

```json
{
  "includeStatic": true,
  "angleReport": false,
  "translateTo": "en",
  "includeFullScript": false,
  "maxItems": 100
}
```

# Actor output Schema

## `ads` (type: `string`):

No description

## `hooks` (type: `string`):

No description

## `angleReport` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "includeStatic": true,
    "angleReport": false,
    "translateTo": "en",
    "includeFullScript": false,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("smoxy/meta-ads-video-analyzer").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "includeStatic": True,
    "angleReport": False,
    "translateTo": "en",
    "includeFullScript": False,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("smoxy/meta-ads-video-analyzer").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "includeStatic": true,
  "angleReport": false,
  "translateTo": "en",
  "includeFullScript": false,
  "maxItems": 100
}' |
apify call smoxy/meta-ads-video-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,smoxy/meta-ads-video-analyzer"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/yVt0WEsa7keoCCZsk/builds/A8HhJD0TSDd63qhkj/openapi.json
