Newest Version: Reach Target Monthly Spend

This script automatically adjusts budgets to meet a target spend. The script can modify campaign-level budgets and shared budgets. By using multiple settings, it can manage all budgets for the entire account.


How does it work?

Choose the account you want to run the script in and go to the All Enhanced Scripts page. On this page select the Reach Target Monthly Spend budget.


You can either create a new setting 'Create new setting' or 'Copy setting from an existing account'. To create a new setting, follow the steps below


Basic Settings

Setting Name

Enter the name you want to give the setting. The same script can have multiple settings for the same account. You can choose to pause and enable settings as you wish. For example, in one setting you can opt to adjust budgets for brand campaigns and in another setting, you can choose to adjust budgets for competitor campaigns.

Budget Name Is

The name of either the campaign or shared budget you want to manage automatically. This is a case-sensitive exact match.

  • This Is A Shared Budget - Select this to manage a shared budget. Leave it unselected if you want to manage the budget of an individual campaign. We use this setting because campaigns and shared budgets don't have to have unique names in AdWords, so when the name you entered in the settings matches both a campaign and a shared budget, this tells the script which one you would like to manage automatically.

Target Monthly Spend

Enter the amount you would like the campaign or shared budget to reach by the end of the month.

* If the budget amount has decimals, you need to use a period (.) as a decimal separator. This is because a decimal separator can change from a period to being a comma depending on the account language settings. To avoid misunderstandings, the script will only consider a period.

New Budget When Target Has Been Exceeded

This setting tells the script what to do if it finds a campaign has surpassed the budget. Selecting 'Keep Last Budget' means that the campaign budget will remain unchanged. Selecting '1' will change the budget of the script to 1 so, it doesn't spend any more money.

How To Calculate Budgets

This setting lets you specify the method you want to use to reallocate budgets. We have explained the alternatives below:

  • Evenly - It lets you spread out your budget evenly throughout the month.
  • Evenly with Increases For High Potential Days of the Week - It evenly increases the budget for the potential days of the week.
  • Front Loaded - Spends larger part of the budget in the first half the month
  • Back Loaded - Spends larger part of the budget in the later half of the month
  • Based on Day of Week Potential - Budget is allocated basis the potential to spend on every day of the week. We recommend using the 'Based on Day of Week Potential' setting as this looks at historical data for each day to change budgets.

Email Addresses To Notify

You can enter the emails addresses that should receive a notification after the script runs.


Output of the Script

When you run the script with verbose output turned on, you will see output similar to this in AdWords:


As you can see, in this case, the daily budget has been changed from $10 to $5.26.


In the more detailed "Logs" view in AdWords, you can see why the budget has been changed in this particular way. In this case, because the target budget is $100 and only 19 days remain in the month. The budget is to be divided evenly, hence $100 / 19 = $5.26.


Read more about tools for budget management in our blog post here

Can’t find what you’re looking for?

Our award-winning customer care team is here for you.