hermosodocs

extend_tiktok_post_ad_authorization

Extend a post’s Spark-Ads authorization

Area: TIKTOK ACCOUNT · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
itemIdrequiredstringthe TikTok post id
authorizationDaysnumber7 | 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.

All 728 Publishing & scheduling tools · tools.json