---
title: "Ad libraries - Tools | SnowAI"
description: "Ad libraries tools on SnowAI. Ads a brand runs on Meta. 1 tool, each with its parameters, its price and a call to copy."
url: "https://trysnow.ai/docs/tools/ads"
---

# Ad libraries

> Ads a brand runs on Meta.

## Things to ask

Ask your agent in plain words. It picks the tool.

- What ads is Allbirds running on Facebook and Instagram right now?
- Do any of my competitors run Meta ads for 'crm software'? Show me the start dates.
- Which call to action does this brand use in its latest Meta ads?

## Tools in Ad libraries

1 tool. Prices are in credits; 1,000 credits are $1.

| Tool | Use it when | Cost |
| --- | --- | --- |
| [`ads_search_meta`](https://trysnow.ai/docs/tools/ads#ads_search_meta) | You need the ads a brand or keyword runs on Facebook and Instagram. | 1.65 credits per ad |

## Search the Meta Ad Library

Tool: `ads_search_meta` (read-only)

- **Good for**: You need the ads a brand or keyword runs on Facebook and Instagram.
- **Not the tool for**: Organic posts (use `facebook_get_posts`).
- **What you get**: Ads with advertiser, text, call to action, platforms, start date and whether they still run. Can take longer than a call allows: then it answers status "working" and the same call returns the ads shortly after.
- **Cost**: 1.65 credits per ad. Cached 24 hours: a cache hit costs 50% of the live price.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | `string` | Yes | A brand or keyword. |
| `country` | `string` | No | Two-letter country the ads run in. Default: the brand's country, else US. |
| `limit` | `integer` | No | How many ads to return, at most 100. Default 20. |

**Example: MCP**

```json
{
  "name": "ads_search_meta",
  "arguments": {
    "query": "Allbirds",
    "country": "US",
    "limit": 10
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/ads_search_meta \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "Allbirds",
  "country": "US",
  "limit": 10
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/ads_search_meta", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "Allbirds",
    "country": "US",
    "limit": 10
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/ads_search_meta",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "Allbirds",
        "country": "US",
        "limit": 10,
    },
)
print(response.json())
```

Every docs page as Markdown: https://trysnow.ai/llms.txt
