Stock-level bidder
Labels every product by stock level in a supplemental feed, so you can stop pushing items about to sell out and give overstocked lines more room.
What it does
- Reads Merchant Center availability for your products through Google Ads, and units in stock from your Sheet if you add one.
- Labels each product stock_out, stock_low, stock_over or stock_ok in the custom label you choose.
- Writes the labels to a Google Sheet that Merchant Center picks up as a supplemental feed.
- Emails the products that changed state, with their recent clicks.
How it changes your account
It does not change your Google Ads account. It writes a supplemental feed Sheet; Merchant Center applies the labels when it next fetches the Sheet.
Smart Bidding
Works with Smart Bidding. Split Shopping or Performance Max by the stock label and give overstock a lower ROAS target and low stock a higher one, so bidding follows what you can actually sell.
Settings explained
- Stock Google Sheet URL (optional)
A Sheet with product ID in column A and units in stock in column B, for example a Shopify inventory export. Without it, only Merchant Center availability is used (in stock or out of stock).
- Low stock below (units)
Products with fewer units are labelled stock_low.
- Overstocked above (units)
Products with more units are labelled stock_over.
- Custom label to write
Pick a custom label your feed does not already use.
- Email alerts to
Daily summary of products changing state. Leave blank to use the Sheet only.
- Google Sheet name
The script writes a supplemental feed to this Sheet. Add it once in Merchant Center as a supplemental data source from Google Sheets.
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
Why does it use a Sheet instead of changing the feed directly?
Google Ads scripts cannot write to Merchant Center. A Google Sheet added once as a supplemental data source is the reliable route; Merchant Center refreshes it daily.
Does it work with the Content API?
It does not need it. The Content API for Shopping was switched off in August 2026; product data here comes from Google Ads.
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.