Skip to content
All work

A US performance marketing agency

About 30 automated checks across hundreds of ad accounts

I worked on the scheduling behind about 30 automated ad account checks, a product feed auditor with ten validators, and AI that drafts SEO metadata for whole Shopify stores.

Industry
Ad agencies
My role
Full-stack engineer: automation and AI
Years
2024 to 2026
Status
Feed auditor and SEO app in production, and I still work with the agency Checked 15 Nov 2026
Automated account checks
~30
Product feed validators
10
working with the agency
Over two years

The problem

The agency runs paid search and shopping ads for e-commerce brands. Its client operations ran on spreadsheets and manual checks across hundreds of ad accounts, product feeds and Shopify catalogs.

Ad accounts drift every day: a budget runs out early, cost of sale creeps past target, spend drops to zero. Nobody can open hundreds of accounts every morning to look.

Product feeds fail Merchant Center validation over a bad GTIN, a missing field or a misspelled title, and nobody can read a feed with a hundred thousand rows. Shopify stores pile up missing and duplicated SEO titles, which costs them organic traffic.

On top of that, the settings for some live alerts sat in Google Sheets, where nobody could validate or query them.

What I worked on

I started with the agency in 2024 on its reporting pipelines. These are scheduled jobs on Google Cloud that load data from its tools, such as Monday.com, Google Analytics and the results of its product feed checks, into BigQuery for reporting.

From 2025 I worked on the agency’s internal platform, starting with the foundation for its checks: the scheduled job setup, a guard so only the scheduler can call those jobs, and a registry each automated check plugged into. After that, a new check only needed its own detection logic.

That setup grew to about 30 checks, running daily and weekly across Google Ads, Microsoft Ads and Merchant Center and posting what they found to Slack.

I worked on the two checks with the most money riding on them. The cost of sale monitor compares each part of an account against that client’s own target, allowing for conversions that report late.

The budget checker projects each account’s month-end spend and flags the accounts on pace to go over or under budget. I also moved the live alert settings from Google Sheets into the database, rewriting five production alerts while they kept running.

The feed auditor checks a whole catalog against ten validators, including GTINs, titles, categories, required fields and spelling. Catalogs can run past a hundred thousand items, so the work is spread across the server’s processor cores.

The SEO system is a Shopify app. It scans products, collections, pages and blog articles, finds SEO titles and descriptions that are missing, too short, too long or duplicated, and drafts replacements with AI.

The merchant reviews and edits each draft, and only approved changes go back to Shopify.

I also worked on QuickBooks analytics for revenue, retention and lifetime value, and an executive dashboard that replaced a paid BI tool.

How it works

  • Reporting pipelines: scheduled jobs on Google Cloud that load data from the agency’s tools into BigQuery.
  • Scheduled job routes and a job registry, where each check is a small module and any call that does not come from the scheduler is rejected.
  • About 30 checks: cost of sale, budget pacing, disapprovals, CPC spikes, conversion rate drops and campaigns that stop serving.
  • A feed auditor running ten validators in the background, with fix suggestions and CSV export.
  • A Shopify app that drafts SEO metadata with AI and publishes only what the merchant approves.
  • Live progress on long scans, and a cache that shows the last scan at once while a fresh one runs.
  • A client management area for ad accounts, budgets and targets, with SEM reporting on top.

What didn’t work

Large stores needed extra work. The scanner stopped at 10,000 rows and still reported success, so a store with 140,000 products only ever saw about 7% of its catalog.

I removed the cap and moved large stores onto Shopify’s bulk export, with one lock per store because Shopify allows one bulk query at a time.

Where it is now

The feed auditor and the SEO app are in production, and the agency’s newer feed checks reuse those validators. In 2026 the agency moved most of its alerts onto a newer checks platform.

I work on checks for that platform too. Most recently, I worked on ones that watch product structured data and Merchant Center account warnings.

The client left a five-star review on Upwork: “Aali has become an indispensable part of our team.”

Under the hood

  • The Shopify app keeps no database of its own. All of its state lives in the agency’s platform.
  • Bulk export above 5,000 products. Above about 5,000 products, the app switches from regular API reads to a Shopify bulk operation and downloads the result as a JSONL file. A lock per store makes sure each store runs one bulk query at a time.
  • A cache that answers at once. Scan results sit in a MySQL cache for about 30 minutes. A request gets the cached scan straight away while a fresh one runs in the background.
  • Capped model calls that survive a crash. Bulk drafting runs at most 8 model calls at a time by default and streams progress over server-sent events. Each draft is saved the moment it comes back, with an atomic append in MySQL, so a crash only loses the calls still in flight. Jobs left half done after a crash are found and repaired.
  • Retries that respect the platform. Calls retry with exponential backoff and jitter, and wait as long as a Retry-After header asks. Shopify webhooks are checked against their HMAC signature before anything acts on them.
  • One big class, split up. The SEO service had grown to about 5,300 lines in one class. I split it into about 20 modules that each do one job, and wrote the design doc for the system.

What I’d tell a founder in the same spot

If your team checks accounts by hand, build the scheduling, the security and a standard slot for each check before writing the checks. Here, that kept each new check down to its detection logic.

And never let a job report success on partial data. The scanner that stopped at 10,000 rows still reported success.

How it fits together

  1. 1. Code Scan products, collections, pages and blog articles
  2. 2. Code Large stores use Shopify's bulk export, one at a time per store
  3. 3. Code Flag SEO titles and descriptions that are missing or duplicated
  4. 4. AI AI drafts a replacement for each one
  5. 5. A person The merchant reviews, edits and approves each draft
  6. 6. Code Only approved changes go back to Shopify
How the SEO app goes from a store scan to a change on the store, with the merchant approving every change.

Built with

  • Node.js
  • TypeScript
  • React
  • MySQL
  • BigQuery
  • Google Ads API
  • Shopify Admin API
  • OpenAI
  • Google Cloud

Have someone technical who should look at this first? Send this to your technical person, or point them to the five-minute version for technical readers.

Next case study AI receptionist that books appointments mid-call A phone product for service businesses

Contact

Something like this in your business?

Book 15 minutes and tell me what your team does by hand. I'll tell you what I'd build first, and what I'd skip.

Scaylar's services are on scaylar.com.