hermosodocs

delete_tiktok_ads_comment

Delete your OWN comment on a TikTok ad destructive

Area: AD COMMENTS · BLOCKED WORDS · AD DIAGNOSIS · BRAND SAFETY · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

Description

Warning: READ THIS BEFORE REACHING FOR IT: TikTok’s comment delete removes a comment YOUR OWN advertiser identity posted — your own reply. It CANNOT remove a comment left by a member of the public, and TikTok reports that per comment as canDelete on every row from list_tiktok_ads_comments. To take somebody else’s comment out of public view, use moderate_tiktok_ads_comment with operation HIDDEN, which is the moderation tool and is reversible. IRREVERSIBLE: TikTok publishes no undelete, the replies under it go with it, and re-posting means a new comment with a new id at the bottom of the thread rather than the one people answered. WITHOUT confirm NOTHING IS DELETED — you get the comment’s real text, author and date READ BACK FROM TIKTOK, which is what you show the user before asking for a yes. Deleting then additionally needs confirmText set to that exact text, because a confirm flag proves you meant to delete something and cannot prove you aimed at the right comment. If the comment cannot be READ, the delete is refused outright rather than performed blind.

Parameters

ParameterTypeDescription
advertiserIdstringfrom list_tiktok_ads_accounts
commentIdrequiredstringfrom list_tiktok_ads_comments — one whose canDelete is true
adIdrequiredstringfrom the same comment row
tiktokItemIdrequiredstringfrom the same comment row
identityIdrequiredstringfrom the same comment row
identityTyperequired"TT_USER" | "CUSTOMIZED_USER"from the same comment row
commentType"COMMENT" | "REPLY"what the comment is — default REPLY, since your own comments are replies
confirmbooleanREQUIRED true — without it nothing is deleted and you get the sentence describing what would be
confirmTextstringREQUIRED with confirm — the comment’s exact text, read back from TikTok

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/delete_tiktok_ads_comment.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"delete_tiktok_ads_comment","arguments":{"commentId":"<string>","adId":"<string>","tiktokItemId":"<string>","identityId":"<string>","identityType":"<one of the listed values>"}}}

CLI

hermoso call delete_tiktok_ads_comment --json '{"commentId":"<string>","adId":"<string>","tiktokItemId":"<string>","identityId":"<string>","identityType":"<one of the listed values>"}'

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