Free Google Ads script · Keywords

Keyword opportunity and waste

Find converted search terms missing as exact keywords and high-spend keywords with no conversions.

ModeRead-only email and CSV report
Suggested frequencyEvery two to four weeks

What it is for

A faster check.
Not automatic judgement.

One report can surface both sides of keyword hygiene: search terms that converted but are not yet controlled as exact keywords, and enabled keywords that have spent well beyond the account’s average CPA without a conversion.

What the script does
  • Reviews converted search terms from the last 14 complete days
  • Checks whether an exact keyword already exists
  • Reviews 180-day keyword waste
  • Uses the last 30 complete days to calculate the account average CPA
Before the first run
  1. 01Set the recipient email
  2. 02Choose account-wide or same-ad-group duplicate checking
  3. 03Review the 1.5× average-CPA waste threshold
  4. 04Validate conversion tracking before using the output
Important

A zero-conversion keyword may still assist other journeys, and an exact keyword is not always required. Review intent, attribution and campaign structure first.

Use this script at your own risk. Google Ads interfaces and reporting fields change. Always run Preview in the intended account and read the logs before enabling or scheduling it.

Copyable source

Keyword opportunity and waste

Download .js ↓
Loading script…

How to install a Google Ads script

Copy. Configure.
Preview. Schedule.

  1. Open the correct Google Ads account and go to Tools → Bulk actions → Scripts.
  2. Create a new script, remove the example code and paste this script.
  3. Edit the CONFIG block. Never leave placeholder emails, budgets or thresholds unchanged.
  4. Authorize the script, select Preview and inspect its logs or report.
  5. Only schedule it after the preview matches the intended account and scope.

Read the output

What should you check before acting?

Keyword and search-term scripts are review aids, not instructions to add or remove terms automatically. The query someone typed, the matched keyword and a negative keyword can behave differently, especially with close variants and changes to Google Ads matching. Read the exact search intent and the landing page before making a decision. A search term with one conversion might be an opportunity, an accidental attribution or a poor-quality enquiry; a keyword with no recent conversions may still have an important role in a longer sales cycle. Confirm the account and campaign scope, inspect the proposed rows in Preview and compare them with the live keyword and negative lists. Record any approved changes and revisit the search terms afterward to ensure valuable traffic was not blocked. Where the script can write changes, retain the dry-run and change limits until the results have been reviewed by a person.

The suggested cadence for this script is every two to four weeks. Treat that as a review starting point, then adapt it to the account's volume and the person available to check the output. Keep a note of the account, date window, first Preview result and the decision made from it. If the output is incomplete or the account cannot be confirmed, stop at review; do not infer that a missing warning means there is no problem. Compare any alert or export with the native Google Ads view before making an account change, and record who reviewed the result.

Should every converting query become an exact keyword?

No. A converted search term may already be covered well, may reflect an accidental or low-quality conversion, or may have too little volume to warrant its own structure. Compare the query with the landing page and the actual lead or sale before adding it. The duplicate check helps identify terms already present but cannot decide whether a new keyword would improve routing. The useful outcome is a shortlist of searches worth a human review, not an automatic expansion of the account.

When is a non-converting keyword truly wasteful?

Spending beyond an average-CPA threshold with no recorded conversion deserves investigation, not immediate deletion. Ask whether the keyword supports a longer decision process, whether tracking is complete, and whether recent search terms are commercially relevant. Compare different service margins rather than applying one account-wide target blindly. The report uses windows of different lengths for search terms, keyword waste and the benchmark, so label those dates when discussing a finding with a client.

WhatsApp us