# Track Political Ads About Climate Policy on Facebook

**Use case:** 

Track current Facebook political and issue ads using a climate policy keyword search. Review ad text, advertiser names, run dates, placements, and available spend or impression ranges. Change searchTerms to follow another topic or campaign message.

## Input

```json
{
  "mode": "search",
  "searchTerms": [
    "climate policy"
  ],
  "country": "US",
  "adActiveStatus": "active",
  "adType": "political_and_issue_ads",
  "mediaType": "all",
  "searchType": "keyword_unordered",
  "sortBy": "relevance",
  "resultsPerSearch": 20,
  "maxItems": 20,
  "includeEuDetails": false,
  "rehostMedia": false,
  "onlyTotal": false
}
```

## Output

```json
{
  "ad_id": {
    "label": "Ad ID",
    "format": "text"
  },
  "page_name": {
    "label": "Page Name",
    "format": "text"
  },
  "ad_text": {
    "label": "Ad Text",
    "format": "text"
  },
  "start_date": {
    "label": "Started",
    "format": "text"
  },
  "status": {
    "label": "Status",
    "format": "text"
  },
  "media_type": {
    "label": "Media",
    "format": "text"
  },
  "cta_text": {
    "label": "CTA",
    "format": "text"
  },
  "link_url": {
    "label": "Link URL",
    "format": "link"
  },
  "publisher_platform": {
    "label": "Platforms",
    "format": "text"
  },
  "collation_count": {
    "label": "Creative Reuse",
    "format": "text"
  },
  "spend": {
    "label": "Spend",
    "format": "text"
  },
  "impressions": {
    "label": "Impressions",
    "format": "text"
  },
  "ad_snapshot_url": {
    "label": "Snapshot URL",
    "format": "link"
  },
  "search_term": {
    "label": "Search Term",
    "format": "text"
  }
}
```

## How it works

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

The Facebook Political & Commercial Ad Transparency Extractor Actor is ready to run with the inputs already set for "Track Political Ads About Climate Policy on Facebook". [Sign up or log in](https://console.apify.com/create-task-from-example/snszqdMVat0i34haA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Track Political Ads About Climate Policy on Facebook" task

The Facebook Political & Commercial Ad Transparency Extractor Actor will start running based on the input automatically. You can also change all the input fields, like mode, search terms, and more, to match your specific use case.

### 3. Receive the "Track Political Ads About Climate Policy on Facebook" 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 ad id, page name, 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 "Track Political Ads About Climate Policy on Facebook" task via API](https://apify.com/vexaloom-labs/facebook-political-and-commercial-ad-transparency.md).

## FAQ

### How do I find Facebook ads about climate policy in the US?

The Facebook climate ads task searches active US political and issue ads for “climate policy” and returns up to 20 results.

### What information does the Facebook Ad Library search return for climate ads?

Ad results in the Facebook climate ads task include advertiser, ad text, run dates, placements, media type, and any available spend or impression ranges.

### Can I change the keyword in a Facebook climate policy ad search?

Change the search phrase in the Facebook climate ads task to follow another topic or campaign message; each search term is searched separately.

### How many Facebook climate policy ads can I get in one run?

The Facebook climate ads task is capped at 20 ads total, even though its per-search limit is also 20.

### How much does it cost to get 20 Facebook political ad results?

On the Free plan, 20 results in the Facebook climate ads task add at most $0.02 in result charges, plus the $0.10 start event and Apify compute usage.

### Do I need a Facebook login or API key to search its Ad Library?

The Facebook climate ads task uses an anonymous guest session, so it needs no Facebook login, cookies, or Meta developer app.

### Can I download Facebook Ad Library results as a spreadsheet?

Results from the Facebook climate ads task can be downloaded as CSV or Excel, as well as JSON, XML, RSS, or an HTML table.

### How can I monitor Facebook climate policy ads on a schedule?

Run the Facebook climate ads task on an Apify Schedule to repeat the same US active-ad keyword search at scheduled times.

## About this Actor

This example demonstrates how to use [Facebook Political & Commercial Ad Transparency Extractor](https://apify.com/vexaloom-labs/facebook-political-and-commercial-ad-transparency.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/vexaloom-labs/facebook-political-and-commercial-ad-transparency.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/vexaloom-labs/facebook-political-and-commercial-ad-transparency.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`).
