create_tiktok_ads_rf_ad_group
Book a TikTok Reach & Frequency ad group (confirm-gated) destructive
Description
Create the ad group of a REACH & FREQUENCY campaign. THIS IS THE ONE OBJECT HERMOSO CREATES THAT CANNOT BE BORN PAUSED, and that is TikTok’s doing, not ours: /adgroup/rf/create/ publishes no operation_status anywhere in its parameter table, so there is no field to force — and an R&F ad group is a RESERVATION whose budget locks 5 minutes before delivery. So it needs confirm:true, and WITHOUT confirm NOTHING IS CREATED: you get the sentence describing exactly what would be booked, which you must show the user before asking for a yes. The three reservation numbers must come from tiktok_ads_rf_inventory_estimate — TikTok silently books its own maximum rather than refusing a number outside the estimated range. REACH & FREQUENCY IS ALLOWLIST-ONLY PER AD ACCOUNT: TikTok requires the advertiser to be allowlisted by a TikTok representative and to have signed a Commercial Contract for Branding, no API reports that status, and if TikTok refuses this the remedy is a conversation with the rep rather than a different field.
Parameters
| Parameter | Type | Description |
|---|---|---|
advertiserId | string | TikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile |
campaignIdrequired | string | an RF_REACH campaign (create_tiktok_ads_campaign with objective RF_REACH and budgetMode BUDGET_MODE_INFINITE) |
namerequired | string | ad group name in TikTok Ads Manager |
locationIdsrequired | string[] | one country or region only |
rfPurchasedTyperequired | string | FIXED_BUDGET | FIXED_SHOW | FIXED_REACH |
budgetrequired | number | from the estimate |
purchasedImpressionrequired | number | IN THOUSANDS, from the estimate |
purchasedReachrequired | number | IN THOUSANDS, from the estimate |
scheduleStartTimerequired | string | "YYYY-MM-DD HH:00:00" UTC for the target region |
scheduleEndTimerequired | string | "YYYY-MM-DD HH:59:59" UTC; at most 90 days after the start |
frequencyrequired | number | impressions allowed per person within each frequencySchedule window; same value as the estimate |
frequencySchedulerequired | number | length of the frequency window in days; same value as the estimate |
optimizationGoal | string | REACH (default) | VIDEO_VIEW | CLICK | POST_ENGAGEMENT | INSTALL — must fit the campaign objective |
cpvVideoDuration | string | SIX_SECONDS — required when optimizationGoal is VIDEO_VIEW |
requestId | string | TikTok’s own idempotency key on this endpoint. Reuse the same value on a retry after a timeout and TikTok will not double-book. |
ageGroups | string[] | TikTok age band values; omit to reach all ages |
gender | string | TikTok gender value; omit to reach everyone |
languages | string[] | language codes from search_tiktok_ads_targeting(kind:"language"); omit for all |
operatingSystems | string[] | ANDROID, IOS or PC; omit for all |
interestCategoryIds | string[] | interest ids from search_tiktok_ads_targeting(kind:"interest") |
brandSafetyType | string | NO_BRAND_SAFETY (default), EXPANDED_INVENTORY, STANDARD_INVENTORY or LIMITED_INVENTORY |
feedType | string | STANDARD_FEED (large inventory) or TOP_FEED (limited inventory, higher CPM) |
deliveryMode | string | STANDARD | SCHEDULE | SEQUENCE |
commentDisabled | boolean | true turns off comments on the ads |
shareDisabled | boolean | true turns off sharing of the ads |
videoDownloadDisabled | boolean | true stops viewers downloading the video |
confirm | boolean | REQUIRED to book. Without it nothing is created and you get the sentence to show the user. |
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/create_tiktok_ads_rf_ad_group.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_tiktok_ads_rf_ad_group","arguments":{"campaignId":"<string>","name":"<string>","locationIds":"<array>","rfPurchasedType":"<string>","budget":"<number>","purchasedImpression":"<number>","purchasedReach":"<number>","scheduleStartTime":"<string>","scheduleEndTime":"<string>","frequency":"<number>","frequencySchedule":"<number>"}}}
CLI
hermoso call create_tiktok_ads_rf_ad_group --json '{"campaignId":"<string>","name":"<string>","locationIds":"<array>","rfPurchasedType":"<string>","budget":"<number>","purchasedImpression":"<number>","purchasedReach":"<number>","scheduleStartTime":"<string>","scheduleEndTime":"<string>","frequency":"<number>","frequencySchedule":"<number>"}'
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
tiktok_ads_rf_inventory_estimateEstimate TikTok Reach & Frequency inventory