# Scrape Facebook Political Ads by Country

**Use case:** 

Export political and social-issue ads from Meta's Ad Library by country, with spend, impressions, and demographic reach. Built for journalists and researchers.

## Input

```json
{
  "urls": [],
  "keyword": "election",
  "country": "US",
  "mediaType": "all",
  "adType": "political_and_issue_ads",
  "period": "",
  "activeStatus": "all",
  "sortBy": "impressions_desc",
  "scrapeAdDetails": true,
  "resolveAdvertiser": false,
  "limitPerSource": 100,
  "enableCheckpoint": true,
  "maxConcurrency": 2,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "pageId": {
    "label": "Page id"
  },
  "pageName": {
    "label": "Page name"
  },
  "pageVerified": {
    "label": "Page verified"
  },
  "pageCategories": {
    "label": "Page categories"
  },
  "pageProfilePictureUrl": {
    "label": "Page profile picture url"
  },
  "adArchiveId": {
    "label": "Ad archive id"
  },
  "totalActiveTime": {
    "label": "Total active time"
  },
  "spendLowerBound": {
    "label": "Spend lower bound"
  },
  "spendUpperBound": {
    "label": "Spend upper bound"
  },
  "spendCurrency": {
    "label": "Spend currency"
  },
  "impressionsLowerBound": {
    "label": "Impressions lower bound"
  },
  "impressionsUpperBound": {
    "label": "Impressions upper bound"
  }
}
```

## About this Actor

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