OverviewProductsPlatformsAPI ReferenceResources
Accounts & Ops

Delete an ad comment

DELETEhttps://zernio.com/api/v1/ads/{adId}/comments/{commentId}

Delete 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.

PlatformsTikTok

Authentication

AuthorizationBearer tokenRequired

API key authentication: send your Zernio API key in the Authorization header, prefixed with Bearer.

Path parameters

adIdstringRequired

Internal Zernio ad ID or indexed platform ad ID.

commentIdstringRequired

TikTok comment ID from the ad comment listing.

Query parameters

Optional
sincestring (date)

Start date of the comment lookup window. Defaults to 30 days before until.

untilstring (date)

End date of the comment lookup window. Defaults to today in UTC.

Responses

Success· the request worked

Errors· the request failed

How it behaves

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.
DELETE/v1/ads/{adId}/comments/{commentId}
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.adaccounts.deleteAdComment({  path: {    adId: 'ad_abc123',    commentId: 'comment_abc123',  },});console.log(data);
{  "status": "success",  "commentId": "7512345678901234567"}
OpenAPI specification
Was this page helpful?