API · Facebook
GET /facebook/ads/advertisers/search
Find advertisers (Facebook Pages) in the Meta Ad Library by name.
| Request | GET /v1/facebook/ads/advertisers/search |
| Operation id | facebook.ads.search_advertisers |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Find advertisers (Facebook Pages) in the Meta Ad Library by name.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Advertiser name. Example: nike. |
country | string | no | ISO 3166-1 alpha-2 country the ads reached (US, GB, DE…), or ALL (default). |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching advertisers and keyword suggestions. | FacebookAdvertiserSearch |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The ad, Page or advertiser is not in the Meta Ad Library. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Facebook is temporarily unavailable. Retryable; nothing was charged. | Error |
FacebookAdvertiserSearch fields
| Field | Type | Description |
|---|---|---|
page_results | FacebookAdvertiser[] | |
keyword_results | string[] | Keyword suggestions the Ad Library offers for the query. |
Errors use one shape everywhere; see Errors for every code and what to do.