Daypart budget scheduler
Gives your campaigns more budget during the hours that matter and takes it back afterwards, which is the dayparting Smart Bidding actually respects.
What it does
- Runs every hour and checks the time in your account time zone against your boost grid.
- Inside a boost hour, raises each campaign's daily budget by your percentage, up to a ceiling.
- Outside the boost hours, puts every budget back to the baseline it recorded.
- Treats any budget you change yourself (outside a boost) as the new baseline.
- Emails or posts to Slack only when the set of changes is different from last time.
How it changes your account
With Alerts only turned off, the script changes campaign daily budgets up and down during the day. It never changes bids, keywords, ads or ad schedules, and never sets a budget below the baseline it recorded.
Google paces spend against the daily budget, so a higher budget in your peak hours lets more of the day's spend land then, and lowering it afterwards stops late drift. Shared budgets change once and affect every campaign that uses them.
Smart Bidding
Ad schedule bid adjustments are ignored by Smart Bidding (except device and some exclusions), so classic dayparting stops working when you switch to tCPA, tROAS or Maximise conversions. Budget is the lever Smart Bidding respects. Keep boosts moderate so learning stays stable.
Settings explained
- Boost hours
Monday is the first row. Mark the hours people search before they book: often 11:00 to 13:00 and 17:00 to 20:00 for restaurants.
- Campaigns
Choose the campaigns with clear peaks. Brand campaigns usually do not need dayparting.
- Raise daily budgets by
The uplift while a boost hour runs. 20 to 40% is a sensible start.
- Never go above
A per-campaign ceiling during boosts.
- Alerts only
Leave on for a few days, read the log, then turn off.
- Google Sheet name
Where baselines are kept. Do not edit the State tab.
Install in two minutes
- In Google Ads, go to Tools, then Bulk actions, then Scripts.
- Click the plus button and name your script.
- Delete the sample code, paste yours and click Authorise.
- Click Preview and check the log. Nothing changes in Preview.
- Click Save and set it to run hourly.
Preview once to authorise Sheets, Drive and email. Schedule it Hourly. Leave Alerts only on for two or three days, then turn it off and re-copy the script.
Questions
Why not just use an ad schedule?
Ad schedules can switch ads off, but their bid adjustments are ignored under Smart Bidding. Budget moves are respected by every bid strategy.
Will raising the budget mid-day overspend?
Google can spend up to twice the daily budget on a single day, but bills no more than about 30.4 times your average daily budget over a month. The ceiling setting keeps each campaign in check.
What time zone does the grid use?
Your Google Ads account time zone, which is what the script reads when it runs.
Does it need to run hourly?
Yes. Schedule it Hourly so it can switch at the start and end of each window.
Will it change my account straight away?
No. Alerts only is on by default, so the first runs only report what would change. You turn it off when you are happy.
Changelog
- 1.0.1 27 Nov 2026 Fix
- Budgets in whole-unit currencies such as JPY, KRW and HUF are now set correctly.
- The log Sheet is only reused when it is a live Google Sheet, never a trashed file or another file with the same name.
- Long text is trimmed to fit a Google Sheets cell.
- Saved state is split across cells, so big accounts never hit the cell size limit.
- First release in the Invincible Google Ads scripts library.
- 1.0.0 27 Nov 2026 Improvement
- First release in the Invincible Google Ads scripts library.
Scripts are provided as is. You're responsible for previewing, testing and monitoring them in your account. Scripts Terms of Use.