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
- Sign in to app.adsgpt.dev as the organization owner and open Plugins → Unity Ads.
- In Unity Cloud, as the owner of the Unity organization, create a service account in Administration → Service accounts and generate a key.
- Give it the Advertise API Admin and Advertise Stats API Viewer roles under User Acquisition.
- 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
- Add the marketplace and the plugin:
Terminal codex plugin marketplace add adsgpt-dev/agent-plugins codex plugin add adsgpt@adsgpt - You can also open
/pluginsin Codex, or the Plugins tab in the app, and install AdsGPT fromadsgpt. - Sign in:
Terminal codex mcp login adsgpt - Start a new Codex session.
Add the MCP server only
- MCP server
- Add the server with one command:
Terminal codex mcp add adsgpt --url https://mcp.adsgpt.dev - Or edit
~/.codex/config.toml:~/.codex/config.toml [mcp_servers.adsgpt] url = "https://mcp.adsgpt.dev" - 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:readscope comes first;ads:writeis 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-browserand 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.