Every Google Ads manager reaches the same point: too many campaigns, too many manual tasks, and not enough hours. You are checking budgets, pausing underperformers, pulling reports, adding negative keywords and monitoring Quality Score before you even reach strategy.
Google Ads scripts solve this. They are JavaScript that runs inside your Google Ads account, so you can paste a script, set a schedule and let it run. Automated rules cover the no-code end of the same job. This page is the working reference for both: 173 scripts in 12 categories, the official Google templates, the limits Google documents, automated rule recipes, and every source linked so you can open the code or the original write-up.
What changed in the November 18, 2026 update
- The index grew from 152 to 173 scripts, and a new Performance Max Scripts category was added (21 scripts were added across the index).
- Every script in the index now has a Reference column. Where I could open a working source, it is linked. Where I could not, the entry says so rather than guessing.
- The FAQ now states Google’s documented limits: 250 authorized scripts per account and 30 minutes per run. The earlier edition said 50 scripts.
- New sections: the six official Google templates, scripts versus automated rules, automated rule recipes, documented limits and where to find more code.
- Specific percentage claims that I could not source (for example savings and ROAS uplift ranges) were removed from the top 10 write-ups.
Contents
- Why Google Ads scripts matter in 2026
- Scripts versus automated rules
- The six official Google templates
- The top 10 scripts
- Scripts and Performance Max
- Automated rule recipes
- All 173 scripts by category
- Documented limits and safe installation
- Where to find more code
- Download the PDF
- Frequently asked questions
- How this page was checked
Why Google Ads scripts matter in 2026
Manual campaign management does not scale. Whether you run one account spending $5,000 a month or an agency portfolio spending far more, the operational work is the same, and scripts take the grunt work so you can focus on strategy, creative and growth.
- Time savings: automate tasks that take hours every week, from budget monitoring to negative keyword management.
- Faster response: get alerts within hours when performance drops, budgets deplete or ads are disapproved.
- Consistency: a script runs the same checks every time and does not skip steps.
- Scale: apply a rule across hundreds of campaigns at once instead of one by one.
Scripts versus automated rules
Both automate account changes. Automated rules live in the Google Ads interface and need no code: you choose a condition, an action and a frequency, and can have the results emailed to you. Google’s documentation says rules can change ad status, budget, bids and more. Scripts are JavaScript, so they can read and write Google Sheets, send email or Slack messages, call outside APIs and apply logic a rule cannot express. See Google’s page on automated rules for Performance Max and App campaigns for the current rule options.
| Question | Automated rules | Scripts |
|---|---|---|
| Skill needed | None. Built in the interface. | Basic JavaScript to customize; templates need only configuration. |
| External data (weather, stock, CRM) | No | Yes, through APIs and Sheets |
| Custom logic and multi-step workflows | Limited to condition, action, frequency | Anything you can code, within Google’s limits |
| Reporting to Sheets or Slack | Email results only | Sheets, email, Slack and more |
| Risk of a coding error | Low | Higher; use preview mode |
My view: start with rules for simple pause, enable and alert jobs, and move to scripts when you need data from outside Google Ads or logic across accounts.
The counterargument: rules are blunt. They can act on a short window of noisy data, they have a narrower set of conditions, and they are harder to audit across many accounts than a script with a log. Teams that manage many accounts often prefer scripts from the start for version control and logging, even for simple jobs.
The six official Google templates
These are the solutions listed on Google’s own scripts documentation as of November 18, 2026. They are the safest place to start because Google maintains them.
| Template | What it does | Source |
|---|---|---|
| Account Summary | At-a-glance account performance in a linked Sheet, with an optional daily HTML email. | Google: Account Summary |
| Account Anomaly Detector | Emails an alert when current performance departs from the average for the same weekday in past weeks. | Google: Account Anomaly Detector |
| Ad Performance | Builds a Sheet of ad performance distribution charts, designed to run weekly on Mondays for the previous week. | Google: Ad Performance |
| Common Negative List | Syncs shared negative keyword and placement lists from a Sheet and applies them across campaigns. | Google: Common Negative List |
| Flexible Budgets | Adjusts a campaign's daily budget each day so a fixed total spend is distributed according to a chosen strategy. | Google: Flexible Budgets |
| Link Checker | Checks the URLs of ads, keywords and sitelinks for error responses, emails you, and logs results to a Sheet. | Google: Link Checker |
Note: several older Google solution URLs that other sites still link to (for example bid-by-weather, negative-keyword-conflicts, declining-adgroups and search-query) did not load their own pages when I checked on November 18, 2026 and returned the Account Summary page instead. I have not linked to them.
The top 10 Google Ads scripts you need right now
These ten cover the core areas: bidding, budgets, quality, maintenance, reporting and monitoring.
1. Advanced Ad Scheduling Script
Category: Bidding | Source: Brainlabs
The default ad scheduling in Google Ads gives you basic day-parting options. This script goes much further, with flexible bidding based on any minute of any day on any device, so you control bid adjustments by both time and device.
Why it matters: Accounts often perform very differently at different times. A B2B SaaS company may convert far better during business hours than in the evening, and an ecommerce brand may see mobile conversions rise during commute hours. This script lets you capture those patterns and bid to them.
How to implement: Install the script from the Brainlabs GitHub repository. Set your bid multipliers in a Google Sheet, one adjustment per hour block and device type, and run the script hourly. Reference: Brainlabs script repository.
2. Performance-Based Budget Allocation Script
Category: Budget Management
Moves budget from underperforming campaigns to high-performing ones based on CPA or ROAS, so you do not have to rebalance by hand every few days.
Why it matters: Budget misallocation is a common profit leak. One campaign can sit at a healthy CPA while another burns cash at a much higher one, and both receive equal budget. Automating the shift keeps spend pointed at what works.
How to implement: Define a target CPA or ROAS for each campaign. Set minimum and maximum budget thresholds so no campaign is starved or overloaded, and run the script every 4 to 6 hours so campaigns collect enough data between changes. For a Google-built starting point, see the official Flexible Budgets template. Reference: Google: Flexible Budgets.
3. Quality Score Monitor
Category: Quality Score and Performance
Tracks quality score changes across the account and alerts you when scores fall on high-performing keywords. It logs history so you can see trends, not just snapshots.
Why it matters: Quality Score feeds into your costs and ad rank, and a drop on a high-volume keyword is easy to miss until it has already cost money. Catching it early lets you investigate the ad, keyword or landing page cause before it compounds.
How to implement: Use a connected Google Sheet to store historical Quality Score data. Set alert thresholds (for example, any keyword with more than 100 clicks a month that drops by 2 or more points), run the script daily, and route alerts to email or Slack through a webhook. The 2016 PPC Epiphany tracker is a long-standing reference, so test it carefully before relying on it. Reference: PPC Epiphany: Quality Score Tracker v3.0 (2016, legacy).
4. Negative Keyword Manager
Category: Maintenance
Reviews search term data and adds irrelevant terms as negative keywords, using rules you define: minimum spend with zero conversions, irrelevant categories, and brand terms that should be excluded from generic campaigns.
Why it matters: Wasted spend on irrelevant search terms hurts profitability, and manual reviews usually happen weekly at best. A script applies your rules on every run.
How to implement: Create a Google Sheet holding your rules: the spend threshold before a term is flagged, explicit exclusion terms, and the negative keyword lists to add them to. Run the script every 6 hours on active accounts. Google's Common Negative List template shows how to sync shared negative lists from a Sheet. Reference: Google: Common Negative List.
5. Daily Performance Report Generator
Category: Reporting
Generates a daily report with spend, clicks, impressions, conversions, CPA and ROAS and delivers it by email, with comparison periods such as yesterday against the same day last week.
Why it matters: Building reports by hand takes hours each week. An automated report is waiting before you open your laptop, and anomalies show up in the daily numbers instead of surfacing at the weekly review.
How to implement: Configure your preferred metrics, comparison windows and recipients, then schedule the script for early morning. Google's Account Summary template is the official starting point: it fills a linked Sheet with yesterday's stats and can send a daily HTML email. Reference: Google: Account Summary.
6. Disapproved Ads Monitor
Category: Monitoring and Alerts
Tracks ad disapprovals and sends notifications for urgent review, grouped by type (policy violation, trademark issue, landing page problem) and prioritized by campaign impact.
Why it matters: A disapproved ad in a high-volume ad group can cost real revenue before anyone notices, and email notices from Google are easy to miss. A script can tell you which campaign, ad group and ad is affected, and why.
How to implement: Install the script and set notification preferences (email, Slack or both). Set priority levels by campaign daily spend so high-value disapprovals are flagged first, and run it every 2 hours.
7. Weather-Based Bidding Script
Category: Bidding
Raises or lowers bids based on current weather in your target locations. It pulls weather data from an API and applies the bid multipliers you define for each condition.
Why it matters: In some industries weather changes demand. HVAC companies see more searches in heat waves, umbrella retailers do better when it rains, and delivery restaurants get more orders in bad weather.
How to implement: Connect a weather API (check the provider's current free-plan limits before you commit). Define bid multipliers in a Google Sheet, map your Google Ads locations to the weather API's location codes, and run the script every 2 to 4 hours. Google's older bid-by-weather example no longer appears in its current solutions list, so treat any copy of that code as legacy.
8. Expired Landing Pages Finder
Category: Maintenance
Scans active ads and checks whether each landing page returns a healthy HTTP response. It flags 404 errors, 500 errors, redirect chains and pages that have been taken down.
Why it matters: Sending paid traffic to a broken page wastes the click and hurts the landing page experience. In large accounts broken links are close to inevitable as products are discontinued and pages are restructured.
How to implement: The script goes through enabled ads, extracts final URLs and checks each one. Alert on any non-200 response, optionally pause ads with confirmed broken pages, and run it daily. Google's Link Checker template checks the URLs of ads, keywords and sitelinks, emails you about errors and logs results to a Sheet. Reference: Google: Link Checker.
9. Click Fraud Monitor
Category: Monitoring and Alerts
Looks for unusual click patterns that may indicate fraud: abnormal CTR spikes and geographic anomalies where clicks do not match your target market.
Why it matters: Google has built-in invalid click detection, but an extra layer of monitoring helps you spot patterns worth investigating. IP-level analysis generally needs data from your own website or a dedicated fraud tool, so treat this script as a pattern spotter rather than proof of fraud.
How to implement: Define baseline metrics: normal CTR ranges, expected geographic distribution and acceptable click-to-conversion ratios. The script flags deviations beyond your thresholds. Configure email alerts, review flagged activity weekly, and run it every 4 hours.
10. Conversion Drop Alert
Category: Monitoring and Alerts
Finds sudden drops in conversion rate or volume across campaigns, ad groups and keywords by comparing current performance with a rolling average.
Why it matters: Conversion drops have many causes: a broken form, a tag that stopped firing, a landing page change, a competitor undercutting on price. Catching the drop within hours gives you time to diagnose it before it burns through budget.
How to implement: Set a comparison window (typically a 7-day rolling average against today) and the percentage drop that triggers an alert, for example 30% below average. Configure alerts for both conversion rate and absolute conversion count, and run it every 6 hours. Google's Account Anomaly Detector is the official template for same-weekday comparisons. Reference: Google: Account Anomaly Detector.
Scripts and Performance Max
Google’s Performance Max examples for scripts show these capabilities (checked November 18, 2026): listing Performance Max campaigns or finding one by name, reading details such as status, bidding strategy and dates, reading stats for a date range, finding an asset group by name, pausing a campaign, pausing an asset group, and adding or removing YouTube video assets in an asset group. The page does not show creating Performance Max campaigns. See Google's Performance Max examples.
For everything else on Performance Max, such as channel reporting and search query data, community scripts pull data through the Google Ads API. Two are listed in the index below with links to the articles that describe them.
Automated rule recipes
These are starting points based on common practice, not rules published by Google. Which conditions and actions are available depends on the campaign type, so confirm them in the rule builder, start with email-only versions, and test on a small campaign first.
| Rule | Applies to | Condition | Action | Frequency |
|---|---|---|---|---|
| Pause money-wasting keywords | Keywords | Cost above your threshold and zero conversions over the last 30 days | Pause | Weekly |
| End a promotion | Campaigns | None (date based) | Pause | Once, on the end date |
| Start a promotion | Campaigns | None (date based) | Enable | Once, on the start date |
| Scale a winner | Campaigns | CPA below target and the campaign is limited by budget | Raise daily budget by a set percentage, with a cap | Daily |
| Trim a loser | Campaigns | CPA above target for the last 14 days | Lower daily budget by a set percentage, with a floor | Weekly |
| Bid down on expensive keywords | Keywords (manual CPC) | Cost per conversion above target with enough spend to judge | Lower max CPC by 5 to 10% | Weekly |
| Bid up on efficient keywords | Keywords (manual CPC) | Cost per conversion below target and impression share is low | Raise max CPC by 5 to 10% | Weekly |
| Pause weak ad groups | Ad groups | Cost above threshold and zero conversions | Pause and email | Weekly |
| Spend alert | Campaigns | Cost today above your daily alert level | Email only | Every few hours |
| CTR alert | Campaigns | CTR below your floor with a minimum number of impressions | Email only | Daily |
| Zero delivery alert | Campaigns | Impressions equal to zero yesterday | Email only | Daily |
| Weekend schedule | Campaigns | None (date based) | Pause on Friday evening, enable on Monday morning | Weekly |
| Flag for review | Ads or keywords | Poor CPA or CTR over a chosen window | Apply a label for manual review | Weekly |
| Performance Max asset group rule | Asset groups | Set in the rule builder; check which conditions your account offers | Per Google's rule options; email results | Per your setup |
| App ad group bid rule | App ad groups | Per your targets | Change ad group bids (supported only for App campaigns for engagement, per Google) | Per your setup |
Bid rules on keywords only apply where you control bids manually. On Smart Bidding strategies Google sets the bids, so use budget, status and alert rules there. Google states that, for App campaigns, “Change ad group bids” works only for App campaigns for engagement.
All 173 Google Ads scripts by category
Every script below has a description and a reference column. Rows marked New were added in the November 18, 2026 update. A reference labeled “related” in your reading is a close match, not necessarily the exact code behind the entry, so read it before you install anything.
Bidding Scripts (17)
| # | Script | What it does | Reference |
|---|---|---|---|
| 1 | Advanced Ad Scheduling | Enables flexible bidding based on any minute of any day on any device. | Brainlabs script repository |
| 2 | Extended Devices, Locations, and Audiences Bidding | Applies bid adjustments across multiple dimensions including devices, geographic locations, and audience segments simultaneously. | No verified source yet |
| 3 | In-Market Audiences Bidding | Automatically adjusts bids for users in market audiences, increasing bids for high-intent users actively considering purchases. | Search Engine Land: in-market bidding script (Daniel Gilbert) |
| 4 | Target CPA Optimizer | Maintains a target cost-per-acquisition by adjusting individual keyword bids based on conversion history and performance data. | No verified source yet |
| 5 | ROAS Optimizer Script | Adjusts bids to achieve a specified return on ad spend target across campaigns or ad groups. | No verified source yet |
| 6 | Day-of-Week Bidding Multiplier | Applies different bid multipliers based on the day of the week, capitalizing on higher-performing days. | No verified source yet |
| 7 | Weather-Based Bidding | Automatically increases or decreases bids based on weather conditions in target locations. | No verified source yet |
| 8 | Competitor Price Bidding | Monitors competitor pricing and automatically adjusts bids to maintain desired position relative to competition. | No verified source yet |
| 9 | Inventory-Level Bidding | Dynamically adjusts bids based on current inventory levels, increasing bids when inventory is high and decreasing when low. | No verified source yet |
| 10 | Audience Quality Score Bidding | Applies bid multipliers based on quality scores of specific audience segments. | No verified source yet |
| 11 | Conversion Value Optimizer | Adjusts bids based on the estimated value of conversions rather than just conversion count. | No verified source yet |
| 12 | Mobile Bid Adjuster | Automatically manages mobile device bid adjustments based on mobile conversion performance. | No verified source yet |
| 13 | Seasonal Bid Adjuster | Applies bid multipliers based on seasonal patterns and date ranges defined by the user. | No verified source yet |
| 14 | Demographic Bid Optimizer | Manages bid adjustments for different demographic segments (age, gender, parental status). | No verified source yet |
| 15 | Time-Zone Based Bidding | Adjusts bids based on the user's time zone to capture high-intent users during peak hours in their region. | No verified source yet |
| 16 | Real-Time Position Bidding New | Recalculates bids on a schedule so keywords hold a target position on the results page. Listed in Koozai's roundup; the original source page could not be verified. | Koozai: 50 Google Ads scripts (2025) |
| 17 | Search Lost Impression Share Bid Raiser New | Raises bids on keywords that are losing impression share to rank while cost per conversion stays under a set limit. | KlientBoost: Google Ads scripts |
Budget Management Scripts (19)
| # | Script | What it does | Reference |
|---|---|---|---|
| 18 | Daily Budget Manager | Monitors daily spend and alerts when approaching budget limits, preventing overspend on campaigns. | Search Engine Land: budget script (Wesley Parker) |
| 19 | Budget Pacing | Ensures campaigns spend evenly throughout the month by adjusting daily budgets based on pace-to-date. | Google: Flexible Budgets |
| 20 | Shared Budget Distributor | Allocates a shared budget pool across multiple campaigns based on performance or custom distribution rules. | No verified source yet |
| 21 | Performance-Based Budget Allocation | Automatically redistributes budget from underperforming to high-performing campaigns based on CPA or ROAS. | No verified source yet |
| 22 | Monthly Budget Enforcer | Monitors cumulative spend across a month and pauses campaigns when monthly budget limit is reached. | Acuto: Monthly Budget Pacing (2023) |
| 23 | Account-Level Budget Optimizer | Manages total account spend across multiple campaigns and adjusts campaign budgets to optimize overall ROAS or CPA. | No verified source yet |
| 24 | ROI-Based Budget Adjuster | Increases budgets for campaigns exceeding ROI targets and decreases budgets for underperforming campaigns. | No verified source yet |
| 25 | Quarterly Budget Tracker | Tracks spending against quarterly budget allocations and alerts when approaching limits. | No verified source yet |
| 26 | Grant Account Budget Manager | Monitors non-profit grant accounts to ensure proper budget utilization and prevents overspend on grant funds. | No verified source yet |
| 27 | CPA-Based Budget Reallocation | Reallocates budget from campaigns with high CPA to campaigns achieving target CPA. | No verified source yet |
| 28 | Conversion Value Budget Optimizer | Allocates budget proportionally to campaigns with highest conversion values. | No verified source yet |
| 29 | Hourly Budget Limiter | Caps spending at an hourly rate to prevent budget depletion before a specified time. | No verified source yet |
| 30 | Campaign Budget Sync | Synchronizes budgets across campaigns in a portfolio or campaign group to maintain consistent spend. | No verified source yet |
| 31 | Real-Time Budget Monitor | Provides real-time alerts when daily spend approaches or exceeds specified budget thresholds. | Search Engine Land: budget script (Wesley Parker) |
| 32 | Seasonal Budget Adjuster | Adjusts campaign budgets based on seasonal patterns and historical performance data. | No verified source yet |
| 33 | Day-of-Week Budget Pacing | Adjusts daily budgets based on day-of-week spending patterns to maintain even monthly pacing. | No verified source yet |
| 34 | Conversion-Weighted Budget Allocator | Distributes budget across campaigns based on weighted conversion values. | No verified source yet |
| 35 | Cost-Per-Lead Budget Manager | Reallocates budget to campaigns achieving the lowest cost per lead. | No verified source yet |
| 36 | Monthly Budget Pacing Alerts New | Tracks month-to-date spend against a monthly budget and emails alerts at 50% (in the first 10 days), 90% and 100% of budget. | Acuto: Monthly Budget Pacing (2023) |
Quality Score And Performance Optimization Scripts (16)
| # | Script | What it does | Reference |
|---|---|---|---|
| 37 | Quality Score Monitor | Tracks quality score changes and alerts when scores decline significantly on high-performing keywords. | PPC Epiphany: Quality Score Tracker v3.0 (2016, legacy) |
| 38 | Low Quality Score Keywords Alert | Identifies keywords with quality scores below a threshold and sends alerts for review and optimization. | Search Engine Land: low Quality Score script (Daniel Gilbert) |
| 39 | Ad Relevance Checker | Analyzes ad copy to keyword relevance and suggests improvements. | No verified source yet |
| 40 | Landing Page Quality Monitor | Identifies landing page experience issues by monitoring quality score components. | No verified source yet |
| 41 | Historic Quality Score Tracker | Records and tracks quality score trends over time to identify improvement or decline patterns. | PPC Epiphany: Quality Score Tracker v3.0 (2016, legacy) |
| 42 | Negative Quality Score Bidder | Automatically applies negative bid adjustments to keywords with persistently low quality scores. | No verified source yet |
| 43 | Expected CTR Analyzer | Monitors expected CTR component of quality score and alerts when declining. | No verified source yet |
| 44 | Ad Copy Performance Analyzer | Analyzes ad copy performance metrics and recommends changes based on CTR and conversion data. | No verified source yet |
| 45 | Landing Page Speed Analyzer | Checks landing page load times and alerts when pages are slow, affecting quality score. | No verified source yet |
| 46 | Keyword Performance Variance Alert | Identifies keywords with unusual performance changes to flag potential issues. | No verified source yet |
| 47 | Ad Position Tracker | Monitors average ad positions and alerts when they decline significantly. | No verified source yet |
| 48 | Click-Through Rate Monitor | Tracks CTR trends and alerts when CTR drops below target thresholds. | No verified source yet |
| 49 | Conversion Rate Optimizer Alert | Identifies campaigns and ad groups with declining conversion rates. | No verified source yet |
| 50 | Impression Share Maximizer | Alerts when impression share drops below target to help improve campaign visibility. | No verified source yet |
| 51 | Search Term Performance Reporter | Analyzes search terms and identifies high-performing terms for keyword expansion. | No verified source yet |
| 52 | Device Performance Analyzer | Compares performance metrics across devices to identify optimization opportunities. | No verified source yet |
Ad Copy And Creative Scripts (19)
| # | Script | What it does | Reference |
|---|---|---|---|
| 53 | Ad Performance Rotator | Automatically rotates underperforming ads out of rotation based on CTR or conversion metrics. | Acuto: Pause Ads with Low CTR (2023) Free AdWords Scripts: pause ads with low CTR (2012, legacy) |
| 54 | Dynamic Headline Generator | Creates responsive search ad headlines based on keyword and audience data. | No verified source yet |
| 55 | Ad Copy A/B Test Manager | Manages multiple ad variations and automatically promotes best-performing ads. | No verified source yet |
| 56 | Low CTR Ad Alert | Identifies ads with click-through rates below target and flags for improvement. | Acuto: Pause Ads with Low CTR (2023) |
| 57 | Expired Ad Removal Script | Removes ads that have been running for extended periods and need refresh. | No verified source yet |
| 58 | Ad Copy Keyword Matcher | Checks that ad headlines and descriptions contain relevant keywords for better quality scores. | No verified source yet |
| 59 | Competitor Ad Copy Monitor | Extracts and analyzes competitor ad copy to identify messaging patterns and gaps. | No verified source yet |
| 60 | Mobile Ad Optimization | Ensures ads are optimized for mobile devices with appropriate character counts and messaging. | No verified source yet |
| 61 | Seasonal Ad Rotator | Automatically rotates seasonal ad creatives based on dates and time periods. | No verified source yet |
| 62 | Promotional Ad Manager | Schedules and manages time-sensitive promotional ad copy. | No verified source yet |
| 63 | Call Extension Manager | Manages call extensions and ensures phone numbers are optimized for conversions. | No verified source yet |
| 64 | Price Extension Updater | Automatically updates price extensions based on current pricing data. | No verified source yet |
| 65 | Review Extension Manager | Pulls and updates seller rating extensions with latest review scores. | No verified source yet |
| 66 | Ad Scheduling Optimizer | Rotates different ad copy at different times of day based on performance. | No verified source yet |
| 67 | RSA Asset Performance Export New | Exports performance data for every headline and description across enabled responsive search ads, ad groups and campaigns. | Synapse SEM: best scripts (February 2025) |
| 68 | Ad Performance by Copy Length New | Aggregates ad performance by headline, description and path length to show which lengths earn more clicks. | Koozai: 50 Google Ads scripts (2025) |
| 69 | Capitalization Error Fixer New | Finds ads containing capitalization errors and replaces them with corrected versions. | Koozai: 50 Google Ads scripts (2025) |
| 70 | Sales Countdown Calendar New | Uses ad customizers and a calendar so ads show the right sale dates and countdown text automatically. | Koozai: 50 Google Ads scripts (2025) |
| 71 | New Year Ad Text Updater New | Pauses ads and swaps year-specific text on January 1 so old year references do not stay live. | Koozai: 50 Google Ads scripts (2025) |
Shopping Campaign Scripts (12)
| # | Script | What it does | Reference |
|---|---|---|---|
| 72 | Product Feed Performance Monitor | Tracks product feed performance and alerts when products underperform. | No verified source yet |
| 73 | Shopping Bid Optimizer | Adjusts bids for individual products or product groups based on ROAS performance. | No verified source yet |
| 74 | Missing Product Alert | Identifies products disapproved in the feed and alerts for correction. | No verified source yet |
| 75 | Promotional Price Manager | Updates product prices in feeds based on promotional calendars. | No verified source yet |
| 76 | Inventory Sync Script | Syncs real-time inventory levels with product feed bids and alerts. | No verified source yet |
| 77 | Shopping Campaign Budget Manager | Monitors and manages budgets across multiple shopping campaigns. | No verified source yet |
| 78 | Product-Level ROAS Tracker | Tracks return on ad spend at the individual product level. | No verified source yet |
| 79 | Seasonal Product Manager | Automatically pauses seasonal products outside their selling season. | No verified source yet |
| 80 | Feed Quality Validator | Checks product feed for common errors and missing data. | No verified source yet |
| 81 | Shopping Ad Schedule Manager | Manages ad scheduling for shopping campaigns by product group or time period. | No verified source yet |
| 82 | Product Review Updater | Pulls product review data and updates extensions automatically. | No verified source yet |
| 83 | Low Inventory Alert Script | Monitors product inventory and reduces bids or pauses products when stock runs low. | No verified source yet |
Audience And Remarketing Scripts (13)
| # | Script | What it does | Reference |
|---|---|---|---|
| 84 | Audience Segment Performance Monitor | Tracks performance across different audience segments and alerts on underperformers. | No verified source yet |
| 85 | Remarketing List Manager | Automatically creates and manages remarketing audiences based on user engagement. | No verified source yet |
| 86 | Lookalike Audience Analyzer | Monitors performance of lookalike audiences and suggests optimization. | No verified source yet |
| 87 | Audience Overlap Detector | Identifies overlapping audiences to prevent duplicate targeting and wasted spend. | No verified source yet |
| 88 | Abandoned Cart Remarketer | Creates remarketing audiences from users who abandoned carts with specific product interests. | No verified source yet |
| 89 | Customer List Uploader | Automatically uploads customer lists from CRM systems to Google Ads for customer matching. | No verified source yet |
| 90 | In-Market Audience Analyzer | Tracks performance of in-market audience segments and suggests adjustments. | No verified source yet |
| 91 | Intent Audience Optimizer | Identifies and monitors highest-intent audience segments for bid adjustment. | No verified source yet |
| 92 | Audience Exclusion Manager | Automatically adds non-converting audiences to exclusion lists. | No verified source yet |
| 93 | Cross-Device Audience Tracker | Monitors audience performance across multiple devices. | No verified source yet |
| 94 | Demographic Expansion Script | Suggests new demographic segments based on high-performing current audiences. | No verified source yet |
| 95 | Competitor Audience Builder | Creates audiences of users showing interest in competitor websites. | No verified source yet |
| 96 | Engagement-Based Audience Creator | Builds audiences based on engagement metrics like video views or site engagement time. | No verified source yet |
Reporting And Analytics Scripts (17)
| # | Script | What it does | Reference |
|---|---|---|---|
| 97 | Daily Performance Report Generator | Generates automated daily reports with key metrics and sends via email. | Google: Account Summary |
| 98 | Campaign Performance Dashboard | Creates visual dashboards of campaign performance across multiple metrics. | No verified source yet |
| 99 | Competitor Benchmark Reporter | Compares account performance against industry benchmarks and competitors. | No verified source yet |
| 100 | Weekly Trend Report | Generates weekly performance trends and anomaly detection reports. | No verified source yet |
| 101 | ROI and Revenue Tracker | Calculates and tracks return on investment and revenue generated by campaigns. | No verified source yet |
| 102 | Cost Analysis Reporter | Breaks down costs by campaign, ad group, keyword, and device. | No verified source yet |
| 103 | Keyword Performance Report | Generates comprehensive keyword-level performance reports with rankings and metrics. | No verified source yet |
| 104 | Account Health Scorecard | Creates an overall account health score based on multiple performance metrics. | No verified source yet |
| 105 | Search Term Report Generator | Extracts and analyzes search terms with performance data and conversion attribution. | No verified source yet |
| 106 | Ad Performance Report | Tracks ad-level performance and identifies best and worst-performing creatives. | Google: Ad Performance |
| 107 | Device Performance Breakdown | Analyzes performance across desktop, mobile, and tablet devices. | No verified source yet |
| 108 | Geographic Performance Report | Breaks down performance by location and identifies top-performing regions. | The Dispatch: Geo Waste Finder (July 2026) |
| 109 | Audience Performance Summary | Reports on performance across different audience segments and demographics. | No verified source yet |
| 110 | Attribution Report Generator | Generates multi-touch attribution reports showing conversion paths. | No verified source yet |
| 111 | Custom SQL Report Builder | Creates customizable reports using SQL-style queries on Google Ads data. | No verified source yet |
| 112 | Geo Waste Finder New | Read-only script that ranks locations by share of spend against share of conversions and writes the worst offenders to a Sheet without changing the account. | The Dispatch: Geo Waste Finder (July 2026) |
| 113 | MCC Script Dashboard New | Builds a dashboard that compares spend and performance across every account under a manager account. | Koozai: 50 Google Ads scripts (2025) |
Monitoring And Alerts Scripts (15)
| # | Script | What it does | Reference |
|---|---|---|---|
| 114 | Account Performance Alert | Monitors account-level metrics and sends alerts when performance drops significantly. | Google: Account Anomaly Detector |
| 115 | Disapproved Ads Monitor | Tracks disapproved ads and sends notifications for urgent review. | No verified source yet |
| 116 | Budget Depletion Alert | Sends alerts when daily budgets are depleted faster than expected. | No verified source yet |
| 117 | Conversion Drop Alert | Identifies sudden drops in conversion rates and sends alerts. | No verified source yet |
| 118 | Click Fraud Monitor | Detects unusual click patterns that may indicate fraudulent activity. | No verified source yet |
| 119 | Quality Score Decline Alert | Monitors quality scores and sends alerts when they decline. | No verified source yet |
| 120 | Impression Share Loss Alert | Sends alerts when impression share drops due to budget or rank. | No verified source yet |
| 121 | CPC Spike Alert | Monitors cost per click and sends alerts when CPC increases significantly. | No verified source yet |
| 122 | Pause Status Change Monitor | Tracks which campaigns and ad groups have been paused and alerts account managers. | No verified source yet |
| 123 | Geo-Performance Drop Alert | Identifies geographic locations with declining performance. | No verified source yet |
| 124 | Device Performance Alert | Sends alerts when specific devices show significant performance changes. | No verified source yet |
| 125 | Landing Page Performance Monitor | Tracks landing page performance metrics and alerts on declines. | No verified source yet |
| 126 | Search Term Alert | Monitors new search terms and alerts on brand/competitor terms appearing. | No verified source yet |
| 127 | Ad Schedule Performance Alert | Identifies day-of-week or time-of-day performance anomalies. | No verified source yet |
| 128 | Zero Impressions Alarm New | Warns when campaigns or ads stop receiving impressions, which can point to billing or approval problems. | Koozai: 50 Google Ads scripts (2025) |
Maintenance And Optimization Scripts (23)
| # | Script | What it does | Reference |
|---|---|---|---|
| 129 | Negative Keyword Manager | Automatically adds irrelevant search terms as negative keywords to improve quality and reduce waste. | Google: Common Negative List |
| 130 | Duplicate Keyword Finder | Identifies and consolidates duplicate keywords across ad groups. | No verified source yet |
| 131 | Paused Campaign Archiver | Archives or deletes old paused campaigns to clean up account structure. | No verified source yet |
| 132 | Low Volume Keyword Remover | Removes keywords with no impressions or clicks over a specified period. | No verified source yet |
| 133 | Keyword Bid Cleanup | Consolidates keywords with identical or near-identical bids to improve management efficiency. | No verified source yet |
| 134 | Campaign Structure Optimizer | Recommends and implements optimal campaign and ad group organization. | No verified source yet |
| 135 | Ad Group Consolidation Script | Identifies and consolidates ad groups with similar themes to improve relevance. | No verified source yet |
| 136 | Expired Landing Pages Finder | Identifies landing pages that return 404 errors or are no longer active. | Google: Link Checker |
| 137 | Device-Specific Cleanup | Removes or optimizes ads specifically targeting underperforming devices. | No verified source yet |
| 138 | Geographic Bid Cleanup | Consolidates and optimizes geographic bid adjustments. | No verified source yet |
| 139 | Audience Cleanup Script | Removes audiences with no performance data or conflicting exclusions. | No verified source yet |
| 140 | Extension Cleaner | Removes expired or broken extensions (call, location, review, etc.). | No verified source yet |
| 141 | Search Partner Optimizer | Manages search partner bids separately from Google search network. | No verified source yet |
| 142 | Display Network Maintenance | Cleans up display network placements and manages placement exclusions. | Edge Digital: best scripts |
| 143 | Keyword Expansion Script | Automatically expands keyword lists based on high-performing search terms. | No verified source yet |
| 144 | Account Audit Script | Runs comprehensive account audits and generates optimization recommendations. | Vysta: 10 scripts for ecommerce (October 2026) |
| 145 | N-Gram Search Query Analyzer New | Groups one, two and three word patterns in search queries to surface negative keyword candidates and new keyword themes. | KlientBoost: Google Ads scripts Edge Digital: best scripts Vysta: 10 scripts for ecommerce (October 2026) |
| 146 | Trending Search Terms New | Builds a Sheet of search terms with big impression gains or drops, comparing last week with the prior week and with the same week in earlier years. | Nils Rooijmans: Trending Search Terms |
| 147 | Exclude Close Variants New | Monitors close variant matches and negates the ones you do not want so ads show only for the keywords you chose. | Synapse SEM: best scripts (February 2025) |
| 148 | Pause Ad Groups With No Active Keywords New | Finds enabled ad groups that have no active keywords and pauses them. | Koozai: 50 Google Ads scripts (2025) |
| 149 | Pause or Enable on a Specific Date New | Pauses or enables campaigns, ad groups, keywords or ads on set dates, driven by labels. | Koozai: 50 Google Ads scripts (2025) |
| 150 | Label Countdown for New Elements New | Labels newly added keywords so they are left alone until they have enough data to judge. | Koozai: 50 Google Ads scripts (2025) |
| 151 | Bulk Radius Targeting New | Adds radius targeting to many campaigns in one run. | Koozai: 50 Google Ads scripts (2025) |
Advanced Automation Scripts (12)
| # | Script | What it does | Reference |
|---|---|---|---|
| 152 | Cross-Campaign Keyword Sync | Synchronizes keywords across multiple campaigns while maintaining bid customization. | No verified source yet |
| 153 | Dynamic Keyword Insertion (DKI) Manager | Manages dynamic keyword insertion in ad copy across campaigns. | No verified source yet |
| 154 | Multi-Channel Campaign Manager | Coordinates bidding and budgets across search, display, and shopping campaigns. | No verified source yet |
| 155 | Conversion API Logger | Logs offline conversions to Google Ads automatically from CRM or analytics platforms. | No verified source yet |
| 156 | URL Parameter Manager | Automatically updates UTM parameters and tracking parameters across campaigns. | No verified source yet |
| 157 | Bulk Editor Automation | Creates and automates bulk editing tasks for large-scale campaign changes. | Edge Digital: best scripts |
| 158 | Template-Based Campaign Builder | Creates new campaigns based on templates with customized settings. | No verified source yet |
| 159 | Geographic Expansion Automator | Automatically expands campaigns to new geographic locations based on performance rules. | No verified source yet |
| 160 | Language Expansion Script | Creates multi-language campaign variations based on market data. | No verified source yet |
| 161 | Mobile-First Campaign Creator | Builds mobile-optimized campaign variants with appropriate bid adjustments. | No verified source yet |
| 162 | Seasonal Campaign Automator | Creates and manages seasonal campaign variations automatically. | No verified source yet |
| 163 | API Integration Manager | Manages data sync between Google Ads and third-party platforms via APIs. | No verified source yet |
Competitive Intelligence Scripts (7)
| # | Script | What it does | Reference |
|---|---|---|---|
| 164 | Competitor Bid Tracker | Monitors competitor bids and alerts when changes occur. | No verified source yet |
| 165 | Competitor Ad Copy Monitor | Extracts and tracks competitor ad copy changes across time. | No verified source yet |
| 166 | Market Share Estimator | Estimates market share based on impression share and competitor visibility data. | No verified source yet |
| 167 | Competitor Brand Bid Monitor | Specifically monitors competitor bidding on your branded terms. | No verified source yet |
| 168 | Competitor Landing Page Analyzer | Tracks competitor landing pages and URL changes. | No verified source yet |
| 169 | Competitive Keyword Finder | Identifies keywords competitors are bidding on that you are not. | No verified source yet |
| 170 | Win-Loss Analyzer | Analyzes impression loss scenarios to identify competitive threats. | No verified source yet |
Performance Max Scripts (3)
| # | Script | What it does | Reference |
|---|---|---|---|
| 171 | Performance Max Asset Group Performance Analyzer New | Compares Performance Max asset group results against thresholds you set and emails a summary. Described in Vysta's October 2026 roundup; the GitHub source could not be opened for verification. | Vysta: 10 scripts for ecommerce (October 2026) |
| 172 | Performance Max Channel and Search Query Reporter New | Pulls Performance Max channel costs and conversions, search queries and asset performance from the Google Ads API. Listed in Synapse SEM's roundup. | Synapse SEM: best scripts (February 2025) |
| 173 | Performance Max Asset Group and Video Asset Manager New | Reads Performance Max campaign details and stats, pauses a campaign or asset group, and adds or removes YouTube video assets, following Google's own code examples. | Google: Performance Max examples |
Documented limits and safe installation
These figures come from Google’s Google Ads scripts limits page, checked November 18, 2026. Google notes that limits can change without notice, so build in error handling.
| Limit | Documented value |
|---|---|
| Authorized scripts per account | 250. Beyond that, a previously authorized script is deauthorized temporarily and can be reauthorized when next opened. |
| Maximum run time | 30 minutes, then the script is cancelled (changes already made are applied). Manager-account scripts using executeInParallel with a callback get up to 60 minutes. |
| Iterator results | 50,000 by default; adjustable with withLimit(). |
| IDs in withIds() | 10,000 maximum. A runtime error occurs at 10,000 or more. |
| Log output | Truncated at 100 KB, with a warning logged. |
| Parallel manager-account runs | Up to 50 accounts with executeInParallel. |
| Bulk uploads | 50 MB and one million rows per file; the upload job times out after two hours. |
Safe installation checklist:
- Run every script in preview mode first.
- Start with read-only scripts (reports and alerts) before scripts that edit bids, budgets or status.
- Set conservative thresholds and caps on any bid or budget change.
- Review the configuration block of templates, including any pinned reporting API version.
- Check execution logs after the first few runs, and keep scripts from fighting each other on the same entities.
New to scripts? Our Google Ads scripts guide walks through the editor, authorization, previewing and scheduling. You may also want our guides on negative keywords, Quality Score and A/B testing.
Where to find more code
These are the other roundups I reviewed while updating this page. All were reachable on November 18, 2026. Several link onward to code hosted on GitHub or on older blog posts, so check the date and test in preview mode before you use any of it.
- Brainlabs script repository: the Brainlabs open-source repository, organized into Analyzing, Bidding, Managing, Monitoring, Reporting and Testing folders.
- Google Ads scripts code examples: the official reference for entities, reports and examples, with code examples by area.
- KlientBoost: Google Ads scripts: A roundup of scripts, many built in-house by KlientBoost, with video walkthroughs. The page says it was updated in February 2025.
- Edge Digital: best scripts: Fifteen scripts plus general notes on automated rules. Published October 2024, updated February 2026.
- Koozai: 50 Google Ads scripts (2025): Fifty scripts sorted by alerts, keywords, bidding, budget, account hygiene and reporting. Published July 2025, modified June 2026.
- Synapse SEM: best scripts (February 2025): Five scripts with code links. Published February 2025.
- Vysta: 10 scripts for ecommerce (October 2026): Ecommerce scripts including Performance Max analysis and a Geo Waste Finder. Published October 2026.
Download the complete Script Bible (free PDF)
The full index above is open on this page. The PDF packages all 173 scripts with their references in a single bookmarked document you can keep, search and share. Enter your name and email below to receive it.
Frequently asked questions
Are Google Ads scripts free to use?
Yes. Scripts are a built-in Google Ads feature at no extra cost, and you can create and run them in any Google Ads account. Some scripts call external APIs (weather data, for example) that may have their own pricing, but the scripting feature itself is free.
Do I need to know JavaScript to use Google Ads scripts?
Not necessarily. Many scripts work as ready-to-use templates where you only edit the variables at the top, such as email addresses, thresholds and spreadsheet URLs. Basic JavaScript helps if you want to customize a script or troubleshoot it.
Can scripts break my Google Ads account?
Scripts can change your account, so use preview mode before enabling any script that edits bids, budgets or campaign status. Start with read-only scripts (reports and alerts), graduate to automation once you trust them, set conservative thresholds, and check execution logs regularly.
How many scripts can I run at the same time?
Google's documentation lists a limit of 250 authorized scripts per account, and each script can run for up to 30 minutes per execution. Google also notes that limits can change without notice. In practice, most accounts need far fewer than that, and the real constraint is avoiding conflicts, such as two scripts adjusting bids on the same keywords.
Will scripts work with Smart Bidding and Performance Max campaigns?
Yes, with limits. Google manages bidding on Smart Bidding strategies and Performance Max, so scripts are best used for reporting, alerting and budget management there. Google's current Performance Max examples show scripts reading campaign details and stats, pausing a campaign or an asset group, and adding or removing YouTube video assets. Those examples do not show campaign creation.
What is the difference between scripts and automated rules?
Automated rules are built in the Google Ads interface with no code: you pick a condition, an action and a frequency, and can have results emailed to you. Scripts are JavaScript, so they can combine Google Ads data with Google Sheets, email, Slack and external APIs, and can apply logic a rule cannot express.
Are the sample scripts on Google's site up to date?
As of November 18, 2026, Google's Account Summary and Account Anomaly Detector templates set the reporting API version to v10 in their configuration, with a comment explaining how to remove that line to use the latest version. Review the configuration block of any template before you run it, and test in preview mode.
How this page was checked
On November 18, 2026 I re-read the previous edition, opened the Google documentation pages and every external link cited here, and reviewed the top-ranking results for the search “comprehensive list of google ads scripts and automated rules”. Links I could not open (for example some GitHub and vendor pages that block automated access) are not presented as verified: they are either omitted or the entry says the source could not be verified. Reference links marked as legacy point to posts from 2012 or 2016, so test the code before you rely on it.
Want help implementing scripts in your account, or a hands-on PPC management partner? Get in touch. I manage Google Ads for businesses across Dubai, the UK, the US and Australia.
Written by Antoine Martin, performance marketing consultant and founder of Web Marketing International FZCO.