Which ready Google Ads script do you need?

Five scripts that watch your account and report to you: budget pacing, broken final URLs, sudden drops or spikes, keywords with no impressions, and a search query n-gram report. None of them changes anything in your account. Copy one, set the few lines at the top, and run it in Preview first.

Choose a script

How to install a script and run it in Preview

  1. In your Google Ads account, click the Tools icon, open Bulk actions and click Scripts.
  2. Click the plus button to make a new script, and give it a name.
  3. Replace the code in the editor with the script you copied, then edit the settings at the top: your email address, the thresholds, or the address of your Google Sheet. Until you do, the script stops with a message that says what to fill in.
  4. Google Ads asks you to authorize a script before it can preview or run it: click Authorize now above the editor, then Grant access.
  5. Click Preview. Preview reads your real data and makes no changes to the account, and the logs show what the script found. Google notes that Preview does not hold back email or spreadsheet updates, so the email scripts here write their email to the log while you preview them, and the n-gram script does write to your sheet.
  6. When the log looks right, click Run script now. Google Ads can then run the script once, daily, weekly or monthly at an hour you choose. Run the alerts daily and the reports weekly or monthly.

These steps follow Google's help page Using scripts to make automated changes and the scripts guide to Preview mode, read on 19 November 2026. The buttons in your account may be named a little differently.

What we could not check

None of these scripts has been run in a Google Ads account from here. Each was written from Google's Ads scripts reference and the Apps Script references it relies on, and checked for JavaScript syntax and with this site's own Google Ads script analyzer. Google changes Ads scripts from time to time, so run each one in Preview first: if a call has changed, the log names the line.

Google's limits apply: a script stops after 30 minutes, and UrlFetchApp and email have daily quotas. In a large account, the broken URL check may not reach every address in one run; it says how many it left out.

The broken URL check sees the status code a site gives to Google's servers. Some sites answer automated requests differently from a browser, so open a reported page yourself before you change an ad. It does not read what is on the page, such as an out-of-stock notice.

Budget pacing compares spend with the monthly amount you type in; it does not read the budgets set in the account. The n-gram report reads the search terms report, which does not include Performance Max campaigns.

Questions

Will these scripts change my campaigns?

No. All five only read statistics and settings, then send you an email or write to a Google Sheet. The script analyzer reads each one the same way: it reads and sends, and changes nothing.

Why preview a script that changes nothing?

To see it work with your own data before it emails anyone. Preview runs the script on your real account, shows the log, and is where a wrong setting or a changed Google call shows up first.

Can I run them in a manager account?

They are written for one Google Ads account. A manager account script goes through its accounts with AdsManagerApp, so these would need changes for that. Install them in each account you want to watch.

Where do the alerts go?

To the addresses in EMAIL, from the Google account that authorized the script. Only the n-gram report writes elsewhere: to the Google Sheet you name in SPREADSHEET_URL.