TikTok Ads API - Custom Audiences & Lookalikes w/Auto-Hashing
Pricing
from $0.01 / 1,000 results
TikTok Ads API - Custom Audiences & Lookalikes w/Auto-Hashing
Create & manage TikTok Custom Audiences. Upload customer files w/automatic SHA256 hashing, create lookalike audiences & manage segments for TikTok campaigns. Create a new custom audience Get details of a specific audience List all custom audiences Update audience name Delete a custom audience
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
The Howlers
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
18 days ago
Last modified
Categories
Share
TikTok Custom Audiences - TikTok Ads API
Create and manage TikTok Custom Audiences via TikTok Marketing API. Upload customer files with auto-hashing, create lookalike audiences, manage segments for TikTok advertising campaigns.
BYOK (Bring Your Own Key) -- you provide your own API credentials.
Before You Start
This actor requires your own API credentials to fetch real data.
Where to get your key: TikTok Marketing API access token
Quick Start
Run with real data
{"task": "list_audiences","accessToken": "YOUR_API_KEY_HERE","audienceType": "CUSTOMER_FILE","fileType": "EMAIL","isAlreadyHashed": false,"retentionDays": 365,"lookalikeType": "BALANCED"}
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
task | string | "list_audiences" | Yes* | The operation to perform |
accessToken | string | - | Yes* | TikTok Marketing API access token |
advertiserId | string | - | No | TikTok Ads advertiser account ID |
audienceId | string | - | No | ID of the custom audience to operate on |
audienceName | string | - | No | Name for the custom audience |
audienceType | string | "CUSTOMER_FILE" | No | Type of custom audience |
fileType | string | "EMAIL" | No | Type of customer identifiers being uploaded |
users | string | - | No | JSON array of user objects with email, phone, or device IDs |
isAlreadyHashed | boolean | false | No | Set to true if user data is already SHA256 hashed |
retentionDays | integer | 365 | No | Number of days to retain audience members (1-365) |
sourceAudienceId | string | - | No | Source audience for creating lookalike |
lookalikeType | string | "BALANCED" | No | Size of lookalike audience |
targetLocations | string | - | No | Comma-separated location IDs for lookalike targeting |
targetAdvertiserId | string | - | No | Advertiser ID to share audience with |
webhookUrl | string | - | No | URL to receive results via webhook |
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
| Audience Uploaded | Each TikTok custom audience uploaded | $0.02 |
Troubleshooting
"API key is required"
- Add your API key in the input
"API error 403" or "Unauthorized"
Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.
"API error 429" or "Rate limit"
Too many requests. Wait a minute and try again, or reduce the number of items per run.
No results or empty dataset
Check the run log for error messages. Common causes:
- Invalid input format (check the examples above)
- API key without proper permissions
- The target data doesn't exist or is too small to track
How do I test without an API key?
Run the actor without an access token, or set demoMode to true, and it returns labeled sample audience data showing the exact output format. Every sample item carries demo: true and a _notice field, and no calls are made to the TikTok API. Sample runs charge no task events; provide your own TikTok Marketing API credentials to receive live data.
Built by John Rippy | Actor Arsenal