# Meta Ad Library keyword search: new ads in the UK

**Use case:** 

Searches the Meta Ad Library for a product or brand keyword and returns the active Facebook and Instagram ads delivered in the United Kingdom, with advertiser, ad copy, links, media and platforms. Change the keyword or country; schedule it as a new-launch feed.

## Input

```json
{
  "pageIds": [
    "15087023444"
  ],
  "keywords": [
    "running shoes"
  ],
  "keywordSearchType": "keyword_unordered",
  "country": "GB",
  "monitorName": "task-keyword-uk",
  "mode": "AUTO",
  "maxAdsPerPage": 30,
  "outputMode": "ALL_CHECKED",
  "includeBaseline": false,
  "includeTentative": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "failOnAllTargetsFailed": true
}
```

## Output

```json
{
  "status": {
    "label": "Status",
    "format": "string"
  },
  "advertiserName": {
    "label": "Page",
    "format": "string"
  },
  "creativeId": {
    "label": "Ad Library ID",
    "format": "string"
  },
  "format": {
    "label": "Format",
    "format": "string"
  },
  "platforms": {
    "label": "Platforms",
    "format": "array"
  },
  "firstShown": {
    "label": "Started",
    "format": "string"
  },
  "lastShown": {
    "label": "Last seen",
    "format": "string"
  },
  "headline": {
    "label": "Headline",
    "format": "string"
  },
  "body": {
    "label": "Primary text",
    "format": "string"
  },
  "destinationUrl": {
    "label": "Destination URL",
    "format": "string"
  },
  "primaryAssetUrl": {
    "label": "Primary creative asset",
    "format": "string"
  },
  "sourceUrl": {
    "label": "Ad Library source",
    "format": "string"
  },
  "detectedAt": {
    "label": "Detected at",
    "format": "string"
  }
}
```

## How it works

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

The Facebook Ad Library Scraper - Meta Ads Monitor & New Ads Alert Actor is ready to run with the inputs already set for "Meta Ad Library keyword search: new ads in the UK". [Sign up or log in](https://console.apify.com/create-task-from-example/PStfRlLqfDzI5lnYd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Meta Ad Library keyword search: new ads in the UK" task

The Facebook Ad Library Scraper - Meta Ads Monitor & New Ads Alert Actor will start running based on the input automatically. You can also change all the input fields, like facebook page ids, page urls, or ad library urls (optional when keywords are set), keywords (optional), and more, to match your specific use case.

### 3. Receive the "Meta Ad Library keyword search: new ads in the UK" 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 status, page, ad library 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 "Meta Ad Library keyword search: new ads in the UK" task via API](https://apify.com/kamerozkan/facebook-ad-library-change-monitor.md).

## About this Actor

This example demonstrates how to use [Facebook Ad Library Scraper - Meta Ads Monitor & New Ads Alert](https://apify.com/kamerozkan/facebook-ad-library-change-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/kamerozkan/facebook-ad-library-change-monitor.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/kamerozkan/facebook-ad-library-change-monitor.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`).
