Back to Projects

Case file

PMax Search Term Optimizer

A Google Ads hygiene tool that reviews live search terms and automatically updates negative keyword lists with full audit logging.

Client
Paid Search Operations
Read time
1 min

Primary solution

Growth Systems & Technical SEO

This project is grouped under the buyer-facing solution area it most directly supports.

Capabilities in play

AutomationMarTechTechnical audit

Snapshot

Applied system demo

Narrative, metrics, and interaction packaged into a compact case-study page.

Surfaces

MDX storytelling, embedded demos, and reusable product communication patterns.

Jun 14, 20251 min readGrowth Systems & Technical SEOGoogle AdsTypeScriptApps ScriptAutomation
PMax Search Term Optimizer

Continue through this solution area

This case file sits inside Growth Systems & Technical SEO.

Use the solution page to see how this project connects to related systems, capability patterns, and supporting editorial work.

This project was designed to solve a small but expensive operational problem: irrelevant search terms leaking into Performance Max campaigns without a disciplined cleanup process.

Problem

Reviewing search terms manually across accounts and campaigns is repetitive, easy to postpone, and difficult to keep consistent. That usually means wasted spend stays in the system longer than it should.

Solution

I built a scheduled Google Apps Script with TypeScript modules that reads approved keywords from Google Sheets, compares them against recent search-term data from Google Ads, and pushes non-matching terms into a campaign-level negative keyword list. Every change is logged to a sheet for visibility and review.

01

Execution mode

Scheduled runs

02

Audit trail

Google Sheets log

03

Scope

Multi-account capable

04

Safety mode

Capped rollouts

Why it is effective

  • The tool keeps non-technical stakeholders in the loop by using Sheets as both config and audit surface.
  • Safe rollout limits reduce the risk of pushing too many exclusions in one run.
  • TypeScript structure and tests keep the Apps Script environment maintainable instead of turning into a single-file script blob.
  • Bundling through esbuild solved the normal runtime and trigger friction of Apps Script projects.

Note

What is still missing

The notes describe the workflow well, but not the typical volume of exclusions, spend saved, or account sizes. Those are the main commercial proof points still missing from this version.

Outcome

The optimizer turns an error-prone maintenance task into a controlled recurring workflow that helps keep Performance Max traffic cleaner and easier to govern.

Related case files

More work in Growth Systems & Technical SEO.

Open solution page
This project is already mapped into the solutions layer. Related editorial support will appear here automatically as more articles are added to the same solution area.
Book an intro to scope the bottleneck, workflow, or architecture issue.Qungs builds custom software, automation systems, and applied-AI interfaces.Important updates or operational notes can be edited in src/lib/site.ts.Book an intro to scope the bottleneck, workflow, or architecture issue.Qungs builds custom software, automation systems, and applied-AI interfaces.Important updates or operational notes can be edited in src/lib/site.ts.