Advertisers
Find advertisers in the Meta Ad Library by name: each with the id that ads takes as advertiser.
GET | POST /v1/meta-ads/advertisersSend parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.
Request
curl "https://gateway.apinoa.com/v1/meta-ads/advertisers?query=nike" \
-H "x-api-key: $APINOA_API_KEY"What to Pass
| Pass | Reads | Notes |
|---|---|---|
query | Advertisers by name | The advertiser or brand name, as you would type it into the Ad Library's search box |
country and adType narrow the search the way they narrow ads.
Parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
query | string | yes | An advertiser's name (or part of it): the advertisers the Ad Library's search box suggests, each with the id that ads?advertiser= takes. |
adType | enum | all (default), or one special category: political (social issues, elections or politics), housing, employment, credit. all political housing employment credit | |
country | string | Where the ads ran: an ISO 3166-1 alpha-2 code, or ALL (default). |
The same parameters, and every response type, are in the OpenAPI document.
Response
Returns an AdvertiserPage in data. A real response, shortened: arrays keep their first entries and long text is cut.
{
"success": true,
"data": {
"library": "meta-ads",
"items": [
{
"library": "meta-ads",
"id": "15087023444",
"url": "https://www.facebook.com/nike",
"name": "Nike",
"avatarUrl": "https://scontent-lga3-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868…",
"verified": true,
"ext": {
"handle": "nike",
"category": "Sportswear Store",
"likes": 39488470,
"verification": "BLUE_VERIFIED",
"entityType": "PERSON_PROFILE",
"igUsername": "nike",
"igFollowers": 290733139,
"igVerified": true,
"deleted": false
}
},
{
"library": "meta-ads",
"id": "51212153078",
"url": "https://www.facebook.com/nikefootball",
"name": "Nike Football",
"avatarUrl": "https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/387181570_86332575516…",
"verified": true,
"ext": {
"handle": "nikefootball",
"category": "Product/service",
"likes": 39922622,
"verification": "BLUE_VERIFIED",
"entityType": "PERSON_PROFILE",
"igUsername": "nikefootball",
"igFollowers": 44677977,
"igVerified": true,
"deleted": false
}
}
],
"ext": {
"keywords": [
"nike jordan",
"nike for kids"
],
"exactPhrase": "\"nike\""
}
}
}Errors
| Status | Code | Meaning |
|---|---|---|
| 400 | INVALID_PARAMS | A parameter is missing, unknown or out of range. The message names it. |
| 401 | UNAUTHORIZED | The x-api-key header is missing, or the key is revoked or unknown. |
| 402 | INSUFFICIENT_CREDITS | Your credits do not cover this call. Choose a plan or top up in the dashboard. |
| 429 | MARKETPLACE_SATURATED | Too many concurrent calls. Retry after the Retry-After seconds. |
| 502 | UPSTREAM_ERROR | The library answered with something unusable. Retry with backoff. |
Every code is listed in Errors. Failed calls are not billed.
Pricing
Price 1 credit per call. Plans and credits.
Notes
- Up to 15 advertisers per call, in the order the Ad Library suggests them. A name nothing matches returns an empty
items. - An advertiser is a Facebook Page.
idis whatadstakes asadvertiser;countryis where the Page is registered, when the Ad Library states it. - Each advertiser's
extcarries what only Meta states:handle(the Page's vanity name),category,likes,verification,entityType, the linked Instagram account (igUsername,igFollowers,igVerified) anddeleted. The answer's ownexthas the search box's keyword suggestions and the exact-phrase form of the query.