# Competitor Ads Monitor: Ad Creative Changes by Advertiser (`zaiq/ad-creative-change-monitor`) Actor

Compare two supplied ad snapshots by advertiser. See newly observed, changed, missing or explicitly inactive ads with before-and-after evidence and a concise report. No scraping or external AI.

- **URL**: https://apify.com/zaiq/ad-creative-change-monitor.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $800.00 / 1,000 advertiser comparisons

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

## Competitor Ad Creative Change Digest

![Competitor Ad Creative Change Digest: Compare two supplied ad snapshots by advertiser](https://api.apify.com/v2/key-value-stores/4VJNANhwKgqPpXtAi/records/hero-ad-creative-change-monitor.jpg)

Compare two ad exports and get a factual, evidence-linked digest for each advertiser. It reads JSON, CSV or private datasets you already own or are authorized to use.

The default is a synthetic demonstration with no comparison charge; Apify’s automatic startup fee still applies. Turn the demo off and supply both snapshots to compare your own data. No source sites are fetched and no data is sent to an external model.

### What you get

| Field | What it holds |
|---|---|
| Changes | Newly observed ads, field changes, possibly missing or unknown disappearances, and explicitly inactive source records |
| Evidence | Snapshot and row references, supplied observation times, before and after values |
| Coverage | Owner-supplied scope and completeness; unreported fields remain unknown |
| SUMMARY and REPORT.html | Run notes and a standalone readable report |
| Unknown fields | Missing values, conflicting aliases and unsupported media/card shapes are reported as unknown with row citations |

### What people use it for

- **Agency review:** Summarize factual changes across advertisers between exports
- **Creative history:** Compare copy, headlines, calls to action, media and landing destinations

### How to use it

1. Run the synthetic demo to inspect the format; the platform startup fee applies.
2. Turn off the demo and paste each export or select a dataset for each snapshot.
3. Inspect the dataset, free notes, SUMMARY and REPORT.html.
4. Select each private dataset with its picker (READ); select an existing private baseline store with its picker (READ and WRITE) if using a baseline. Legacy ID/name inputs remain for environments where access is already granted; they do not themselves grant limited-permission access. Use one source per snapshot. Ensure the selected store is already private; this Actor does not change its access settings. Run baseline jobs sequentially.

### Input

| Field | Example | Notes |
|---|---|---|
| Demo | on | Fictional data; no comparison charge, but the platform startup fee applies |
| Snapshots | JSON or CSV text | Each row needs advertiserPageId, advertiserId or advertiser name, and adId or creativeId |
| Datasets | dataset pickers or legacy names/IDs | One per side; accessible to this run, no token field |
| Baseline store | optional store picker or legacy name | Read a previously saved second snapshot; opt in to save a replacement after a complete run |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "recordType": "advertiser-comparison",
  "advertiser": "Fictional advertiser A",
  "demo": true,
  "counts": {
    "changed": 1,
    "newly-observed": 1,
    "possibly-missing": 1
  },
  "notes": [
    "Synthetic demonstration; source scope and observations are fictional."
  ]
}
```

The example is a fictional synthetic demonstration, not a real run on an advertiser. The run also writes a SUMMARY record and a standalone REPORT.html.

### Pricing

- The synthetic demo has no comparison charge; Apify’s automatic startup fee still applies.
- $1.00 per completed advertiser comparison. Apify automatically charges $0.00005 per started GB of configured memory, minimum one, per run including demos and failures.
- Only completed comparisons incur a comparison event; skipped or unavailable comparisons do not.

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| Synthetic demo | $0.00005 at 512 MB |
| One completed advertiser at 512 MB | $1.00005 |
| Two completed advertisers at 2 GB | $2.00010 |

A maximum cost below the next comparison plus Apify’s automatic startup fee leaves that comparison undelivered and writes a free note.

### Tips

- Use stable IDs and matching filters across snapshots.
- Provide scope and observation times; different coverage or periods can create apparent changes.
- Run sequentially when using the same named baseline store.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/ad-creative-change-monitor").call(run_input={"demo": true})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/ad-creative-change-monitor').call({"demo": true});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~ad-creative-change-monitor/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"demo": true}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server (`https://mcp.apify.com`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for a comparison of two supplied ad snapshots. AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- The Actor does not collect ads, infer performance or spend, or identify why an ad is absent.
- Only fields present in both observations can be compared. Duplicate identities within an advertiser are ambiguous and not charged.
- Coverage assertions and source rights are the buyer’s responsibility; completeness is not independently verified.
- Snapshots are limited to 10,000 rows each. Select private datasets explicitly so the Actor can read them.
- Named baseline writes are last-writer-wins; run jobs sequentially. If billing is uncertain, the run stops paid comparisons and preserves existing results and baseline for manual review; a spending-limit stop is reported separately.
- When the first snapshot is incomplete or scopes differ, a later-only record is a new observation with unknown prior coverage.
- Zaiq Facebook Ads exports: advertiserPageId, text, title, ctaText, ctaType, linkUrl, images and videos are supported. Images must be URL arrays; videos must be arrays of objects with hd, sd and preview URL fields. Null values are unknown.
- Cards are not compared, including carousel and catalogue card contents. Unsupported media shapes and invalid URLs are unknown; URLs are displayed as text and never fetched. Source references do not establish permission.
- Differences cite each snapshot and row and identify the input field names. Observation times and coverage are supplied separately for datasets; scrapedAt is not automatically used as snapshot time.

