Script Pause Low CTR Display Placements: Stop Wasted Spend

Learn how to write a Google Ads script to pause low CTR display placements after 500 impressions. Full code, step-by-step setup, and edge case fixes.

By AdTurbo Team · 2026-10-15

Running Google Display Network (GDN) campaigns without strict placement controls is one of the fastest ways to burn ad spend. By default, Google spreads your display ads across millions of websites, mobile apps, and YouTube videos. A staggering volume of these impressions lands on low-quality MFA (made-for-advertising) websites, hyper-casual mobile games, or parked domains where users either never see your ad or accidentally tap it.

While high-click accidental traffic is a well-known issue, the opposite problem is equally damaging: placements that rack up hundreds or thousands of impressions without generating a single click. When a placement serves 500 impressions with zero clicks (0.00% CTR), your ad is either below the fold, rendering in a broken widget, or serving to automated bots. Over dozens of ad groups, these zero-click impressions quietly erode your reach and burn budget on CPM or Smart Bidding algorithms that chase phantom volume.

In this guide, you will learn how to build, deploy, and maintain a custom Google Ads script to pause low CTR display placements automatically. We will walk through the exact statistical threshold of 500 impressions, provide copy-paste Google Ads Scripts code for both single accounts and MCCs (manager accounts), address crucial mobile app and YouTube edge cases, and establish a bulletproof workflow to automate placement exclusions in Google Ads.

---

Why Zero-Click Display Placements Drain Budgets (And the Math Behind 500 Impressions)

Many media buyers overlook placements that generate zero clicks because they assume that without clicks, no cost is incurred. Under manual CPC or Maximize Clicks bidding, an impression without a click technically incurs zero direct cost. However, in modern Google Ads environments, zero-click placements inflict severe hidden damage across three vectors.

1. Smart Bidding Signal Pollution

Google's conversion-based algorithms (Maximize Conversions and Target CPA) evaluate placement inventory dynamically. When an ad group logs tens of thousands of impressions across hundreds of broken or unviewable placements, the algorithm struggles to accurately determine audience responsiveness. It depresses your ad group's expected CTR (eCTR), forcing higher effective bids on quality inventory to maintain delivery.

2. Viewable CPM (vCPM) Direct Spend

If you run Brand Awareness, Reach, or custom CPM-based Display campaigns, you pay directly for every thousand impressions. If an ad serves 500 impressions on a digital billboard page with twenty competing banners, you have paid half a CPM unit for zero engagement.

3. The 500-Impression Statistical Threshold

Why choose 500 impressions at 0.00% CTR as the cut-off? The average benchmark for Display network CTR typically hovers between 0.35% and 0.55% depending on the industry, as detailed in our guide on what is a good CTR for Google Ads.

Using basic binomial probability, if a placement had an actual expected CTR of just 0.40% (4 clicks per 1,000 impressions), the probability of observing exactly zero clicks across 500 impressions is:

$P(0 \text{ clicks}) = (1 - 0.004)^{500} = (0.996)^{500} \approx 0.1348 \text{ (13.5%)}$

If that expected CTR is a healthier 0.60%:

$P(0 \text{ clicks}) = (1 - 0.006)^{500} = (0.994)^{500} \approx 0.0492 \text{ (4.9%)}$

At 500 impressions with zero clicks, there is a 95% statistical confidence that the placement's true CTR is below 0.60%, and an 86% probability that it performs below average GDN quality. Waiting for 1,000 or 2,000 impressions allows too much wasted budget to accumulate. Cutting inventory off at 500 impressions strikes the ideal balance between giving a website sufficient runway to perform and protecting your ad spend.

| Placement Metric | High Quality GDN Site | Marginal Placement | Unviable Placement (Script Trigger) |

| :--- | :--- | :--- | :--- |

| Impressions | 500+ | 500+ | 500+ |

| Clicks | 3 to 6 | 1 to 2 | 0 |

| CTR | 0.60% – 1.20% | 0.20% – 0.40% | 0.00% |

