# Analyze Meta Ad Library Videos - Hook, Shots, Script & CTA

**Use case:** 

Break down video ads from the Facebook / Meta Ad Library: the first-3-second hook (speech + on-screen text), every shot with timecodes, the spoken script, on-screen text, pacing and CTA signals. Paste the ad video file links, or pick a Facebook Ads scraper dataset and every video ad in it is analysed with its page, ad ID and ad text.

## Input

```json
{
  "videoUrls": [
    "https://upload.wikimedia.org/wikipedia/commons/3/3c/Celebrities_Against_Smoking_Christy_Turlington_PSA.webm"
  ],
  "maxItems": 20,
  "language": "auto",
  "ocrLanguage": "en",
  "hookSeconds": 3,
  "maxDurationMinutes": 15,
  "maxVideoSizeMb": 1000,
  "downloadTimeoutSecs": 600,
  "onlyNewVideos": false,
  "watchlistName": "default",
  "flatColumns": false,
  "summaryRow": true
}
```

## Output

```json
{
  "contactSheetUrl": {
    "label": "Contact sheet",
    "format": "image"
  },
  "fileName": {
    "label": "File",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "durationSeconds": {
    "label": "Duration (s)",
    "format": "number"
  },
  "aspectRatio": {
    "label": "Aspect",
    "format": "text"
  },
  "hook.speech": {
    "label": "Hook speech",
    "format": "text"
  },
  "hook.onScreenTextJoined": {
    "label": "Hook on-screen text",
    "format": "text"
  },
  "pacing.shotCount": {
    "label": "Shots",
    "format": "number"
  },
  "pacing.cutsPerMinute": {
    "label": "Cuts / min",
    "format": "number"
  },
  "pacing.averageShotSeconds": {
    "label": "Avg shot (s)",
    "format": "number"
  },
  "pacing.wordsPerMinute": {
    "label": "Words / min",
    "format": "number"
  },
  "pacing.textOnScreenShare": {
    "label": "Text on screen (share)",
    "format": "number"
  },
  "cta.onScreenText": {
    "label": "CTA text",
    "format": "text"
  },
  "cta.speech": {
    "label": "CTA line",
    "format": "text"
  },
  "hookType": {
    "label": "Hook type",
    "format": "text"
  },
  "hookWords": {
    "label": "Hook words (why)",
    "format": "array"
  },
  "ctaType": {
    "label": "CTA type",
    "format": "text"
  },
  "pacingLabel": {
    "label": "Pacing",
    "format": "text"
  },
  "briefUrl": {
    "label": "Creative brief (.md)",
    "format": "link"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Video Ad Creative Breakdown - TikTok, Reels, YouTube & Files Actor is ready to run with the inputs already set for "Analyze Meta Ad Library Videos - Hook, Shots, Script & CTA". [Sign up or log in](https://console.apify.com/create-task-from-example/biMM7dm7JYkTWKzrB) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Analyze Meta Ad Library Videos - Hook, Shots, Script & CTA" task

The Video Ad Creative Breakdown - TikTok, Reels, YouTube & Files Actor will start running based on the input automatically. You can also change all the input fields, like video links, max videos from the dataset, and more, to match your specific use case.

### 3. Receive the "Analyze Meta Ad Library Videos - Hook, Shots, Script & CTA" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as contact sheet, file, status, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Analyze Meta Ad Library Videos - Hook, Shots, Script & CTA" task via API](https://apify.com/kantolabs/video-creative-breakdown.md).

## About this Actor

This example demonstrates how to use [Video Ad Creative Breakdown - TikTok, Reels, YouTube & Files](https://apify.com/kantolabs/video-creative-breakdown.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kantolabs/video-creative-breakdown.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/kantolabs/video-creative-breakdown.md

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`).
