# Track competitor TikTok ad targeting and audience data

**Use case:** 

Get detailed TikTok ad data for any advertiser: targeting by location, age and gender, audience size, and campaign metadata for competitive ad intelligence.

## Input

```json
{
  "startUrl": "https://library.tiktok.com/ads?region=ES&search_key=nike&query_type=1",
  "mode": "search_ads",
  "searchQuery": "adidas",
  "queryType": "keyword",
  "region": "all",
  "maxResults": 10,
  "startDate": "31 days",
  "endDate": "0 days",
  "includeDetails": true,
  "sortBy": "last_shown_date,desc",
  "requestDelay": 500
}
```

## Output

```json
{
  "adId": {
    "label": "Ad ID",
    "format": "string"
  },
  "advertiserName": {
    "label": "Advertiser",
    "format": "string"
  },
  "adTotalRegions": {
    "label": "Regions",
    "format": "integer"
  },
  "targetingAudienceSize": {
    "label": "Audience size",
    "format": "string"
  },
  "targetingByLocation": {
    "label": "By location",
    "format": "array"
  },
  "targetingByAge": {
    "label": "By age",
    "format": "array"
  },
  "targetingByGender": {
    "label": "By gender",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [TikTok Ad Library Scraper](https://apify.com/rastriq/tiktok-ad-library-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/rastriq/tiktok-ad-library-scraper) to learn more, explore other use cases, and run it yourself.