Skip to main content
POST
Hide or unhide an ad comment

Request contract

  • Method and path: POST /apis/v1/ads/{adId}/comments/{commentId}/hide
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ads/{adId}/comments/{commentId}/hide
  • adId: path; required
  • commentId: path; required
  • connectionId: query; required
  • since: query; optional
  • until: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation. Ad spend is billed separately by the ad platform to your connected ad account.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

adId
string
required
commentId
string
required

TikTok comment ID from the ad comment listing.

Pattern: ^\d+$

Query Parameters

connectionId
string
required

The ads connection (adc_...) the request runs on: one of yours, from GET /apis/v1/ads/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^adc_[0-9A-Za-z]+$
since
string<date>

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

until
string<date>

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

Body

application/json
hidden
boolean
required

True to hide the comment; false to restore it.

connectionId
string

The ads connection (adc_...), when not sent as the connectionId query parameter.

Pattern: ^adc_[0-9A-Za-z]+$

Response

Comment action completed.

commentId
string
required

ID of the created reply or moderated comment.

status
enum<string>
required
Available options:
success
hidden
boolean

The requested visibility state.