# Ad Creative-Angle Analyzer — CTA, Offer, Hook, Triggers (`bovi/ad-creative-angle-analyzer`) Actor

Turn ad copy into structured marketing analysis: CTA type, offer type, hook style, emotional triggers (urgency/scarcity/social-proof/curiosity/authority/fear) and a primary angle. Works on any Ad Library scraper's output or raw pasted text. Per-result pricing.

- **URL**: https://apify.com/bovi/ad-creative-angle-analyzer.md
- **Developed by:** [Vitalii Bondarev](https://apify.com/bovi) (community)
- **Categories:** Marketing, AI
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $28.95 / 1,000 ad angle 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

## Ad Creative-Angle Analyzer — CTA, Offer, Hook, Emotional Triggers

Turn ad copy — from **any** Ad Library scraper's output or pasted raw text —
into **one structured marketing-analysis record**:

| Field | Example |
|---|---|
| `cta_type` | shop / signup / learn\_more / download / book / contact / subscribe / apply / watch |
| `offer_type`, `offer_detail` | discount\_percent, "20% off" |
| `hook_style` | question / statistic / testimonial / problem / bold\_claim / plain |
| `emotional_triggers` | \["urgency", "social\_proof"] |
| `primary_angle` | the single dominant trigger, or `benefit_led` |
| `urgency_score` | 0..1 |

### Why this exists

Ad Library scrapers (Meta, TikTok, Google) hand you the raw ad copy but not the
*strategy* behind it. This actor is the enrichment layer: feed it any ad record
you already have and get back the marketing angle — which CTA family it uses,
what kind of offer, how it opens, which psychological triggers it leans on.
Pair it with `meta-ads-library-scraper` (or any competitor's output): scrape →
analyze → build a swipe file of what's actually working.

Zero new access: this actor never makes a network request. It is pure text
analysis, so it never rate-limits, never breaks on a site redesign, and never
needs a proxy.

### Input

```json
{
  "adItems": [
    {
      "ad_archive_id": "123456",
      "page_name": "Acme Fitness",
      "ad_creative_bodies": ["Only 3 spots left! Join 10,000+ members who transformed in 90 days. Sign up now."],
      "cta_text": "Sign Up",
      "link_url": "https://acmefitness.com/offer"
    }
  ],
  "adTexts": [
    "What nobody tells you about home workouts... 30% off your first month, today only."
  ]
}
```

- `adItems` — structured ad records. A `meta-ads-library-scraper` row works
  directly (`ad_creative_bodies`, `cta_text`, `ad_creative_link_titles`,
  `ad_creative_link_descriptions`, `page_name`, `ad_archive_id`, `link_url`);
  a simpler custom shape (`body`/`cta`/`pageName`/...) is also recognized.
- `adTexts` — raw ad copy strings, when you don't have structured fields.
- `maxItems` — safety cap (default 1000).

### Output

One record per ad with the fields above plus `trigger_hits` (category → match
count), `social_proof_present`, `scarcity_present`, `fields_extracted` and
`parse_confidence`.

### Pricing

Per-result (`ad-angle-analyzed` event) — pay only for ads actually analyzed.

# Actor input Schema

## `adItems` (type: `array`):

Ad records from any Ad Library scraper (a meta-ads-library-scraper row works directly). Recognized fields: ad\_creative\_bodies/body, cta\_text/cta, ad\_creative\_link\_titles/linkTitle, ad\_creative\_link\_descriptions/linkDescription, page\_name/pageName, ad\_archive\_id/adArchiveId, link\_url/linkUrl.

## `adTexts` (type: `array`):

Raw ad copy text to analyze directly, when you don't have structured fields.

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

Safety cap on how many ads to process in one run.

## Actor input object example

```json
{
  "adItems": [],
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

Dataset of ad-angle analyses (cta\_type, offer\_type, hook\_style, emotional\_triggers, primary\_angle, urgency\_score).

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("bovi/ad-creative-angle-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("bovi/ad-creative-angle-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 '{}' |
apify call bovi/ad-creative-angle-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bovi/ad-creative-angle-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/edF1PHsN3TITbXErj/builds/fFF0rip49Ey2MCLqA/openapi.json
