Apinoa Docs

Advertisers

Find advertisers in TikTok's Ad Library by name: each with the name and id that `ads` takes.

View raw .mdx
GET | POST /v1/tiktok-ads/advertisers

Send parameters as a query string with GET, or as a JSON body with POST. Both are equivalent.

Request

curl "https://gateway.apinoa.com/v1/tiktok-ads/advertisers?query=nike" \
  -H "x-api-key: $APINOA_API_KEY"

What to Pass

PassReadsNotes
queryAdvertisers whose name matchesThe suggestions the library's own search box gives

Parameters

ParameterTypeRequiredNotes
querystringAn advertiser's name, or part of it: the advertisers the library's search box suggests, each with the name and id that ads?advertiserName=&advertiser= take.

The same parameters, and every response type, are in the OpenAPI document.

Response

Returns AdvertiserPage in data. A real response, shortened: arrays keep their first entries and long text is cut.

{
  "success": true,
  "data": {
    "library": "tiktok-ads",
    "items": [
      {
        "library": "tiktok-ads",
        "id": "7587573238117498896",
        "name": "NIKE COM SRL"
      },
      {
        "library": "tiktok-ads",
        "id": "6876453864464188162",
        "name": "NIKE Retail B.V."
      }
    ],
    "ext": {
      "ad_keywords": []
    }
  }
}

Errors

StatusCodeMeaning
400INVALID_PARAMSA parameter is missing, unknown or out of range. The message names it.
401UNAUTHORIZEDThe x-api-key header is missing, or the key is revoked or unknown.
402INSUFFICIENT_CREDITSYour credits do not cover this call. Choose a plan or top up in the dashboard.
429MARKETPLACE_SATURATEDToo many concurrent calls. Retry after the Retry-After seconds.
502UPSTREAM_ERRORThe platform answered with something unusable. Retry with backoff.
503SERVICE_UNAVAILABLEA temporary failure. Retry with backoff.

Every code is listed in Errors. Failed calls are not billed.

Pricing

Price 1 credit per call. Plans and credits.

Notes

  • Pass an advertiser's name and id to ads as advertiserName and advertiser for every ad it ran.
  • One name can hold several ids, comma-separated, as the library lists them.
  • ext.ad_keywords is the search terms the library suggested alongside.

On this page