Skip to content

tiktok_create_rule_audience

Create a TikTok audience from rules: website visitors of a pixel (PIXEL), people who engaged with ad groups (ENGAGEMENT), app, lead form, business account…

View as Markdown

Create a TikTok audience from rules: website visitors of a pixel (PIXEL), people who engaged with ad groups (ENGAGEMENT), app, lead form, business account, shop or offline activity. TikTok builds it within 48 hours. Include it with audience_ids or exclude it with excluded_audience_ids on an ad group. Local preview by default. No automatic retry; advertiser ownership is checked before applying.

Kind
Write
Discovery
Reachable through search_tools and run_tool
Account parameter
advertiserId
Endpoint
https://mcp.getmcpads.com/tiktok-ads/mcp

Parameters

Parameters
NameTypeRequiredNotes
advertiserIdstringRequiredExact TikTok numeric ID as a string, never a rounded JavaScript number.
namestringRequiredExact audience name, 128 characters at most.
audienceTypestringRequiredNative audience_type. One of: PIXEL, ENGAGEMENT, APP, LEAD_GENERATION, BUSINESS_ACCOUNT, TIKTOK_SHOP, OFFLINE, ENGAGEMENT_ORGANIC_VIDEO, ENGAGEMENT_LIVE_VIDEO.
ruleSpecobjectRequiredNative rule_spec: people matching an inclusion rule, minus those matching an exclusion rule.
isAutoRefreshbooleanOptionalRefresh daily with the lookback window. TikTok default: true.
retentionInDaysintegerOptionalFixed lifetime in days from creation, 1 to 365. Omitted: TikTok keeps the audience 365 days after its last use or change.
identityIdstringOptionalRequired for ENGAGEMENT_ORGANIC_VIDEO and ENGAGEMENT_LIVE_VIDEO.
identityTypestringOptionalRequired for ENGAGEMENT_ORGANIC_VIDEO and ENGAGEMENT_LIVE_VIDEO. One of: TT_USER, BC_AUTH_TT.
identityAuthorizedBcIdstringOptionalBusiness Center ID, required with BC_AUTH_TT.
confirmbooleanOptionalApply only when true. Default is a local preview without any TikTok call. Never retry an uncertain POST automatically.

Calling it

json · Through run_tool, since it is not announced
{
  "name": "run_tool",
  "arguments": {
    "name": "tiktok_create_rule_audience",
    "args": {
      "advertiserId": "<string>",
      "name": "<string>",
      "audienceType": "PIXEL",
      "ruleSpec": "<object>"
    }
  }
}

Manage your ads from your AI assistant

Start for free

Free with 1 ad account, no card. Pro is free for 7 days.

Esc

Type to search