Production-ready prompts, scripts, frameworks and AI agents for Google Ads professionals. No payment required.
Search-term reports are where most accounts hide their waste. I was reviewing thousands of terms by eye until I built this. Now the obvious junk gets flagged in seconds and I only spend judgment on the genuinely ambiguous terms, which is where human attention actually pays off.
This is a Google Sheets-based classifier for Google Ads search-term reports. You paste a search-term export into the sheet, run the agent, and it returns each term tagged as KEEP, MONITOR, NEGATIVE_ADD, HUMAN_REVIEW, or SKIP, sorted by severity. The Output tab includes an executive summary with Spend at Risk, confidence stars per recommendation, and a What’s Next guidance section. Negative recommendations come with the suggested match type (BROAD / PHRASE / EXACT) and a one-line rationale, and you can export them as a CSV ready for Google Ads.
The pipeline is a chain of seven steps. Five are mechanical and run with no AI cost: conversion and brand protection (instant KEEP), primary service flagging, competitor pattern detection (instant NEGATE), universal waste patterns (jobs, logins, DIY, informational, forum), cross-modality checks against services you don’t offer, and low-value statistical filtering. Roughly 40–60% of terms exit before the AI sees them. The remaining ambiguous terms go to a single batched AI call (OpenAI, Anthropic Claude, or Google Gemini, Gemini is fastest because of its rate limits) for intent classification. Two post-processing steps then add CPC context to rationales and apply final guardrails, converting terms can never be negated, brand terms can never be negated, and alternative-seekers (“X vs Y”, “alternative to Z”) get downgraded to MONITOR.
NegativeKeywordAI_v6.gs from the source folder into the script editor and save the project.Config, RawExport, SearchTerms, Output, and Instructions tabs with the required headers.api_vendor, model, api_key, project_name, plus your business context (brand terms, primary service keywords, services offered/not offered, locations).SearchTerms tab.project_name and a few seed terms.The script is too large to inline here. Open the source file, copy it all, then paste into the Apps Script editor.
Open NegativeKeywordAI_v6.gs (raw source) →
In the Apps Script editor, use Cmd/Ctrl + A to select everything, Cmd/Ctrl + V to paste, then save the project. Save the project, reload your Google Sheet, and the Negative Keyword AI menu will appear in the toolbar.