# Get TikTok Ads Library report

Returns regional distribution and daily publication counts of ads between `start_time` and `end_time`. `region`, `advertiser_id`, and `query` narrow the scope; `lang` sets the label language.

- Platform: TikTok Ads Library
- Request: `GET https://api.toolzerhub.com/v1/tiktok-ads/reports`
- 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-reports

| Parameter | In | Required | Type | Description |
| --- | --- | --- | --- | --- |
| `region` | query | no | string | Use all for a global report, or a two-letter region code returned by /regions. Default: all. |
| `start_time` | query | yes | string | Inclusive start of the requested date range as a Unix timestamp in seconds. |
| `end_time` | query | yes | string | End of the requested date range as a Unix timestamp in seconds. Must be greater than or equal to start_time. |
| `lang` | query | no | enum: bg-BG, cs-CZ, da-DK, de-DE, el-GR, en-GB, en-US, es-ES, et-EE, fi-FI, fr-FR, hr-HR, hu-HU, it-IT, lt-LT, lv-LV, nb-NO, nl-NL, pl-PL, pt-PT, ro-RO, sk-SK, sl-SI, sv-SE | Locale used for translated region and display labels. Defaults to en-GB. Default: en-GB. |
| `advertiser_id` | query | no | string | Advertiser id from the /suggestions response. Send it with query (the advertiser name) to scope the report to one advertiser. |
| `query` | query | no | string | Advertiser name that goes with advertiser_id, as returned by /suggestions. |

## Example request

```bash
curl "https://api.toolzerhub.com/v1/tiktok-ads/reports?start_time=<start_time>&end_time=<end_time>" \
  -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.
