CC Digital

View Original

Change History Alerts Google Ads Script

If you’re managing Google Ads accounts for clients, you know the importance of monitoring changes. A small adjustment from an external team member can have a huge impact, and if you’re not keeping a close eye, it’s easy to miss.

To make this easier, I’ve built a change history Google Ads script that alerts you via email whenever there’s an unapproved change in your accounts. Below, I’ll share the script itself, along with step-by-step instructions on setting it up so you can use it too.

Here’s an example of the alert it would produce:

*Some information in image above hidden to protect client privacy

Why Use a Change History Google Ads Script?

The change history tool in Google Ads is an essential way to track every adjustment. However, it requires manually checking the log, which is time-consuming if you manage multiple accounts. This is where automation can make life easier.

This script runs daily, monitors changes in Google Ads, and emails you a summary whenever there’s a change from someone outside your list of recognised users. It’s simple, it’s efficient, and it keeps you in the loop—letting you focus on optimising campaigns, not chasing down unexpected changes.

How the Script Works

By default, this change history Google Ads script:

1. Scans recent changes in your account from the last 7 days.

2. Filters users based on a list of approved email addresses.

3. Sends a scheduled email summarising unapproved changes, with the date, user, and number of changes.

Weekly vs Daily Alerts

The script is set to check the last 7 days by default, but if you’d prefer daily alerts, it’s easy to modify. Just change the PERIOD variable from "LAST_7_DAYS" to "YESTERDAY". This way, your script will check changes from only the last 24 hours, making it perfect for daily monitoring.

Setting Up the Change History Google Ads Script

Here’s the script along with instructions on setting it up in your Google Ads account:

See this content in the original post

Step-by-Step Setup

  • Create a new Google Ads script:

    • In your Google Ads account, go to Tools & Settings > Bulk Actions > Scripts.

    • Click the + button to create a new script.

  • Paste the Script:

    • Copy the script above and paste it into the script editor.

    • Update the EMAIL_ADDRESSES variable with your preferred email addresses.

    • Add any trusted emails to the IGNORE_USERS list, so the script will only alert you about changes from unapproved users.

  • Set the Period:

    • By default, PERIOD is set to "LAST_7_DAYS" for weekly change tracking.

    • The available time periods are limited to pre-defined options like "LAST_7_DAYS", "TODAY", or "YESTERDAY". For daily tracking, you can set PERIOD to "YESTERDAY" instead, which will check changes from the previous day each time the script runs.

  • Run the Script:

    • Save your script with a meaningful name.

    • Run the script manually once to check for any errors.

    • If everything runs smoothly, set it up on a daily or weekly schedule under Script Settings to receive alerts on your preferred schedule.

  • Check Your Email:

    • Once it’s scheduled, check your email for alerts about unapproved changes. The email will show each user and date, along with the number of changes they made.

Why This Change History Google Ads Script is a Game-Changer

With this simple change history Google Ads script, you can:

Save Time: No more manual checks! Your inbox becomes the only place you need to look for updates.

Gain Control: You’re instantly aware of any adjustments, so you can act quickly to protect account performance.

Focus on Optimisation: With automation handling change monitoring, you can spend more time refining campaigns and less time on admin.

If you’re looking for a way to streamline your Google Ads management, this change history Google Ads script is a quick win. Let me know if you have questions, or feel free to share how this works for you!