Google Ads Scripts

Google Ads Scripts

Google Ads Scripts

Shared Budgets

Over the past few weeks, I’ve been exploring the use of Google Ads Scripts to help improve campaign efficiency. In particular, when it comes to automation of managing shared budgets.

Automated rules are useful to schedule changes to budgets on individual campaigns, for example, reducing or increasing them when coming to scheduling a new billing cycle without needing to manually change them when they fall due. When using shared budgets, automated rules aren’t able to be edited.
 1

The script

We’ve identified a work around using a simple script which can be scheduled to run at the required time and automate the shared budget update (see below):
function main()
{
  var Iterator = AdWordsApp.budgets().withCondition(“BudgetName = ‘SEM’“).get();
  while(Iterator.hasNext())
  {
  var budget = Iterator.next();
  budget.setAmount(5);
  }
}
This script loops through the current shared budgets in the platform and matches them to the name of the shared budget you specifically want to change (shown above in pink as SEM). When the shared budget is found the amount will be changed to what you state (shown above in pink as 5).

<palign=”left”>

Implementation in Google Ads

Below are just 5 simple steps required to get this script up and running in your accounts.
1. In your account click on Tools and then Scripts:
2
2. Click the plus sign to add a new script:
3
3. Name your script, replace the script with what is needed and authorise the script:4
4. Save the script & close the script:
5 1
5. Finally set the frequency when the script should be run:
6
That’s all there is to it. We hope this comes in handing in managing your accounts and you’re all well during this difficult time.
Feel free to contact us for any questions or to enquire about our PPC services. Have a great day!

</palign=”left”>

No Comments

Post A Comment

4 × three =