There are a ton of tools promising to run your ads with AI. I get the appeal. I manage $5M+ a year in ad spend, and I want as much of the repetitive work off my plate as possible.
But the more I build this stuff, the more I want a system that understands how our business works. Our customer, our margins, the channels we're using, the countries we're selling in, and what we're trying to accomplish this month. Those things change what a good decision looks like.
Danny Postma's post about building software around your own workflows reminded me of why I've been building our own ads bot. He was talking about software more broadly. For me, ads have been a pretty useful place to put that idea to work.
I've used Claude and Codex to build a setup that pulls our numbers, checks campaigns against our rules, puts the decisions in a sheet, and gives us a daily Slack update. We can ask questions about those decisions in the thread. Certain Meta budget changes can run within defined limits. Google has been running in shadow mode, where the bot records what it would do without applying the changes.
That's the setup I want to walk through. One person can manage the paid accounts with this kind of help. There are still people working on creative, products, and the rest of the business. The bot hasn't made those jobs disappear.
The part I had to teach it
One of the problems we ran into was how to judge campaigns bringing in new customers. If you look only at immediate profit, you can end up cutting spend on campaigns that are doing the job the company asked them to do.
We had to make the objective explicit. New-customer acquisition gets evaluated differently from campaigns expected to produce immediate profit. Promotional pushes need their own rules. A new test needs time to deliver. Someone changing a budget yesterday is a reason to leave it alone today.
YouTube needs its own treatment too. No last-click profit is a reason to investigate, especially alongside first-party customer data. It isn't enough by itself to tell the bot to pause the campaign.
This is where I think custom makes sense for us right now. I can change the rules when the business changes. I can see why a recommendation happened. And I can keep the parts that require judgment in my hands while the system handles the daily checking.
What runs every day
The setup uses Python for the calculations and decision rules, GitHub Actions to run the code, n8n to coordinate the workflow, Google Sheets for settings and decisions, and Slack for the daily update and questions.
AI helped me build it and helps explain what it's doing. The budget decisions themselves come from explicit rules in code. I don't want a model inventing a new definition of a good campaign every morning.
The daily run brings together platform spend and budgets, business results, deal economics, and company goals. It checks recent performance, records a proposed action and its reason, and applies only the changes allowed by the execution settings. The Slack update makes the output easy to review without opening every account.
It also has to remember its own changes. Otherwise tomorrow's bot can undo today's decision before the campaign has had a chance to respond.

Selected excerpts from our bot documentation, formatted for readability. This is a documentation view, not a campaign dashboard or performance result.
How I'd build yours
1. Write the business brief before connecting the accounts
Start with a document your agent can read every time it works. Include your ideal customer, what you sell, typical order value, margins, sales cycle, monthly budget, channel mix, and countries and currencies you operate in.
Then write down the goal. Are you trying to bring in first-time buyers? Sell through a particular product? Generate qualified leads? Grow profit while holding spend steady?
Be specific about the exceptions. A launch campaign might have a temporary budget. A country might have different shipping costs. A lead is only valuable if your sales team can close it. Your agent needs that information before it can make a useful recommendation.
The geo and currency details belong here even if your first version doesn't automate decisions by country. Don't let it compare results in different currencies as if they're the same dollars.
2. Agree on where each number comes from
We pull spend from the ad platforms. That sounds obvious, but a report built around orders can leave out campaigns that spent money and generated no orders. Those are exactly the campaigns you need to see.
Your business system should supply the business outcomes you care about: orders, first-time buyers, refunds, or qualified leads. Platform attribution can sit alongside that. Keep the definitions visible so the agent doesn't quietly treat platform purchases and first-time customers as the same thing.
Choose a reporting timezone and currency. Show when the data last refreshed. Start with completed days and a few consistent windows, such as the last 3, 7, and 30 days. If one source is late, the report should say so.
3. Make the first version read-only
Have it produce one daily report with spend, results, the goal, and what it thinks deserves attention. Give each recommendation a reason you can check.
I'd want to see the campaign, its objective, current budget, proposed action, evidence, and anything that makes the recommendation uncertain. A recommendation to cut spend should tell me which rule it hit and what data it used.
Read it alongside the accounts for a while. You'll find missing context fast. Fix the data and the rules before you give it more responsibility.
My public Google Ads playbook is a starting point for this part. It isn't a public copy of our internal bot; you'll still need to connect your own data and build around your business.

Start with the public playbook, then add your business context. The broader collection is at start-here.
4. Turn your judgment into rules you can inspect
Write down what would make you scale, hold, cut, or investigate. Include the situations where the system should do nothing.
For us, that includes protection for recent human changes, cooldowns after a budget move, different treatment for new-buyer campaigns, and exclusions for campaigns that don't fit the normal purchase rules.
Choose your own thresholds. Our budgets and margins won't be yours. A rule should explain what it is trying to protect, not just contain a percentage someone copied from a blog.
When you disagree with the bot, record why. Sometimes it needs a new rule. Sometimes the data is wrong. Sometimes you made a judgment call that shouldn't become a permanent rule at all. That review is how the system gets better; a feedback tab doesn't magically teach it anything unless you've built a process that uses it.
5. Give execution a separate approval path
Keep the report and the ability to change an account separate. A useful recommendation doesn't automatically earn permission to spend money.
Our build has controls for maximum changes, cooldowns, recent human edits, and a switch that stops budget writes while reporting continues. A second run on the same day must not repeat the same changes. When a write happens, check the resulting budget and log what actually changed.
For your first version, stage the exact proposed change for review: target campaign, current value, new value, reason, and expected effect. Execute only what was approved. You can decide later whether any narrow, repeatable actions deserve standing permission.
The Slack question-answering bot should be able to explain a decision without also having permission to change the budget. Those are different responsibilities.
6. Make it run without your laptop
Once the report is useful, put it on a schedule. We use GitHub Actions and n8n. The order matters: the source data needs to arrive before the report runs, and the report needs to finish before the Slack update goes out.
Have it flag a missed refresh. Keep a change log. Make sure another person can understand the setup, turn off execution, and work out what happened if a run fails.
That work is less exciting than the first time an agent connects to your ad account, but it's what makes the thing useful on a normal Tuesday.
A prompt to get started
Give your agent the public playbook and your business brief, then start here:
Help me build a read-only daily ads assistant for my business. First inspect the context and data sources I provide. Ask for missing information about our customer, budget, channels, business goal, margins, sales cycle, countries, currencies, and reporting timezone. Don't guess.
Define where each metric comes from. Keep platform attribution separate from business outcomes. Check data freshness and include campaigns that spent money but produced no results.
Propose a daily report with campaign objective, current budget, recent results, recommended action, evidence, and uncertainty. Include protections for new tests, promotional campaigns, recent human changes, and channels with delayed or incomplete attribution.
Show me the proposed rules in plain English before implementing them. Build the first version with no ability to change ad accounts. Include a way to compare its recommendations with my decisions. After we validate that version, propose a separate approval and execution workflow with limits, readback, logging, duplicate-run protection, and a kill switch. Do not enable it without my approval.
You can start much smaller than our setup. Pick the daily check you keep doing manually and make that reliable first.
I still want control over the decisions that matter. I also want AI doing most of the work involved in getting me to those decisions. Building around the actual business has been the most useful way I've found to get both.