| Recommended Action | Maintain / Increase Bid | Monitor | Exclude via Script |

| Impact on Account | Positive conversion signal | Neutral | Pollutes bid model, wastes vCPM |

Conducting a regular PPC audit checklist frequently reveals that 60% to 80% of total display impressions are spread thin over thousands of these zero-click placement domains.

---

The Mechanics: How a Google Ads Placement Exclusion Script Operates

Google Ads Scripts run JavaScript inside your Google Ads environment, interacting directly with the Google Ads API using pre-built services like AdsApp. Understanding how the script queries data and applies exclusions is critical before running automated code on live campaigns.

GAQL (Google Ads Query Language)

Modern Google Ads scripts use the Google Ads Query Language (GAQL) to fetch reporting data. To identify unviable placements, the script executes a query against the groupplacementview resource. This view aggregates impressions, clicks, cost, and placement URLs at the ad group level.

A typical query filters for:

• Resource: groupplacementview

• Fields: groupplacementview.placement, metrics.impressions, metrics.clicks, campaign.id, adgroup.id

• Conditions: metrics.impressions = 500 AND metrics.clicks = 0

• Date Range: LAST30DAYS or ALLTIME

Ad Group vs. Campaign vs. Account-Level Exclusions

When the script flags an offending placement URL, it can exclude it at three distinct levels:

1. Ad Group Level (AdGroupPlacement): Excludes the URL solely within the specific ad group where it triggered. This is generally inefficient because the domain will simply pop up in your other display ad groups.

2. Campaign Level (CampaignPlacement): Excludes the URL across the entire campaign. This is better, but still forces other campaigns to discover and pay for the same bad placement independently.

3. Account-Level Placement Exclusion List (SharedPlacementGroup): The gold standard. The script adds the offending domain to a shared exclusion list applied to all current and future campaigns. Once a domain proves it produces zero clicks after 500 impressions anywhere in your account, it is blocked everywhere.

Automating this process removes the manual drudgery of reviewing the placement report weekly, allowing your account management routine to focus on creative strategy and high-level campaign structuring. If you are already refining your search queries using a search terms report guide, running an automated script on Display placements provides identical negative-filtering benefits for your visual campaigns.

---

The Complete Google Ads Script to Exclude Zero-Click Placements (Copy-Paste Code)

Below is the production-ready Google Ads script. It queries all display placements active over the last 30 days, identifies any domain with at least 500 impressions and zero clicks, logs the details, and automatically adds them to an Account-Level Placement Exclusion List named "Automated Script Exclusions".

javascript

/

• Google Ads Script: Exclude Zero-Click Placements (Single Account)

• Threshold: = 500 Impressions and 0 Clicks (0% CTR)

• Action: Adds domains to a designated Account Placement Exclusion List

/

const CONFIG = {

// Minimum impression threshold to evaluate

MINIMPRESSIONS: 500,

// Maximum clicks allowed (0 = strict 0% CTR)

MAXCLICKS: 0,

// Date range to evaluate: 'LAST30DAYS', 'LAST14DAYS', or 'ALLTIME'

DATERANGE: 'LAST30DAYS',

// Name of the Shared Placement Exclusion List in Tools & Settings

EXCLUSIONLISTNAME: 'Automated Script Exclusions',

// Set to true to test run without adding exclusions; set false to apply live

PREVIEWMODE: true

};

