Script: Pause Non Converting Search Keywords at $210
Learn how to deploy a Google Ads script to pause non converting search keywords after $210 spend. Copy the tested JavaScript code and stop wasted spend.
By AdTurbo Team · 2026-12-04
Bleeding ad spend on search terms that rack up clicks without a single transaction is one of the most common ways Google Ads budgets get quietly drained. Whether you manage lead generation or ecommerce accounts, every advertiser eventually encounters keywords that absorb significant budget without generating results.
Setting a definitive threshold—such as pausing a search keyword after $210 in spend with zero conversions—protects your budget from runaway waste. While manual reviews in the search terms report guide are essential for broader strategy, manual monitoring cannot keep pace across hundreds of ad groups 24/7.
This guide provides a production-ready, fully configurable Google Ads script designed to inspect your search keywords, evaluate historical spend and conversion volume over a custom attribution window, apply clear labels, and pause underperformers automatically.
---
Why Automate Pausing Keywords at a Specific Spend Limit?
Google Ads relies heavily on automated Smart Bidding strategies like Target CPA and Target ROAS. While machine learning works well across broad datasets, it can sometimes allocate significant budget to low-intent variations before adjusting bids downward.
When a specific keyword crosses your target cost-per-acquisition (CPA) multiple without yielding a purchase, waiting for the algorithm to self-correct often wastes hundreds of dollars. Automating this rule using a script gives you deterministic guardrails.
The Math Behind the $210 Threshold
Why choose $210 as a cutoff? In PPC management, keyword evaluation thresholds should reflect statistical significance tied to your allowable CPA or average order value (AOV).
1. Target CPA Multiples: If your target CPA is $70, spending $210 represents exactly $3 \times \text{Target CPA}$. If an ad delivers zero conversions after three times your target cost, the likelihood of that keyword hitting your portfolio efficiency goal drops significantly.
2. Break-Even Margins: For an ecommerce store with an average order value of $150 and a 40% margin ($60 gross profit), a $210 loss on a single non-converting query wipes out the profit from nearly four successful sales.
3. Click Volume Statistical Confidence: At an average cost-per-click (CPC) of $3.50, a $210 spend limit yields 60 clicks. If your account baseline conversion rate is 3%, you would expect 1.8 conversions from 60 clicks. Zero conversions over 60 clicks suggests the keyword's actual conversion rate is likely well below 1% at a 90% confidence level.
If you are wondering why is Google Ads so expensive, leaving these bleeding terms unchecked is frequently the root cause.
---
The Complete JavaScript Code: Google Ads Script to Pause Zero-Purchase Keywords
Below is the complete Google Ads script. It uses the modern Google Ads Scripts API (AdsApp), runs safely within standard script execution quotas, applies an audit label before pausing, and provides execution logs.
javascript
/
• Google Ads Script: Pause Search Keywords After Specific Spend with Zero Purchases
• Description:
• Scans all enabled keywords in enabled Search campaigns. If cost exceeds
• the defined SPENDTHRESHOLD and conversions equal 0 over the specified
• DATERANGE, the script logs the keyword, applies an audit label, and pauses it.
/
var CONFIG = {
SPENDTHRESHOLD: 210.00, // Spend limit in your account currency
DATERANGE: 'ALLTIME', // Options: 'ALLTIME', 'LAST30DAYS', 'LAST90DAYS'
LABELNAME: 'Auto-Paused: $210 No Conv',
APPLYCHANGES: true, // Set to false for a Dry Run (safe testing)
CAMPAIGNNAMECONTAINS: '', // Optional: Filter for specific campaigns (leave empty for all)
CAMPAIGNTYPE: 'SEARCH' // Focus solely on Search campaigns
};
function main() {
ensureLabelExists(CONFIG.LABELNAME);
var keywordSelector = AdsApp.keywords()
.withCondition('Status = ENABLED')
.withCondition('CampaignStatus = ENABLED')
.withCondition('AdGroupStatus = ENABLED')
.withCondition('Cost ' + CONFIG.SPENDTHRESHOLD)
.withCondition('Conversions = 0');
if (CONFIG.DATERANGE !== 'ALLTIME') {
keywordSelector = keywordSelector.forDateRange(CONFIG.DATERANGE);
}
if (CONFIG.CAMPAIGNNAMECONTAINS !== '') {
keywordSelector = keywordSelector.withCondition(
"CampaignName CONTAINSIGNORECASE '" + CONFIG.CAMPAIGNNAMECONTAINS + "'"
);
}
var keywordIterator = keywordSelector.get();
var pausedCount = 0;
var totalWastedSpend = 0;
Logger.log('Starting scan for non-converting search keywords over