# Instagram Ads Scraper

**Use case:** 

Scrape Instagram ads via the Meta Ad Library by keyword. Export creatives, captions, CTAs and landing URLs across Instagram and Facebook.

## Input

```json
{
  "urls": [
    {
      "url": "https://www.facebook.com/ads/library/?active_status=all&ad_type=all&country=US&q=fashion&search_type=keyword_unordered&media_type=all"
    }
  ],
  "count": 100,
  "scrapeAdDetails": false,
  "cleanOutput": false,
  "scrapePageAds.activeStatus": "all",
  "scrapePageAds.period": "",
  "scrapePageAds.sortBy": "impressions_desc",
  "scrapePageAds.countryCode": "ALL",
  "debugMode": false
}
```

## Output

```json
{
  "page_name": {
    "label": "Advertiser",
    "format": "text"
  },
  "is_active": {
    "label": "Active",
    "format": "boolean"
  },
  "days_running": {
    "label": "Days live",
    "format": "number"
  },
  "cta": {
    "label": "CTA",
    "format": "text"
  },
  "landing_url": {
    "label": "Landing page",
    "format": "link"
  },
  "title": {
    "label": "Headline",
    "format": "text"
  },
  "image_urls": {
    "label": "Images",
    "format": "array"
  },
  "video_urls": {
    "label": "Videos",
    "format": "array"
  },
  "total_variants": {
    "label": "Variants",
    "format": "number"
  },
  "start_date_formatted": {
    "label": "Started",
    "format": "text"
  },
  "ad_library_url": {
    "label": "Ad Library",
    "format": "link"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta Ad Library Scraper](https://apify.com/silentflow/meta-ad-library-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/silentflow/meta-ad-library-scraper) to learn more, explore other use cases, and run it yourself.