# Check which political campaigns are running Meta ads

**Use case:** 

Screen a watchlist of political or issue pages for active Facebook and Instagram ads and the EU ad-reach figure Meta discloses for them. $3 per 1,000.

## Input

```json
{
  "pageQueries": [
    "nike.com",
    "adidas.com"
  ],
  "metaAccessToken": "<YOUR_SECRET>",
  "testRun": false,
  "onlyFound": false,
  "includeKeywords": [],
  "excludeKeywords": [],
  "returnAds": false,
  "maxAdsPerBrand": 50,
  "deltaMode": false,
  "alertOnNewAds": false,
  "deltaName": "",
  "columns": [
    "pageId",
    "pageName",
    "euReach",
    "activeAdCount"
  ],
  "maxConcurrency": 1
}
```

## Output

```json
{
  "query": {
    "label": "Page or domain submitted",
    "format": "string"
  },
  "found": {
    "label": "Found?",
    "format": "boolean"
  },
  "status": {
    "label": "Status",
    "format": "string"
  },
  "message": {
    "label": "Details",
    "format": "string"
  },
  "pageId": {
    "label": "Page ID",
    "format": "string"
  },
  "rowType": {
    "label": "Row type (brand = summary row, ad = one ad)",
    "format": "string"
  },
  "pageName": {
    "label": "Page name",
    "format": "string"
  },
  "activeAdCount": {
    "label": "Active ads found (this lookup: up to 50, or up to Max ads per brand with ad rows or monitoring on)",
    "format": "number"
  },
  "earliestActiveSince": {
    "label": "Earliest start date among ads found",
    "format": "string"
  },
  "platforms": {
    "label": "Platforms (Facebook / Instagram / Audience Network / Messenger)",
    "format": "array"
  },
  "sampleAdLibraryUrls": {
    "label": "Sample Ad Library links (public, no token)",
    "format": "array"
  },
  "euReach": {
    "label": "EU total reach (EU-targeted political/issue ads only)",
    "format": "number"
  },
  "adListComplete": {
    "label": "Whole active-ad list read (false = cut off at the cap)",
    "format": "boolean"
  },
  "newAdCount": {
    "label": "New ads since the last run (monitoring)",
    "format": "number"
  },
  "stoppedAdCount": {
    "label": "Ads stopped since the last run (monitoring)",
    "format": "number"
  },
  "stoppedAds": {
    "label": "Stopped ad IDs since the last run (monitoring)",
    "format": "array"
  },
  "adArchiveId": {
    "label": "Ad Library ID (ad rows)",
    "format": "string"
  },
  "adLibraryUrl": {
    "label": "Ad Library link (ad rows)",
    "format": "string"
  },
  "adStartedAt": {
    "label": "Ad running since (ad rows)",
    "format": "string"
  },
  "adStopsAt": {
    "label": "Ad scheduled end, if set (ad rows)",
    "format": "string"
  },
  "adCreatedAt": {
    "label": "Ad created (ad rows)",
    "format": "string"
  },
  "adPlatforms": {
    "label": "Ad platforms (ad rows)",
    "format": "array"
  },
  "adBodyText": {
    "label": "Ad body text (ad rows)",
    "format": "string"
  },
  "adTitle": {
    "label": "Ad link title / headline (ad rows)",
    "format": "string"
  },
  "adLinkCaption": {
    "label": "Ad link caption, usually the display domain (ad rows)",
    "format": "string"
  },
  "adLinkDescription": {
    "label": "Ad link description (ad rows)",
    "format": "string"
  },
  "adVersionCount": {
    "label": "Creative versions in this ad (ad rows)",
    "format": "number"
  },
  "adLanguages": {
    "label": "Ad languages (ad rows)",
    "format": "array"
  },
  "adEuReach": {
    "label": "Ad EU total reach, where Meta shows it (ad rows)",
    "format": "number"
  },
  "isNewAd": {
    "label": "New since the last run (ad rows, monitoring)",
    "format": "boolean"
  },
  "scrapedAt": {
    "label": "Checked at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta Ad Library Checker: Is a Brand Running Facebook Ads?](https://apify.com/accountable_eel/meta-ads-presence-lookup.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/accountable_eel/meta-ads-presence-lookup.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/accountable_eel/meta-ads-presence-lookup.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`).
