hermosodocs

download_tiktok_ads_leads

Download the leads from a TikTok lead ad

Area: LEADS · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

DOWNLOAD THE ACTUAL LEADS — the names, emails and phone numbers people entered in a TikTok Instant Form. REGION IS REQUIRED AND THERE IS NO "ALL": TikTok keeps US, EEA/CH/UK and everywhere-else leads in three SEPARATE stores and returns only the one you name, so asking for the wrong one returns an empty file that reads exactly like "this ad got no leads". Run it once per region if the ad targets more than one. TikTok restricts lead download to ad-account ADMINS, so a refusal is a Business Center role rather than a broken connection and reconnecting will not fix it. Hermoso creates the download task, polls it and parses the CSV in ONE call because TikTok expires the generated file after 10 minutes. A task that has not finished, or a file TikTok zipped because it exceeded 10MB, is reported as "could not read" — never as "no leads". THE ROWS ARE PERSONAL DATA. Free.

Parameters

ParameterTypeDescription
advertiserIdstringTikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile
regionrequiredstringREQUIRED. "us" = the United States · "eu" = the EEA, Switzerland and the UK · "other" = every country EXCEPT those — "other" is a third bucket, NOT "everywhere". Check the ad group’s targeting if unsure.
pageIdstringevery lead on one Instant Form, from list_tiktok_ads_lead_forms
adIdstringjust that ad’s leads. Pass this OR pageId, never both — they are different scopes and TikTok would pick for you.
maxnumberrows to return, default 200, cap 500. The `total` field always reports how many the file actually held.

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/download_tiktok_ads_leads.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"download_tiktok_ads_leads","arguments":{"region":"<string>"}}}

CLI

hermoso call download_tiktok_ads_leads --json '{"region":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 759 Ad campaign management tools · tools.json