Grant Account Underspending Script

Charities running a Google Ads Grant account have a free budget of $10,000 a month to work with. This script helps ensure this free money is actually being utilized, helping pace budget throughout the day and making it go to the most efficient keywords.

What’s included?

How does the script work?

This script emulates standard delivery but allows you to turn certain keywords on or off depending on whether you’re on track to hit your budget.

You start each day with your most efficient keywords enabled. The script then checks your pacing and sees whether you’re on track to spend your daily budget based on a percentage set by you.

If you’re on track to use your $329, it doesn’t do anything. Good job!

If it thinks you’re not on track, it activates a labeled group of less efficient keywords to help you avoid underspending and missing out on potential traffic.

And if you then start overspending by a certain amount, it will pause those keywords again for you.

How do I use it?

Copy the script below and paste it in the scripts section of Google Ads. Before running it, remember to label your inefficient keywords so your script can recognize them, using extraKeywordsLabel to set your desired label.

You can update the tolerance variable to set the proportion above or below budget the account should be before the extra keywords are enabled or paused. For example, setting it to 0.05 allows the account to be 5% above or below budget without changes being made. You can also change your budget variable with monthlyBudget.

With hourlyTargets, you can set the proportion of the budget that should have been cumulatively spent by the end of each hour.

Finally, use emails if you want to be notified about changes made.

The Grant Account Underspending Script code

Click to Hide Advanced Floating Content