# Competitor Ad Report – Google & Meta Ad Library Spy (`yck69/competitor-ad-report`) Actor

See your competitors' ads from the Google Ads Transparency Center and Meta Ad Library: new creatives, longest-running ads, hooks, offers and CTAs with evidence links, an HTML report and only-new alerts.

- **URL**: https://apify.com/yck69/competitor-ad-report.md
- **Developed by:** [yck](https://apify.com/yck69) (community)
- **Categories:** Marketing, Business
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 ads analyzed

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/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

## Competitor Ad Report – Google & Meta Ad Library Spy

https://www.youtube.com/watch?v=zLXqet4LSOQ

**What does Competitor Ad Report do?** It shows what your competitors are advertising right now. Give it a brand name or a domain: it pulls their ads from the public **Google Ads Transparency Center** (Search, YouTube, Display, Shopping) and, with your own token, the official **Meta Ad Library** (Facebook, Instagram, Messenger), then turns them into a decision-ready report: **new creatives, longest-running ads, hooks, offers and calls to action**, each with a link to the original ad as evidence.

- **New ads**: every ad first shown inside your window (7, 30, 90 days…) is flagged, so you see launches and seasonal pushes as they happen.
- **Longest-running ads**: ads that stayed live for weeks are usually the winners; they're ranked per competitor and source.
- **Hooks, offers and CTAs**: question, problem–solution, social proof, urgency, how-to, comparison, testimonial; % or amount discounts, free shipping, free trial, BOGO, guarantee; "Shop now", "Sign up"… Each label quotes the words that triggered it. No AI guesswork.
- **A shareable HTML report** with per-competitor summaries and creative cards, plus a `SUMMARY` JSON for dashboards.
- **Only-new alerts**: schedule it daily or weekly and get only the ads you haven't seen yet.

Built for media buyers, DTC brand teams, creative strategists, agencies preparing pitches and market researchers. A cheap, transparent alternative to paid ad-spy tools.

### What data can you get?

<table>
<tr><td>🏢 Advertiser and competitor</td><td>🎨 Creative copy and format</td><td>🆕 New-ad flag</td></tr>
<tr><td>⏳ Observed run time</td><td>🏆 Longest-running rank</td><td>🧲 Hook and evidence</td></tr>
<tr><td>🏷️ Offer and evidence</td><td>👆 CTA and evidence</td><td>🔗 Source evidence URL</td></tr>
<tr><td>🖼️ Available media preview</td><td>📊 HTML report and summary</td><td>🔔 Only-new alerts</td></tr>
</table>

### How to use it

1. Click **Try for free** and open the Actor.
2. Add a **competitor domain, brand name or Google advertiser ID**.
3. Keep Google (no token), or add your **Meta Ad Library token** for Facebook and Instagram.
4. Choose the sample size and the new-ad window, then click **Start**.
5. Open the **HTML report**, export the dataset, or schedule **only-new alerts**.

### Input examples

**Google only, no token needed (try this first)**

```json
{
  "brands": ["gymshark.com"],
  "platforms": ["google"],
  "maxAdsPerBrand": 12,
  "newWithinDays": 30
}
```

**Several competitors, Google + Meta, ads delivered in France**

```json
{
  "brands": ["gymshark.com", "Myprotein", "Decathlon"],
  "platforms": ["google", "meta"],
  "maxAdsPerBrand": 25,
  "country": "FR",
  "newWithinDays": 7,
  "metaAccessToken": "YOUR_META_AD_LIBRARY_TOKEN"
}
```

**Weekly alert: only ads you haven't seen before**

```json
{
  "brands": ["gymshark.com"],
  "platforms": ["google"],
  "onlyNew": true,
  "alertName": "gymshark-weekly"
}
```

The first alert run saves a baseline and returns no rows; later runs return only new ad IDs. Use a different `alertName` for each independent monitor.

### Output

<p align="center"><img src="https://api.apify.com/v2/key-value-stores/zT1EJ1dwSrsWcMvrQ/records/competitor-ad-report--output.jpg" width="80%" alt="Output example"></p>

Every run also saves a shareable **REPORT** page:

One row per ad, plus `REPORT` (HTML) and `SUMMARY` (JSON) in the run's key-value store. Real row from the first example (November 2026):

```json
{
  "brand": "gymshark.com",
  "platform": "google",
  "advertiserName": "Gymshark Ltd",
  "headline": "Loungewear Femme - Tenue d’Intérieur Cocooning - Gymshark",
  "body": "Cocooning et douces, nos tenues loungewear femme sont faites pour chiller…",
  "destinationUrl": "fr.gymshark.com",
  "format": "text",
  "firstShownAt": "2026-11-17",
  "lastShownAt": "2026-11-24",
  "observedRunDays": 7,
  "isNew": true,
  "hook": "Not detected",
  "offer": "Not detected",
  "cta": "Not detected",
  "sourceUrl": "https://adstransparency.google.com/advertiser/AR05501100765344694273/creative/CR08795336738596716545?region=anywhere"
}
```

| Field | Meaning |
|---|---|
| `platform` | `google` or `meta`. |
| `headline`, `body`, `description`, `ctaText` | Ad copy when the source provides it (image-only or video creatives can have little text). |
| `format` | `text`, `image` or `video`; `previewUrl` and `mediaUrl` link to the creative. |
| `firstShownAt`, `lastShownAt`, `observedRunDays` | Dates reported by the ad library, and the observed run time between them. |
| `isNew` | First shown inside `newWithinDays`. `null` when the source gives no start date (never guessed). |
| `isLongestRunning`, `longestRunningRank` | Rank by observed run time within the competitor and source. |
| `hook`, `offer`, `cta` + `…Evidence` | Rule-based label and the exact words that matched. `Not detected` means no rule matched. |
| `publisherPlatforms` | Where it ran: Google, YouTube, Facebook, Instagram… |
| `sourceUrl` | The ad in the official library: your evidence. |

### How much does it cost?

**$2 per 1,000 ads analyzed** ($0.002 per ad returned), plus a tiny start fee. The example above (12 ads) costs about $0.03. Sources that aren't configured or fail are never charged.

### Meta Ad Library setup (optional)

Meta is read through its **official Ad Library API** (`ads_archive`), never scraped. You need a free Meta developer account with Ad Library API access and a user access token; paste it in `metaAccessToken` (stored as a secret input). Meta's API returns all ads delivered in the **EU and UK**, and political or issue ads elsewhere. Without a token, Meta shows as *not configured* in the report, never as "0 ads".

### More Actors from this developer

### FAQ

##### Where does the data come from?

From the **Google Ads Transparency Center**, Google's public library of ads from verified advertisers, and the **Meta Ad Library API**. Only advertiser-published ad metadata is collected.

##### Why doesn't my competitor show up on Google?

Search by the exact domain they advertise (`gymshark.com`) or by their Google advertiser ID (`AR…`, visible in the Transparency Center URL). Brand names with several advertisers return the best match.

##### Can I see spend, impressions or ROAS?

No ad library publishes spend or results for commercial ads. "Longest-running" is the best public proxy: advertisers rarely keep paying for ads that don't work.

##### What happened to TikTok?

TikTok's Creative Center needs a logged-in session and its EU ad library forbids automated access, so it isn't included.

##### How are hooks and offers detected?

With transparent keyword rules (English and common European wording). Every label comes with the matched words, so you can check it in a second.

##### Can I use it through the API, Make, Zapier or Google Sheets?

Yes. Every run can be started and read through the [Apify API](https://docs.apify.com/api/v2) (JavaScript and Python clients, CLI, MCP), and Apify integrations connect it to Make, Zapier, n8n, Google Sheets, Slack, webhooks and more.

##### Is it legal to use this data?

The Actor only reads public or official open data and doesn't log in anywhere. Check the source's licence and your local rules (for example GDPR when data concerns people) for your use case; if in doubt, ask a lawyer.

##### Something isn't working, or you need another field?

Open an issue on the **Issues** tab: feedback is read and answered.

# Actor input Schema

## `brands` (type: `array`):

Up to 10 competitor names or domains (gymshark.com, Nike…). Google also accepts an AR… advertiser ID; Meta uses these as search terms.

## `platforms` (type: `array`):

Google needs nothing. Meta needs your own Ad Library API token; without it Meta is reported as not configured, never as zero ads.

## `maxAdsPerBrand` (type: `integer`):

Google fetches one detail request per creative, so smaller samples finish faster.

## `country` (type: `string`):

ALL or a two-letter ISO code, applied to Meta (its API covers ads delivered in the EU and political/issue ads elsewhere). Google uses its worldwide advertiser view.

## `newWithinDays` (type: `integer`):

Flags ads whose source-provided first-shown or delivery-start date is within this window.

## `onlyNew` (type: `boolean`):

The first run establishes a baseline and returns no rows. Later runs return ad IDs not seen before for this alert.

## `alertName` (type: `string`):

Use different names for independent monitors sharing the same input.

## `metaAccessToken` (type: `string`):

Optional. Your own token with ads_read and a verified Meta developer app. Required only when meta is selected.

## `proxyConfiguration` (type: `object`):

Direct access is the default. Use residential Apify Proxy if Google rate-limits your network.

## Actor input object example

```json
{
  "brands": [
    "gymshark.com"
  ],
  "platforms": [
    "google"
  ],
  "maxAdsPerBrand": 6,
  "country": "ALL",
  "newWithinDays": 7,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

## `report` (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 = {
    "brands": [
        "gymshark.com"
    ],
    "platforms": [
        "google"
    ],
    "maxAdsPerBrand": 6,
    "country": "ALL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("yck69/competitor-ad-report").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 = {
    "brands": ["gymshark.com"],
    "platforms": ["google"],
    "maxAdsPerBrand": 6,
    "country": "ALL",
}

# Run the Actor and wait for it to finish
run = client.actor("yck69/competitor-ad-report").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 '{
  "brands": [
    "gymshark.com"
  ],
  "platforms": [
    "google"
  ],
  "maxAdsPerBrand": 6,
  "country": "ALL"
}' |
apify call yck69/competitor-ad-report --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yck69/competitor-ad-report"
        }
    }
}
```

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/1cYGFkYvhB0PHg3wc/builds/3VO1ah743BnccAz6H/openapi.json
