Custom label writer
Writes price band, bestseller, margin or season labels for every product into a supplemental feed, so you can split campaigns the way you actually sell.
What it does
- Reads every product's price, title and type through Google Ads, plus conversions for bestsellers.
- Applies the rule you choose: price bands, bestsellers, margin bands from your Sheet, or seasons by keyword.
- Writes the label into the custom label you pick, in a supplemental feed Sheet.
- Merchant Center picks the labels up at its next fetch.
How it changes your account
It does not change your Google Ads account. It writes a supplemental feed Sheet that Merchant Center reads.
Smart Bidding
Works with Smart Bidding. Labels let you give each product group its own campaign, budget and ROAS target.
Settings explained
- Label by
- Price bands
For price band: upper limits, one per line, lowest first.
- Bestsellers: how many top products
- Margin Google Sheet URL
For margin bands: product ID in column A, margin % in column B.
- Seasons
For season: label | words, one per line. Products whose title or type contains a word get the label.
- Custom label to write
Pick one your feed does not already use.
- Google Sheet name
The script writes a supplemental feed here. 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
Can I run several rules?
Yes: install one copy per rule, each writing to a different custom label and Sheet.
How do labels reach my products?
Add the Sheet's Feed tab as a supplemental source in Merchant Center once; it refreshes daily.
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.