Delete an ad comment
Changed onDelete your own TikTok ad comment or reply. TikTok must return can_delete=true for the comment. Other users' comments can be hidden instead.
Requires Ads access. The ad is resolved within the caller's accessible profiles.
Identity resolution
Unknown identity and video item fields are resolved only when needed for this action, then persisted for reuse. Comment-specific fields take precedence.
Comment lookup
Before moderation, Zernio verifies that the comment belongs to this ad using TikTok's ad-group comment listing.
- The default search window is the last 30 days.
- Use since/until for older comments, with at most 30 days between the dates.
- Lookups scan at most 2,000 ad-group comments; narrow the date window if exceeded.
Errors
- 404 ad_not_found: TikTok no longer returns the ad needed to resolve identity. Check deletion or archival in TikTok Ads Manager. Listing can still succeed.
- 403 feature_not_available: unsupported or unavailable identity.
- 403 insufficient_permissions: denied access to ad details. Comes with reconnect guidance and the upstream platformError.
- 501 feature_not_available (Meta): with guidance to use the existing inbox comment endpoints and the account/post IDs from GET /v1/ads/{adId}/comments.
Request
- Base URLhttps://zernio.com/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Internal Zernio ad ID or indexed platform ad ID.
TikTok comment ID from the ad comment listing.
Query parameters
Start date of the comment lookup window. Defaults to 30 days before until.
End date of the comment lookup window. Defaults to today in UTC.
Response
Comment action completed.
Changes
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
added the new
accountenum value to the/response property for the response status - warning
added the new
accountenum value to the/response property for the response status
- warning