TikTok Marketing API · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for TikTok API for Business — Marketing Automated Rules API

8 actions 8 updates phrasing extends openapi/tiktok-ads-automated-rules-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for TikTok Marketing API's API. It is a proposal applied on top of the contract, not a document TikTok Marketing API publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/optimizer/rule/batch_bind/'].post
$.paths['/optimizer/rule/create/'].post
$.paths['/optimizer/rule/get/'].get
$.paths['/optimizer/rule/list/'].get
$.paths['/optimizer/rule/result/get/'].get
$.paths['/optimizer/rule/result/list/'].get
$.paths['/optimizer/rule/update/'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for TikTok API for Business — Marketing Automated Rules API
  version: 1.0.0
extends: openapi/tiktok-ads-automated-rules-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/optimizer/rule/batch_bind/'].post
  update:
    x-apievangelist-phrasing:
      intent: Bind objects to automated rules
      effect: write
      questions:
      - How do I attach a set of objects to existing automated rules?
      - Can I bind several rules to objects in one request?
      instructions:
      - text: Bind {bind_info} to rules for advertiser {advertiser_id}.
        slots:
          bind_info: requestBody.bind_info
          advertiser_id: requestBody.advertiser_id
      - text: Attach these objects to their rules in {advertiser_id} using {bind_info}.
        slots:
          advertiser_id: requestBody.advertiser_id
          bind_info: requestBody.bind_info
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/create/'].post
  update:
    x-apievangelist-phrasing:
      intent: Create automated rules
      effect: write
      questions:
      - How do I create automated rules for my campaigns?
      - Can I create several rules in one request?
      instructions:
      - text: Create rules {rules} for advertiser {advertiser_id}.
        slots:
          rules: requestBody.rules
          advertiser_id: requestBody.advertiser_id
      - text: Add new automated rules {rules} to {advertiser_id}.
        slots:
          rules: requestBody.rules
          advertiser_id: requestBody.advertiser_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/get/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an automated rule
      effect: read
      questions:
      - What are the details of one automated rule?
      - Can I fetch a single rule by its ID?
      instructions:
      - text: Get rule {rule_ids} for advertiser {advertiser_id}.
        slots:
          rule_ids: query.rule_ids
          advertiser_id: query.advertiser_id
      - text: Show the details of automated rule {rule_ids} in {advertiser_id}.
        slots:
          rule_ids: query.rule_ids
          advertiser_id: query.advertiser_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/list/'].get
  update:
    x-apievangelist-phrasing:
      intent: List automated rules
      effect: read
      questions:
      - Which automated rules exist for my advertiser?
      - Can I filter and page through my rules?
      instructions:
      - text: List rules for advertiser {advertiser_id}.
        slots:
          advertiser_id: query.advertiser_id
      - text: Show {advertiser_id}'s rules matching {filtering}.
        slots:
          advertiser_id: query.advertiser_id
          filtering: query.filtering
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/result/get/'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a rule's result details
      effect: read
      questions:
      - What happened when an automated rule fired?
      - Can I see the result details of one rule?
      instructions:
      - text: Get result details {result_detail} for advertiser {advertiser_id}.
        slots:
          result_detail: query.result_detail
          advertiser_id: query.advertiser_id
      - text: Show what rule {result_detail} did in {advertiser_id}.
        slots:
          result_detail: query.result_detail
          advertiser_id: query.advertiser_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/result/list/'].get
  update:
    x-apievangelist-phrasing:
      intent: List automated rule results
      effect: read
      questions:
      - What results have my automated rules produced?
      - Can I filter and page through rule results?
      instructions:
      - text: List rule results for advertiser {advertiser_id}.
        slots:
          advertiser_id: query.advertiser_id
      - text: Show results from {advertiser_id} matching {filtering}.
        slots:
          advertiser_id: query.advertiser_id
          filtering: query.filtering
      method: generated
      generated: '2026-11-19'
- target: $.paths['/optimizer/rule/update/'].post
  update:
    x-apievangelist-phrasing:
      intent: Update an automated rule
      effect: write
      questions:
      - How do I change an existing automated rule?
      - Can I update several rules at once?
      instructions:
      - text: Update rules {rules} for advertiser {advertiser_id}.
        slots:
          rules: requestBody.rules
          advertiser_id: requestBody.advertiser_id
      - text: Change existing automated rules {rules} in {advertiser_id}.
        slots:
          rules: requestBody.rules
          advertiser_id: requestBody.advertiser_id
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/tiktok-ads-automated-rules-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.