Google Ads Scripts
Automate your Google Ads campaigns with ready-to-install scripts for budget management, bid adjustments, and performance reporting. Browse the full library and preview any script for free.
What are Google Ads Scripts?
Google Ads Scripts are JavaScript-based programs that run directly inside your Google Ads account. They connect to your campaign data and can make changes automatically — pausing underperforming ads, adjusting bids based on stock levels, sending Slack alerts when spend spikes, or generating scheduled reports in Google Sheets.
A script you install once can run on a schedule — hourly, daily, or weekly — without any manual work. That turns hours of repetitive account management into a background process. The library below contains scripts built and maintained by Google Ads professionals.
Google Ads Scripts (16)
Flowboost Product Labelizer
Previously known as Performance Labelizer
This is our most popular script, designed to improve campaign management by analyzing product performance and creating labels for campaign segmentation. The script allows for the categorization of products based on their performance. Products are divided into categories like 'Index', 'Over-index', 'Near-index', 'Under-index', or 'No-index', based on their Return on Ad Spend (ROAS) and other performance metrics. Purchasing this script grants lifetime access to all its versions, including any future updates or new versions that are released. You can try out version 1.1 to see if the script is useful for your account.
Flowboost Price Labelizer
The Flowboost Price Labelizer is a Google Ads script similar to the Performance Labelizer, specifically designed for price-based campaign management. This script categorizes products according to their pricing relative to a benchmark price, providing an insightful overview of advertising metrics for each label group. The categorization system includes labels like 'Exact', 'Below', or 'Above', which are assigned based on the product's price performance compared to the benchmark. Purchasing this script grants lifetime access to all its versions, including any future updates or new versions that are released. You can try out version 1.1 to see if the script is useful for your account. Please note that products sold by too few retailers, or products that don’t get a lot of clicks in Shopping ads or free listings, won’t appear in this script. The available data is coming from Merchant Center.
Auto-scale with budget utilization
This script dynamically adjusts the daily budget based on spend potential and the CPA performance. It increases or decreases the budget based on constraints you determine With this script you can: - Dynamically increase or decrease your budget when there's more opportunity, based on your set CPA. - Keep your CPCs under control. - Set a maximum budget change percentage to ensure you're never spending too much or too little. - Define a minimum adjustment amount, preventing minor daily or weekly fluctuations. Simply set your target CPA, max and min percentage change, and let the script ensure you capture every valuable conversion opportunity—without exceeding your targets. The premium version includes e-mail notifications and the ability to analyse data per campaign with detailed graphs on top of many other features.
Match type precisions
This Google Ads script checks all search terms against your enabled keywords (with min. 5 impressions). Requiring all keyword words to be present in the search term (allowing for misspellings). Search terms that don't match are added to a negative keyword list. Premium features: - Checks for misspellings using Levenshtein distance - Processes all historical search terms - Automatically maintains negative keyword list
Flowboost Keyword Labelizer
Flowboost Keyword Labelizer is built to benchmark keyword and search term performance and automatically label these for smarter segmentation. Based on the bucketing Over-index, Index, Near-index, Under-index, or No-index you can share insights, and scale winning traffic across campaigns. Purchasing the script includes lifetime access to all releases, so every new update is yours as soon as it is launched.
Seasonality Recommendations
Analyzes campaign performance across seasonal periods and generates data-driven recommendations for seasonality adjustments and daily budget optimizations.
PMax Channel Distribution Alert
This script analyses how advertising spend is distributed across Display, Video, Shopping, and Search channels within each Performance Max campaign. It compares rolling averages (default 7 days) against longer periods (default 30 days) to detect meaningful shifts in channel performance. When significant changes exceed the configured threshold, it sends detailed email alerts with campaign-specific breakdowns and provides a comprehensive spreadsheet with historical data for further analysis. Key features: - Per-campaign channel distribution monitoring - Rolling average vs long-term comparison - Cost-focused alerts (most actionable metric) - Automated email notifications with campaign breakdowns - Detailed spreadsheet export with color-coded channel data - Configurable thresholds and time periods
Link Checker Report - MCC
Originally created by Google for single accounts and later refactored to MCC by Tibbe van Asten (Adsscripts), this script checks all landing page URLs in ads and extensions across MCC accounts. It flags broken or unreachable pages (e.g. 404 errors) in a Google Spreadsheet and can send email alerts. While Tibbe’s MCC version is now outdated, our version is updated and fully working, so you can safely schedule it hourly to keep campaigns running smoothly.
Campaign Search Term Filter
This Google Ads script auto-gathers search terms from specified campaigns, comparing them against an approved list. If any search terms exceed a set click threshold and are not approved, they're placed into a shared negative keyword list. Run it hourly and set daysAgo from 1 to 7 days.
CPC bucket and heatmap script
This scripts checks your CPCs per hour per day and groups them in buckets. You will see when you pay too much per click. With this script you're able to define your max CPC for your campaign. Making it more profitable. It is important to understand that by setting max CPCs you will limit your total leads / purchases but it will increase your profit. Make sure to analyse when setting your CPC, never set your CPC too thigh because it might harm your volume too much. The CPC bid and your QS defines the ad rank (and therefore the amount of impressions.
Exclude queries based on queryString
The light version of the script. This one is very easy to implement. You can use this for standard campaign types (not for smart and pMax). What is does? It fetches all queries that do not contain a certain query and adds them to a negative keyword list. That list will be added to the set campaign. How can you use this one? Use it for a: - branded shopping campaign, add your brand and misspellings to the queryString variable. - shopping campaign, where you only want to match upon a few generic queries. - search campaign where you use broad match to increase volume but don't want to go too broad. In this case: use the n-grams script to find out which words deliver conversions and need to be incorporated in the queryString. Set a threshold on impressions in line 3 and create your list beforehand. You can change the name of the negative keyword list too (line 4)
Moving averages dashboard
Completely customizable moving average script. Set your own longer and shorter periode. And add your own conversion lag. Because you don't want to make adjustments based on wrong conversion data. By analyzing moving averages: • you can gain a clearer understanding of the performance • make and report on data-informed decisions • optimize your Google Ads campaigns • become a better marketer The output of the script is a dashboard with 6 graphs, including ROAS.
MCC Enhanced CPC Checker script
This Google Ads script scans all accounts in your Manager Account (MCC) to identify campaigns using Enhanced CPC bidding. It logs details of the account, campaign names, budgets, and statuses, resulting a clear report for optimisation. Created as a checker script because of the Enhanced CPC sunset by Google.
Performing Queries Addition
Arjan Schoorl has improved the original script, which was made by Adsscripts. The updated script can automatically track all search queries in your account. Based on customizable thresholds, it adds these queries as keywords in the same ad group. After execution, it sends a recap email and adds two labels – one containing the current date and another custom label. Using the script can help account managers improve keyword management and improve performance with fewer manual steps. Automating is something we do love.
weighted QS average per campaign experiment
This is a tracker for the LAST_7_DAYS average weighted quality score. You can also set it to LAST_30_DAYS or LAST_BUSINESSWEEK. The setup is quite easy, just add your base campaign name in the script and the script will find your experiment and prints the data per day. It's important you have a proper naming convention in place for your (experiment) campaigns. Which starts with the base name.
Receive an email if spend is getting too high
We've all been there. Managing multiple accounts while one suddenly over spends due to seasonality or your service became hot in the news for example. How nice would it be that you got a notification if your spend is within reach of the spend of last month? Use this script to get a custom email.
Also explore: Google Ads Custom Columns
Custom columns let you build your own metrics directly in Google Ads — no scripts needed. Combine existing columns with formulas to surface the data that matters most to you.
Browse Google Ads Custom Columns →