Search Rank Lost Impression Share Monitor
Tracks enabled Search campaigns losing impression share due to rank, helping prioritize quality and bid improvements.
Script Code
Useful for diagnosing visibility constraints caused by ad rank rather than budget.
Preview is public. Unlock full code with name and email.
/**
* ==========================================================
* Search Rank Lost Impression Share Monitor
* ==========================================================
* Description: Flags campaigns with high rank-lost IS for
* visibility improvement prioritization.
*
* Copyright (c) 2026 TwoSquares. All Rights Reserved.
* Developed by Kiril Ivanov
*/
function main() {
var SPREADSHEET_URL = "";
var SHEET_NAME = "Rank Lost IS";
var LOOKBACK_DAYS = 7;
// ... preview shortened
}About This Script
Search Rank Lost Impression Share Monitor surfaces campaigns where rank-related constraints are suppressing visibility. It helps teams separate budget problems from quality/bid competitiveness issues.
The script reports lost impression share due to rank with spend and conversion context, then ranks campaigns by potential impact.
As requested, sheet handling is robust: blank URL auto-creates, provided URL writes to that spreadsheet and creates the output tab if needed.
Implementation Notes
- Set MIN_IMPRESSIONS and MIN_RANK_LOST_IS_PERCENT thresholds.
- Run once manually and confirm output aligns with account priorities.
- Prioritize campaigns with highest impact score for bid/quality improvements.
- Schedule weekly to monitor rank pressure trends.
More Scripts In This Library
Campaign Budget Limited Monitor
Surfaces enabled Search campaigns losing impression share due to budget, with optional sheet output and alerting.
Account Anomaly Detector
Compares today’s account performance against the same weekday across previous weeks and alerts when impressions, clicks, conversions, or cost move outside expected bounds.
Ad Group CPA Outlier Watchlist
Flags ad groups with unusually high CPA (or spend with no conversions) to prioritize optimization efforts.
Automatic Video Placement Exclusion
Excludes low-view-rate video placements from video campaigns using current GAQL reporting and duplicate-safe batching.
Search Rank Lost Impression Share Monitor FAQs
Common setup, usage, and troubleshooting questions for this script.