Out-of-stock spike alert
Warns you when out-of-stock products suddenly jump or a best seller runs out, usually the first sign of a feed or stock sync problem.
What it does
- Counts out-of-stock products in your Merchant Center feed through Google Ads every day.
- Alerts when the count rises sharply on the previous day.
- Watches your best sellers by conversions and alerts the moment one goes out of stock.
- Keeps a daily history in a Google Sheet.
How it changes your account
It does not change your account. It reads product availability and sends alerts.
Smart Bidding
Works with any bid strategy. When best sellers drop out, Performance Max shifts spend to weaker products; catching it early protects results.
Settings explained
- Alert when out-of-stock products rise by
Compared with the last run.
- Watch your top sellers
By conversions over the last 30 days.
- Email alerts to
Where alerts and summaries go. Separate several addresses with commas. Leave blank to log only.
- Slack webhook URL (optional, stays in your browser)
Paste a Slack incoming webhook URL to get the same alerts in a channel. It is added to your copy of the script on your device and never sent to us.
- 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 daily.
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 Daily.
Questions
Does it use the Merchant API?
It reads product status that Google Ads already has from your linked Merchant Center, so no extra setup or API is needed.
What if a product comes back in stock?
It drops out of the next alert automatically.
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.