Budget-limited opportunity finder
Finds the campaigns that are beating your target but running out of budget, and shows roughly what more budget would bring in.
What it does
- Checks every campaign for impression share lost to budget, or Google's "limited by budget" status for Performance Max.
- Compares each one with its own target CPA or ROAS, or with the target you set.
- Estimates a budget that would recover most of the lost impressions and the extra conversions at today's rate.
- Writes the list to a Google Sheet and emails the opportunities, best first.
How it changes your account
It does not change your account. It reads campaign metrics and writes a report.
Smart Bidding
Works with any bid strategy. Budget is the lever Smart Bidding cannot pull itself, so this is where extra spend usually pays back fastest. Estimates assume similar efficiency; returns normally fall a little as budget rises.
Settings explained
- Campaigns
Which campaigns this script looks at. Pick all, names that contain some text (separate several with commas), or campaigns with a label.
- Days of data
How many full days of data to look at, ending yesterday.
- Minimum impression share lost to budget
Campaigns losing less than this are ignored. Performance Max campaigns count when Google marks them as limited by budget.
- Judge campaigns on
Campaigns with their own target CPA or target ROAS are judged on that. Others use the target below.
- Target
Your CPA in account currency (e.g. 30), or ROAS as a ratio (4 means 400%).
- Email alerts to
Where the weekly opportunities email goes. Leave blank to use the Google Sheet only.
- Google Sheet name
The script keeps its working data in a Google Sheet with this exact name in your Drive, and creates it on the first run.
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 weekly.
In Google Ads, go to Tools > Bulk actions > Scripts, add a new script, paste the code and click Authorise. Then click Preview and read the log before anything runs for real.
Schedule it Weekly.
Questions
How is the suggested budget worked out?
From the share of impressions you won and lost to budget. If you won 60% and lost 30% to budget, about 1.5 times the budget would close most of the gap. It is capped at double.
Why are some Performance Max campaigns missing an estimate?
Google does not report lost impression share for Performance Max, only that it is limited by budget, so the script lists it without a number.
Changelog
- 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.