Conversion adjustment uploader
Keeps your conversion values honest: refunds and cancellations become Google Ads conversion adjustments, so bidding stops chasing sales that did not stick.
What it does
- Reads refunds and cancellations from your Sheet, matched by order (transaction) ID.
- Turns full refunds into retractions and partial refunds into restatements with the new value.
- Writes them in Google's conversion adjustment format to a Google Sheet.
- Google Ads imports that Sheet on the schedule you set, once, in Uploads.
How it changes your account
The script itself only writes a Google Sheet. Google Ads applies the adjustments when its scheduled upload reads the Sheet.
Smart Bidding
Made for Smart Bidding, especially value-based bidding. Without adjustments, ROAS targets learn from revenue that was refunded.
Settings explained
- Refunds Google Sheet URL
First tab with headers in row 1: Order ID, Refund date, Original value, Refunded amount. Order ID must match the transaction ID sent with the conversion.
- Conversion action name
The purchase action the orders were recorded against, exactly as in Goals > Conversions.
- Google Sheet name
The script writes Google's adjustment template here. Set it up once as a scheduled upload in Google Ads (Goals > Conversions > Uploads > Schedules, source 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 a scheduled upload rather than the script?
Conversion adjustments cannot be sent from Google Ads scripts, but Google Ads can import them from a Google Sheet on a schedule. The script keeps that Sheet up to date.
What do I need to send with purchases?
A transaction (order) ID on each purchase conversion, which most shop platforms send by default.
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.