# Active US Ads for Running Shoes

**Use case:** 

Export active Facebook and Instagram ads about running shoes in the US with advertiser, ad text, landing page and Ad Library link.

## Input

```json
{
  "searches": [
    {
      "query": "running shoes"
    }
  ],
  "country": "US",
  "active_status": "ACTIVE",
  "maxResults": 50
}
```

## Output

```json
{
  "page_profile_picture_url": {
    "label": "Advertiser logo",
    "format": "image"
  },
  "page_name": {
    "label": "Advertiser",
    "format": "text"
  },
  "text": {
    "label": "Ad text",
    "format": "text"
  },
  "title": {
    "label": "Headline",
    "format": "text"
  },
  "cta_text": {
    "label": "Call to action",
    "format": "text"
  },
  "link_url": {
    "label": "Landing page",
    "format": "link"
  },
  "display_format": {
    "label": "Format",
    "format": "text"
  },
  "is_active": {
    "label": "Active",
    "format": "boolean"
  },
  "ad_delivery_start_time": {
    "label": "Started",
    "format": "date"
  },
  "ad_delivery_stop_time": {
    "label": "Stops",
    "format": "date"
  },
  "publisher_platforms": {
    "label": "Platforms",
    "format": "array"
  },
  "page_like_count": {
    "label": "Page likes",
    "format": "number"
  },
  "ad_library_url": {
    "label": "Ad Library link",
    "format": "link"
  },
  "ad_archive_id": {
    "label": "Ad ID",
    "format": "text"
  },
  "search_query": {
    "label": "Search",
    "format": "text"
  }
}
```

## How it works

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

The Facebook Ad Library Scraper Actor is ready to run with the inputs already set for "Active US Ads for Running Shoes". [Sign up or log in](https://console.apify.com/create-task-from-example/kx1kQfVn7OhhCI5AM) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Active US Ads for Running Shoes" task

The Facebook Ad Library Scraper Actor will start running based on the input automatically. You can also change all the input fields, like searches, country, and more, to match your specific use case.

### 3. Receive the "Active US Ads for Running Shoes" 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 advertiser logo, advertiser, ad text, 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 "Active US Ads for Running Shoes" task via API](https://apify.com/thescrappa/facebook-ad-library-scraper.md).

## About this Actor

This example demonstrates how to use [Facebook Ad Library Scraper](https://apify.com/thescrappa/facebook-ad-library-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/thescrappa/facebook-ad-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/thescrappa/facebook-ad-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`).