function main() {

Logger.log('Starting Zero-Click Placement Scanner...');

// 1. Retrieve or verify the placement exclusion list

const sharedList = getOrCreatePlacementExclusionList(CONFIG.EXCLUSIONLISTNAME);

if (!sharedList && !CONFIG.PREVIEWMODE) {

Logger.log('Error: Could not find or create placement exclusion list. Terminating.');

return;

}

// 2. Query groupplacementview using GAQL

const query =

SELECT

groupplacementview.placement,

groupplacementview.placementtype,

metrics.impressions,

metrics.clicks,

campaign.name

FROM groupplacementview

WHERE

metrics.impressions = ${CONFIG.MINIMPRESSIONS}

AND metrics.clicks <= ${CONFIG.MAXCLICKS}

AND segments.date DURING ${CONFIG.DATERANGE}

;

const searchResults = AdsApp.search(query);

const placementsToExclude = new Set();

let totalFlaggedImpressions = 0;

while (searchResults.hasNext()) {

const row = searchResults.next();

let rawPlacement = row.groupPlacementView.placement;

const impressions = row.metrics.impressions;

const clicks = row.metrics.clicks;

const campaignName = row.campaign.name;

// Clean the placement string

const cleanUrl = sanitizePlacementUrl(rawPlacement);

if (cleanUrl) {

placementsToExclude.add(cleanUrl);

totalFlaggedImpressions += impressions;

Logger.log(Found: ${cleanUrl} | Impr: ${impressions} | Clicks: ${clicks} | Campaign: ${campaignName});

}

}

Logger.log(-----------------------------------------------);

Logger.log(Evaluation complete. Total unique placements flagged: ${placementsToExclude.size});

Logger.log(Total zero-click impressions recovered: ${totalFlaggedImpressions});

// 3. Apply exclusions to Shared List

if (CONFIG.PREVIEWMODE) {

Logger.log('PREVIEW MODE IS ENABLED. No exclusions were applied.');

Logger.log('Set CONFIG.PREVIEWMODE = false to apply live changes.');

} else {

applyExclusionsToList(sharedList, Array.from(placementsToExclude));

}

}

/

• Helper function to find or generate the target Shared Placement List

/

function getOrCreatePlacementExclusionList(listName) {

const listIterator = AdsApp.excludedPlacementLists()

.withCondition(Name = '${listName}')

.get();

if (listIterator.hasNext()) {

return listIterator.next();

}

if (!CONFIG.PREVIEWMODE) {

Logger.log(Placement list "${listName}" not found. Creating it now...);

const builder = AdsApp.newExcludedPlacementListBuilder();

const operation = builder.withName(listName).build();

return operation.getResult();

}

Logger.log(Preview: Would create shared exclusion list "${listName}".);

return null;

}

/

• Helper function to sanitize placement strings

/

