# Find Inactive Facebook Ads for an Advertiser

**Use case:** 

Filter by inactive status to inspect ads that Meta still exposes for an advertiser. The example uses Nike’s Page and Germany. Availability varies by country and ad category, and an inactive search can return zero results.

## Input

```json
{
  "searchQuery": "nike",
  "pageIds": [
    "15087023444"
  ],
  "countries": [
    "DE"
  ],
  "activeStatus": "inactive",
  "adType": "all",
  "mediaType": "all",
  "maxAds": 20,
  "downloadMedia": false,
  "onlyNewOrChanged": false,
  "maxConcurrency": 1,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

## Output

```json
{
  "adArchiveId": {
    "label": "Ad Library ID",
    "format": "string"
  },
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "advertiserPageId": {
    "label": "Advertiser Page ID",
    "format": "string"
  },
  "activeStatus": {
    "label": "Status",
    "format": "string"
  },
  "startedAt": {
    "label": "Started",
    "format": "string"
  },
  "endedAt": {
    "label": "Ended",
    "format": "string"
  },
  "platforms": {
    "label": "Platforms",
    "format": "array"
  },
  "body": {
    "label": "Primary text",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "cta": {
    "label": "Call to action",
    "format": "string"
  },
  "destinationUrl": {
    "label": "Destination url",
    "format": "string"
  },
  "imageUrls": {
    "label": "Image urls",
    "format": "array"
  },
  "videoUrls": {
    "label": "Video urls",
    "format": "array"
  },
  "variantCount": {
    "label": "Variant count",
    "format": "integer"
  },
  "firstSeenAt": {
    "label": "First seen at",
    "format": "string"
  },
  "lastSeenAt": {
    "label": "Last seen at",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Ad URL",
    "format": "string"
  }
}
```

## How it works

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

The Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring Actor is ready to run with the inputs already set for "Find Inactive Facebook Ads for an Advertiser". [Sign up or log in](https://console.apify.com/create-task-from-example/cf1TNH77aVdwff1nv) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find Inactive Facebook Ads for an Advertiser" task

The Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring Actor will start running based on the input automatically. You can also change all the input fields, like search query, advertiser page ids, and more, to match your specific use case.

### 3. Receive the "Find Inactive Facebook Ads for an Advertiser" 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 ad library id, advertiser, advertiser page id, 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 "Find Inactive Facebook Ads for an Advertiser" task via API](https://apify.com/builtbysaif/meta-ads-library-scraper.md).

## About this Actor

This example demonstrates how to use [Facebook Ads Library Scraper – Meta Ads & Competitor Monitoring](https://apify.com/builtbysaif/meta-ads-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/builtbysaif/meta-ads-library-scraper.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/builtbysaif/meta-ads-library-scraper.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`).
