# Track Political Ad Spending on Facebook and Instagram

**Use case:** 

Political and issue ads carry data commercial ads do not: spend ranges, impression ranges, reach estimates and the funding entity behind them. This searches that category specifically. On a verified run every ad returned a spend range and currency. Figures are published as buckets such as $350K to $400K, never exact numbers, and currency varies by market.

## Input

```json
{
  "searchMode": "search_ads",
  "searchTerms": [
    "climate policy",
    "immigration reform"
  ],
  "countries": [
    "US"
  ],
  "status": "ALL",
  "mediaType": "ALL",
  "searchType": "keyword_unordered",
  "sortBy": "total_impressions",
  "languages": [],
  "adType": "political_and_issue_ads",
  "maxItems": 30,
  "maxItemsPerTerm": 0,
  "maxPagesPerQuery": 0,
  "enrichment": false,
  "longRunningDays": 30,
  "advertiserProfiles": false,
  "landingPageReport": false,
  "separateTables": false,
  "getTranscript": false,
  "trim": false,
  "llmAnalysis": false,
  "strategySummary": false,
  "llmModel": "claude-opus-5"
}
```

## Output

```json
{
  "_meta": {
    "label": "Mode / input",
    "format": "object"
  },
  "ad_archive_id": {
    "label": "Ad ID",
    "format": "string"
  },
  "adArchiveID": {
    "label": "Ad ID",
    "format": "string"
  },
  "page_name": {
    "label": "Page",
    "format": "string"
  },
  "pageName": {
    "label": "Page",
    "format": "string"
  },
  "name": {
    "label": "Company",
    "format": "string"
  },
  "is_active": {
    "label": "Active",
    "format": "boolean"
  },
  "isActive": {
    "label": "Active",
    "format": "boolean"
  },
  "publisher_platform": {
    "label": "Platforms",
    "format": "array"
  },
  "publisherPlatform": {
    "label": "Platforms",
    "format": "array"
  },
  "snapshot": {
    "label": "Creative",
    "format": "object"
  },
  "start_date_string": {
    "label": "Start",
    "format": "string"
  },
  "end_date_string": {
    "label": "End",
    "format": "string"
  },
  "startDateString": {
    "label": "Start",
    "format": "string"
  },
  "endDateString": {
    "label": "End",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Meta Ad Library Scraper - Facebook & Instagram [NO COOKIES] ✅](https://apify.com/unseenuser/meta-ads.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/unseenuser/meta-ads.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/unseenuser/meta-ads.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`).
