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.
You can either create a new setting by selecting 'Create new setting' or 'Copy setting from an existing account'. To create a new setting, follow the steps below:
Enter the name you want to give the setting. One 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:
Email Addresses To Notify
You can enter the emails addresses that should receive a notification after the script runs.
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 divided evenly, hence $100 / 19 = $5.26.
Read more about tools for budget management in our blog post here.
Our award-winning customer care team is here for you.