hermosodocs

create_tiktok_ads_rf_ad_group

Book a TikTok Reach & Frequency ad group (confirm-gated) destructive

Area: REACH & FREQUENCY · LEAD MANAGEMENT · MEASUREMENT · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
advertiserIdstringTikTok ad account id from list_tiktok_ads_accounts; omit when only one account is shared with this profile
campaignIdrequiredstringan RF_REACH campaign (create_tiktok_ads_campaign with objective RF_REACH and budgetMode BUDGET_MODE_INFINITE)
namerequiredstringad group name in TikTok Ads Manager
locationIdsrequiredstring[]one country or region only
rfPurchasedTyperequiredstringFIXED_BUDGET | FIXED_SHOW | FIXED_REACH
budgetrequirednumberfrom the estimate
purchasedImpressionrequirednumberIN THOUSANDS, from the estimate
purchasedReachrequirednumberIN THOUSANDS, from the estimate
scheduleStartTimerequiredstring"YYYY-MM-DD HH:00:00" UTC for the target region
scheduleEndTimerequiredstring"YYYY-MM-DD HH:59:59" UTC; at most 90 days after the start
frequencyrequirednumberimpressions allowed per person within each frequencySchedule window; same value as the estimate
frequencySchedulerequirednumberlength of the frequency window in days; same value as the estimate
optimizationGoalstringREACH (default) | VIDEO_VIEW | CLICK | POST_ENGAGEMENT | INSTALL — must fit the campaign objective
cpvVideoDurationstringSIX_SECONDS — required when optimizationGoal is VIDEO_VIEW
requestIdstringTikTok’s own idempotency key on this endpoint. Reuse the same value on a retry after a timeout and TikTok will not double-book.
ageGroupsstring[]TikTok age band values; omit to reach all ages
genderstringTikTok gender value; omit to reach everyone
languagesstring[]language codes from search_tiktok_ads_targeting(kind:"language"); omit for all
operatingSystemsstring[]ANDROID, IOS or PC; omit for all
interestCategoryIdsstring[]interest ids from search_tiktok_ads_targeting(kind:"interest")
brandSafetyTypestringNO_BRAND_SAFETY (default), EXPANDED_INVENTORY, STANDARD_INVENTORY or LIMITED_INVENTORY
feedTypestringSTANDARD_FEED (large inventory) or TOP_FEED (limited inventory, higher CPM)
deliveryModestringSTANDARD | SCHEDULE | SEQUENCE
commentDisabledbooleantrue turns off comments on the ads
shareDisabledbooleantrue turns off sharing of the ads
videoDownloadDisabledbooleantrue stops viewers downloading the video
confirmbooleanREQUIRED 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.

All 759 Ad campaign management tools · tools.json