Skip to content
  • Unity Ads
  • Plugin
  • MCP server

How to use Unity Ads in Codex with AdsGPT

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

Unity 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 Unity 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 Unity Ads to its MCP server without you reinstalling anything.

Unity Ads gets installs of your app through ads shown inside other games. AdsGPT works with Unity Ads Acquire: you get installs, spend, cost per install, clicks and views by campaign, country, creative pack or source app; you pause or resume; adjust limits, bids by country and targeting; upload videos and end cards; and create install campaigns paid per install.

What you can do with Unity Ads

  • Cost per install

    Installs, spend, CPI, CTR and conversion rate by campaign, country, creative pack or source app.

  • Bids by country

    Raise or lower the bid per install in some countries and stop bidding in others.

  • Install campaigns

    Videos with an end card inside other games, with 1 to 10 creative packs that Unity rotates, 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 Unity Ads in AdsGPT

    1. Sign in to app.adsgpt.dev as the organization owner and open Plugins → Unity Ads.
    2. In Unity Cloud, as the owner of the Unity organization, create a service account in Administration → Service accounts and generate a key.
    3. Give it the Advertise API Admin and Advertise Stats API Viewer roles under User Acquisition.
    4. Paste the Organization Core ID from the Acquire dashboard, the Key ID and the Secret key in AdsGPT, and connect.

    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 Unity Ads

    • “Which countries gave me the lowest CPI on Unity Ads this month?”
    • “Lower the bid per install by 10% in the countries with a CPI above 2 dollars.”
    • “Create a Unity Ads install campaign for my game in the US and Canada.”

    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 Unity Ads in Codex?

    Not yet. Unity 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 Unity Ads inside Codex?

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

    Can my Unity 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.

    What does Unity Ads need to start a campaign?

    Attribution links from an approved measurement partner such as Adjust, AppsFlyer or Tenjin, budget funded in your Unity organization and at least two creative packs. You can connect without them, and AdsGPT adds the links once you have them.

    How do I connect Unity Ads?

    With a service account of your Unity organization, with the Advertise API Admin and Advertise Stats API Viewer roles. You paste the Organization Core ID, the Key ID and the Secret key in Plugins → Unity Ads.

    Unity Ads with artificial intelligence →
    Unity Ads + Codex

    Start managing your ads from your AI

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