Skip to content
  • TikTok Ads
  • Plugin
  • MCP server

How to use TikTok Ads in Codex with AdsGPT

TikTok Ads already works in the AdsGPT assistant and is coming soon to Codex. Keep AdsGPT installed in Codex and connect TikTok Ads once: when it arrives, there's nothing else to set up.

TikTok Ads is coming soon to your AI. It already works in the AdsGPT assistant, on the web and in the mobile app. In ChatGPT, Claude and other AI it shows as coming soon.

Try it free — 50 actions/moOfficial documentation

Today you manage TikTok Ads from the AdsGPT assistant, on the web and in the mobile app. In Codex it shows as coming soon: AdsGPT already works with Google Ads from Codex and will add TikTok Ads to its MCP server without you reinstalling anything.

TikTok Ads shows your videos in the TikTok feed. With AdsGPT you get reports by account, campaign, ad group or ad, broken down by age, gender, country, language or platform; you enable, pause or delete; adjust budgets, bids and targeting; and create video campaigns for awareness or traffic. Ads are Spark Ads: posts of a TikTok account made only for ads.

What you can do with TikTok Ads

  • Video performance

    Spend, impressions, clicks, reach and plays, with 2- and 6-second views and average play time.

  • Bids and budgets

    Change an ad group's or campaign's budget and its bid, manual or lowest cost.

  • Video campaigns

    Awareness or traffic with 1 to 20 vertical videos, each with its own text and button, created paused.

Requirements

  • An AdsGPT account with at least one ad platform connected.
  • The Codex CLI, the Codex IDE extension or the Codex app.
  • A browser to sign in (or a second device, see tips).

Step-by-step setup

Connect TikTok Ads in AdsGPT

    1. Sign in to app.adsgpt.dev as the organization owner.
    2. Open Plugins and choose TikTok Ads.
    3. Sign in with the TikTok account that has access to your ad accounts and authorize AdsGPT.
    4. Your TikTok Ads accounts show up in AdsGPT and any member can use them from the AdsGPT assistant, as their role allows.

    Add AdsGPT to Codex: install the AdsGPT plugin

    • Plugin
    • Recommended
    1. Add the marketplace and the plugin:
      Terminal
      codex plugin marketplace add adsgpt-dev/agent-plugins
      codex plugin add adsgpt@adsgpt
    2. You can also open /plugins in Codex, or the Plugins tab in the app, and install AdsGPT from adsgpt.
    3. Sign in:
      Terminal
      codex mcp login adsgpt
    4. Start a new Codex session.

    Add the MCP server only

    • MCP server
    1. Add the server with one command:
      Terminal
      codex mcp add adsgpt --url https://mcp.adsgpt.dev
    2. Or edit ~/.codex/config.toml:
      ~/.codex/config.toml
      [mcp_servers.adsgpt]
      url = "https://mcp.adsgpt.dev"
    3. Sign in with codex mcp login adsgpt.

    Example prompts for TikTok Ads

    • “Which TikTok videos held people best in the first 6 seconds?”
    • “Pause the TikTok ad groups with a CPC above 0.50 dollars.”
    • “Create a TikTok traffic campaign with my three new videos.”

    Security and approvals

    • You sign in with OAuth 2.1: you never copy or share API keys.
    • The ads:read scope comes first; ads:write is only requested the first time a tool changes something.
    • Every change shows the current and new value and waits for your approval.
    • New campaigns launch paused unless you ask otherwise.
    • AdsGPT acts with your role on the account and receives tool calls, never your conversation.

    Tips

    • On a machine without a browser, run codex mcp login adsgpt --no-browser and open the printed link on another device.
    • Combine AdsGPT with Codex tasks: for example, have it build landing pages and then plan the Search campaign for them.

    Frequently asked questions

    Can I use TikTok Ads in Codex?

    Not yet. TikTok Ads already works in the AdsGPT assistant, on the web and in the app, and is coming soon to the MCP server. Until then, Codex lists it as coming soon.

    Do I have to connect TikTok Ads inside Codex?

    No. TikTok Ads is connected once in AdsGPT and is then available to your organization.

    Can my TikTok Ads campaigns be changed without permission?

    No. Reads run instantly, but every change shows the current and new value and waits for your approval. New campaigns are created paused.

    Can I manage several networks at once?

    In the AdsGPT assistant you already work with Google Ads, Meta Ads, TikTok Ads, LinkedIn Ads, X Ads, Reddit Ads, OpenAI Ads and Unity Ads. From Codex, Google Ads is available today and the rest are coming soon. A campaign on several networks is created on each with the same name, so your reports tie them together.

    Which TikTok Ads campaigns can I create?

    Video campaigns for awareness or traffic, with 1 to 20 vertical 9:16 videos and a budget of at least 20 USD a day. They show on TikTok only, unless you ask for automatic placement, which adds Pangle.

    What do I need to connect TikTok Ads?

    The organization owner opens Plugins → TikTok Ads in AdsGPT and signs in with their TikTok for Business account. The advertiser needs a linked TikTok account that can post videos for ads.

    TikTok Ads with artificial intelligence →
    TikTok Ads + Codex

    Start managing your ads from your AI

    Create your AdsGPT account, connect your ad networks and add the integration in minutes.