# Get TikTok ads search suggestions

Returns advertiser and keyword suggestions matching `query` from the Ads Library. `suggest_type` picks ads (advertisers and keywords) or reports (advertisers only). Use the advertiser ID in Search or Reports.

- Platform: TikTok Ads Library
- Request: `GET https://api.toolzerhub.com/v1/tiktok-ads/suggestions`
- Auth: `x-api-key` header
- Cost: 1 credit per successful request. Failed requests are not billed.
- Page: https://docs.toolzerhub.com/reference/tiktok-ads-library/public-library/tik-tok-ads-suggestions

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `query` | query | yes | string | Text to match against advertiser names and ad keywords, for example a brand name. Results come from the Ads Library. |
| `suggest_type` | query | no | enum: ads, reports | Use ads for advertiser and keyword suggestions, or reports for advertiser-only suggestions. Default: ads. |
| `limit` | query | no | integer | Maximum number of suggestions to request, 1 to 20. Default: 20. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/tiktok-ads/suggestions?query=<query>" \
  -H "x-api-key: $TOOLZERHUB_API_KEY"
```

Success responses are wrapped as `{ "data": ... }`. Errors return `{ "error": { "code", "status", "message", "retryable", "details" } }`. See https://docs.toolzerhub.com/docs/responses-and-errors.