### FAQ

**What does possibly missing mean?**

The second complete, matching-scope export lacks a previously observed identity. This does not establish that it stopped.

**What does source inactive mean?**

The second snapshot explicitly supplied a recognized inactive state; it is not an inference.

**Are first observations new ads?**

They are newly observed in the supplied later snapshot, not necessarily newly created.

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: ad creative change digest, competitor ad comparison, creative snapshot monitoring.

# Actor input Schema

## `demo` (type: `boolean`):

Runs fictional snapshots and ignores supplied snapshots. Apify’s automatic startup fee still applies. Switch off to use your own data.

## `firstSnapshot` (type: `string`):

Paste a JSON array, a JSON object with items and optional observedAt, coverageComplete and scope, or a CSV table. Leave blank if using a dataset ID or saved baseline. Maximum 5 MB UTF-8 and 10,000 rows.

## `secondSnapshot` (type: `string`):

Paste the later JSON or CSV export. No source sites are contacted. Maximum 5 MB UTF-8 and 10,000 rows.

## `firstDatasetId` (type: `string`):

Optional private Apify dataset ID accessible to this run; do not paste a token. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `secondDatasetId` (type: `string`):

Optional private Apify dataset ID accessible to this run; do not paste a token. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `firstObservedAt` (type: `string`):

Optional buyer-supplied timestamp for a dataset snapshot.

## `secondObservedAt` (type: `string`):

Optional buyer-supplied timestamp for a dataset snapshot.

## `scope` (type: `string`):

Optional matching source, query, geography and filters for both datasets; identical scope is an owner assertion.

## `firstCoverageComplete` (type: `boolean`):

Owner asserts the first dataset is complete for the stated scope.

## `secondCoverageComplete` (type: `boolean`):

Owner asserts the second dataset is complete for the stated scope. Absence still does not mean an ad stopped.

## `baselineStoreName` (type: `string`):

Optional named Apify key-value store. If the first snapshot is empty, read its baseline; saving is separately enabled. Use one project per store and run sequentially. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `saveBaseline` (type: `boolean`):

Replace the baseline only after all comparisons succeed. Store the buyer’s data in their named Apify key-value store; do not run overlapping jobs against it.

## `firstDatasetName` (type: `string`):

Optional named private dataset accessible to this run; use a name or ID or pasted text, not more than one. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `secondDatasetName` (type: `string`):

Optional named private dataset accessible to this run; use a name or ID or pasted text, not more than one. Legacy input: it does not itself grant limited-permission access; use the corresponding resource picker for private storage.

## `firstDataset` (type: `string`):

Select the existing buyer dataset for the first snapshot. Use only one source per snapshot.

## `secondDataset` (type: `string`):

Select the existing buyer dataset for the second snapshot. Use only one source per snapshot.

## `baselineStore` (type: `string`):

Select an existing private store to read and optionally replace BASELINE. Use a separate private store per project; run sequentially.

## Actor input object example

```json
{
  "demo": true,
  "firstSnapshot": "",
  "secondSnapshot": "",
  "firstDatasetId": "",
  "secondDatasetId": "",
  "firstObservedAt": "",
  "secondObservedAt": "",
  "scope": "",
  "firstCoverageComplete": false,
  "secondCoverageComplete": false,
  "baselineStoreName": "",
  "saveBaseline": false,
  "firstDatasetName": "",
  "secondDatasetName": ""
}
```

# Actor output Schema

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

Dataset: the results.

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

What each input returned, and notes.

## `report` (type: `string`):

A one-page view of the results to open in a browser.

# 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 = {
    "demo": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/ad-creative-change-monitor").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 = { "demo": True }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/ad-creative-change-monitor").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 '{
  "demo": true
}' |
apify call zaiq/ad-creative-change-monitor --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,zaiq/ad-creative-change-monitor"
        }
    }
}
```

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/oRxYaMufc6QdNeshz/builds/h3ndNS8x6sAkHc8YA/openapi.json