function sanitizePlacementUrl(placement) {

if (!placement) return null;

let cleaned = placement.trim().toLowerCase();

// Strip protocols

cleaned = cleaned.replace(/^https?:\/\//, '');

// Strip trailing slashes and paths

if (cleaned.indexOf('/') -1) {

cleaned = cleaned.substring(0, cleaned.indexOf('/'));

}

// Ignore generic mobile categories that break API placement exclusions

if (cleaned.indexOf('mobileapp::') -1 || cleaned.indexOf('anonymous.google') -1) {

return null;

}

return cleaned;

}

/

• Helper function to batch add negative placements

/

function applyExclusionsToList(sharedList, placementArray) {

if (!sharedList || placementArray.length === 0) return;

Logger.log(Adding ${placementArray.length} placements to list "${sharedList.getName()}"...);

let addedCount = 0;

for (let i = 0; i < placementArray.length; i++) {

try {

sharedList.addExcludedPlacement(placementArray[i]);

addedCount++;

} catch (e) {

Logger.log(Error adding placement ${placementArray[i]}: ${e.message});

}

}

Logger.log(Successfully added ${addedCount} placements.);

}

Line-by-Line Code Breakdown

• CONFIG Block: Defines all operation variables in one place. Setting PREVIEWMODE: true lets you test run the script safely in your Google Ads account to inspect the log before modifying your actual exclusion lists.

• groupplacementview Query: Uses AdsApp.search to access GAQL data. Unlike legacy report queries, this syntax delivers faster execution times and lower memory overhead.

• sanitizePlacementUrl(): Placement reporting data often includes full URLs (e.g., example.com/sports/article-1234.html) or protocol prefixes (https://). Excluding deep subpaths does not always stop impressions across the rest of the site. This function extracts the primary domain (example.com) so that the entire domain is added to your account's negative placement list.

• ExcludedPlacementList Integration: The script automatically provisions the list Automated Script Exclusions if it does not already exist, sparing you manual setup in Google Ads UI.

---

Step-by-Step Installation: Setting Up the Script in Your Account

Installing and executing this script inside your Google Ads interface takes under five minutes. Follow these exact steps to ensure clean deployment without permission errors.

Step 1: Navigate to the Scripts Menu

Log in to your Google Ads account. In the top navigation bar, click on Tools and Settings (wrench icon), or access the left-side navigation if using the updated layout. Navigate to Bulk Actions Scripts.

Step 2: Create a New Script

Click the blue "+" button to open the Google Ads Scripts editor. You will see an empty code canvas with a default function main() {} block. Clear this block completely and paste the entire script code from the previous section into the editor.

Step 3: Authorize the Script

Above the code editor, click the Authorize button. Google will open an OAuth prompt asking for permission to manage your campaigns, placements, and reporting. Choose your Google account and grant the necessary permissions. Note: You must have Standard or Administrative access to the Google Ads account to authorize scripts.

Step 4: Run a Preview Test

With PREVIEWMODE: true in your CONFIG block, click Preview at the bottom right. The script will execute without saving any exclusions. Examine the Logs tab at the bottom. You should see a list of URLs that met the 500-impression / 0-click threshold alongside a confirmation of total unique placements detected.

Step 5: Switch to Live Mode and Link the Exclusion List

Once you verify that the flagged domains are indeed poor-performing inventory:

1. Change PREVIEWMODE: false in line 21.

2. Click Save, then click Run.

3. After the initial run finishes, go to Tools and Settings Shared Library Placement Exclusion Lists.

4. Locate the newly generated list named Automated Script Exclusions.

5. Click the list, select Apply to campaigns, check all active Display and Demand Gen campaigns, and click Apply.

Step 6: Set the Schedule

In the main Scripts table, locate your script and click the pencil icon under the Frequency column. Set the schedule to run Weekly (e.g., every Monday at 3:00 AM). Running the script weekly ensures fresh zero-click domains are eliminated before they consume more impressions, while keeping API quota usage low.

For advertisers seeking complete control over their accounts without writing custom scripts, pairing systematic optimizations with intelligent Google Ads automation ensures that spend waste is halted across both Search and Display channels simultaneously.

---

Automated Exclusion vs. Google Sheets Approval: Designing Your Workflow

While auto-excluding placements directly into a shared list works well for established accounts, many PPC managers prefer a "human-in-the-loop" workflow. If your campaigns frequently serve ads on high-authority trade publications or niche industry portals where 500 impressions might just be an unlucky conversion window, an approval spreadsheet prevents accidental exclusions of valuable real estate.

Here is how to structure an approval-based workflow using Google Sheets:

[Google Ads Script]

│

▼

[Exports Flagged Placements to Google Sheet]

│

▼

[Manager Reviews Sheet: Marks 'Approved' or 'Rejected']

│

▼

[Secondary Script (or Sheet Importer) pushes 'Approved' URLs to Negative List]

How the Google Sheet Tabs Work

If you modify the script to write to Google Sheets instead of directly updating the exclusion list, use a two-tab setup:

• Tab 1: PendingReview: Contains columns for Placement URL, Impressions, Clicks, CTR, Campaign Name, Date Flagged, and Approval Status (Dropdown: Approved / Rejected / Pending). The main script appends new rows here on every run.

• Tab 2: ExclusionArchive: Stores all previously approved and synced exclusions with timestamps to prevent duplicate rows.

Your Workflow: The Only Manual Action

Under this model, your only weekly manual action is spending three minutes scanning Tab 1. You sort the table by impressions, glance down the URL list, and verify that no critical industry partner or corporate homepage is flagged. Set the dropdown to Approved, and let a secondary script batch-push those approved URLs into your account's placement exclusion list.

This safeguard is particularly helpful if your team is learning how to manage Google Ads internally and wants transparency before letting code execute account-level changes.

---

Mobile Apps, YouTube, and Edge Cases: What Google Ads Scripts Can and Cannot Block

Excluding standard websites (.com, .org, .net) is straightforward. However, the Google Display Network includes environments that behave differently under the Google Ads API. Failing to account for mobile apps and YouTube will leave massive loopholes in your placement defense.

Mobile App Placements (mobileapp::)

Mobile app placements are notorious budget sinks. Hyper-casual gaming apps serve ads in interstitial banners where users (often children) tap repeatedly to close a game. When zero-click placements appear from apps, they look like this in the raw reporting data:

mobileapp::2-com.rovio.angrybirds or mobileapp::1-123456789

The Google Ads API treats mobile application exclusions differently than domain exclusions. Adding mobileapp::2-com.rovio.angrybirds to a standard website exclusion list via script can throw an API validation error or fail silently depending on the script version.

The Solution: Use category-level exclusions rather than relying on domain-level scripts. In your campaign settings, navigate to Content Exclusions Placement Exclusions and exclude the top-level app categories (App Store and Google Play). If you must exclude specific apps via scripts, ensure your code routes them to campaign.addExcludedPlacement() with appropriate formatting rather than raw string matching.

YouTube: Channels vs. Videos vs. Domains

When your Display or Demand Gen campaigns run across YouTube, the reporting output in groupplacementview can be misleading:

• youtube.com: Often appears as a single parent placement with millions of impressions. You cannot safely exclude youtube.com via an automated zero-click script, or you will block all YouTube ad delivery across the entire account.

• Individual Channels: Appear as youtube.com/channel/UC...

• Individual Videos: Appear as youtube.com/watch?v=...

Our sanitize function in Section 3 strips URL paths, which protects you from accidentally submitting deep video URLs, but you must prevent the root domain youtube.com from entering the exclusion queue. Add this condition directly into your filtering logic:

javascript

if (cleanUrl === 'youtube.com' || cleanUrl.endsWith('.google.com')) {

// Do not automatically exclude parent platforms

continue;

}

Demand Gen Campaign Placements

Demand Gen campaigns (which replaced Discovery campaigns) serve across YouTube Shorts, Discover, and Gmail. Google restricts detailed placement reporting on Demand Gen inventory compared to standard Display campaigns. While the script will catch group placement views where data is surfaced, many impressions remain anonymized by Google under privacy thresholds. For systematic budget audits on hidden display leakage, running a free Google Ads audit helps expose where automated bidding quietly allocates spend across non-transparent inventory.

---

Scaling Across Accounts: Converting to an MCC Script and Managing Placement Lists

If you run an agency or manage multiple brand accounts under a Google Ads Manager Account (MCC), deploying individual scripts across twenty accounts is inefficient. An MCC script loops through all managed child accounts, queries their placement reports, and pushes zero-click placements to account-specific or cross-account shared lists.

The MCC Placement Excluder Architecture

javascript

/

• Google Ads MCC Script: Multi-Account Placement Excluder

/

function main() {

// Filter for active child accounts

const accountSelector = AdsManagerApp.accounts()

.withCondition('Impressions 1000')

.forDateRange('LAST30DAYS');

accountSelector.executeInParallel('processChildAccount', 'compileMccResults');

}

function processChildAccount() {

const currentAccount = AdsApp.currentAccount();

Logger.log(Scanning Account: ${currentAccount.getName()} (${currentAccount.getCustomerId()}));

// Execute the single-account logic here

// Query placements - identify = 500 impr & 0 clicks - exclude

return JSON.stringify({

accountId: currentAccount.getCustomerId(),

status: 'COMPLETE'

});

}

function compileMccResults(results) {

Logger.log('All child accounts processed successfully.');

}

Execution Limits and Parallel Processing

When executing scripts across an MCC:

• executeInParallel() can process up to 50 accounts simultaneously. If you manage more than 50 accounts, use account labels (e.g., Batch1, Batch2) and run separate scheduled scripts for each label.

• MCC scripts have a maximum execution time limit of 60 minutes, compared to 30 minutes for single-account scripts. Always optimize GAQL queries to only pull accounts that logged more than 1,000 impressions in the target window.

If your organization manages client accounts at scale and wants to avoid script maintenance altogether, modern PPC management software platforms automate cross-account placement scrubbing natively without requiring custom developer upkeep.

---

Script Quotas, API Limits, and Long-Term Placement Hygiene

Google Ads Scripts operate within strict API infrastructure limitations. If you oversee large accounts with millions of monthly impressions, failing to manage these constraints will cause your script to time out or crash.

Critical Script Quotas

• Execution Time: Single account scripts terminate after 30 minutes. Parallel MCC execution terminates after 60 minutes.

• Shared Placement List Limits: An individual Placement Exclusion List can hold a maximum of 65,000 exclusions. An account can hold up to 20 shared exclusion lists.

• Entity Read/Write Quotas: Creating or modifying more than 50,000 entities in a single script execution will trigger a rate limit error.

Managing the 65,000 Exclusion Ceiling

In high-volume accounts, a script excluding hundreds of zero-click domains each week will eventually hit the 65,000-placement limit on your shared exclusion list. To prevent failure:

1. Consolidate to Top-Level Domains (TLD): Never add subdomains individually (sub1.example.com, sub2.example.com). Our sanitization logic strips subdomains down to example.com, blocking all sub-properties under a single negative entry.

2. Archive Inactive Domains Annually: Review your oldest exclusion lists every 12 months. Delete expired domains or parked sites that have ceased operations to free up capacity for active web properties.

3. Automate Rotation Across Multiple Lists: If List 1 hits 60,000 placements, update your script's CONFIG.EXCLUSIONLISTNAME to Automated Script Exclusions 2 and link the second list across all campaigns.

Complementary Display Optimization Tactics

Excluding zero-click placements after 500 impressions is a powerful defensive tool, but it should not be your only optimization layer. Pair your script with proactive account governance:

• Regularly expand your search and display negative keyword coverage using curated lists from our negative keywords examples guide.

• Exclude irrelevant categories (parked domains, forums, juvenile games) at the account level before spending money to test them.

• Incorporate your script reviews into a comprehensive weekly cadence using our Google Ads optimization checklist.

If manual script debugging and negative placement list maintenance consume too much of your time, AI-driven solutions offer an attractive alternative. Tools like AdTurbo ($149/mo with a 7-day trial, card required) automate placement hygiene, keyword pruning, and bid management in the background, typically saving teams anywhere from 5 to 15 hours of manual account maintenance every week while protecting ad spend from poor-performing placements.

---

Related Guides

• How to Find Negative Keywords in Google Ads (Step by Step)

• Google Ads Optimization Checklist: 15 Things to Check Every Week

• Why Is Google Ads So Expensive? 7 Reasons (And How to Pay Less)

---

Frequently Asked Questions

What happens if the script excludes a website that converts later?

Because the script specifically isolates placements with 500 impressions and zero clicks, there is virtually zero risk of pausing a conversion-producing placement. A user cannot convert on your landing page without first clicking your ad. If a placement logged zero clicks, its conversion rate is by definition 0%.

Will this script work on Performance Max and Demand Gen campaigns?

Performance Max does not support ad-group-level placement views in the standard Google Ads Scripts API, so the script cannot directly inspect PMax placement-level click metrics. However, if you apply the script's Account-Level Placement Exclusion List to your entire account, those exclusions will automatically block impressions across your Performance Max and Demand Gen campaigns.

How often should I schedule this script to run?

Running the script once a week is ideal for most accounts spending between $2,000 and $50,000 per month. Weekly execution allows placements adequate time to build statistically significant impression data without letting poor-performing domains drain significant budget between cycles.

Why does the script fail with a "limit exceeded" error?

This error typically occurs when your target Placement Exclusion List has reached Google's hard limit of 65,000 entries, or when your query attempts to process more than 10,000 placements in a single batch. To resolve this, create a second shared exclusion list in your account settings and update the list name inside the script's configuration block.