extend_tiktok_post_ad_authorization
Extend a post’s Spark-Ads authorization
Description
Extend how long a post the authorized account owns stays promotable as a Spark Ad — and REGENERATE its code if it was deleted. THE DAYS ARE ADDED, NOT SET: TikTok's own example is that a post with 180 days remaining, extended by 180, ends up at 360 — so passing '365' to a post that already has time left does not mean 'expires in a year'. Must be one of 7, 30, 60, 180, 365. Ad authorization has to be ON already (set_tiktok_post_ad_authorization) or TikTok refuses. The reply reads the new window back, because TikTok's own response body is empty. NEEDS THE TIKTOK ACCOUNT AUTHORIZATION (see tiktok_account_status).
Parameters
| Parameter | Type | Description |
|---|---|---|
itemIdrequired | string | the TikTok post id |
authorizationDays | number | 7 | 30 | 60 | 180 | 365 — ADDED to whatever is left, not set as an absolute. Default 30. |
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/extend_tiktok_post_ad_authorization.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"extend_tiktok_post_ad_authorization","arguments":{"itemId":"<string>"}}}
CLI
hermoso call extend_tiktok_post_ad_authorization --json '{"itemId":"<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.
Related tools
set_tiktok_post_ad_authorizationTurn Spark-Ads authorization on or off for the brand’s own posttiktok_account_statusCheck the TikTok account authorizationget_tiktok_post_ad_authorizationRead a post’s Spark-Ads authorization statusdelete_tiktok_post_ad_authorizationDelete a post’s Spark-Ads authorization codeupload_tiktok_comment_imageUpload an image for a TikTok commentsearch_tiktok_locationsFind a TikTok location tagmoderate_tiktok_commentLike, hide, pin or delete a TikTok commentreply_to_tiktok_commentReply to a comment on the brand’s TikTok postcomment_on_tiktok_videoPost a new comment on the brand’s own TikTok postlist_tiktok_comment_repliesList every reply to one TikTok comment