Live sports trigger
For sports bars and fan-led brands: match-day campaigns switch on around kick-off and your ads name the fixture, with a celebration line after a win.
What it does
- Checks your team's next and last fixtures every hour using TheSportsDB.
- Switches on campaigns containing your text a few hours before kick-off and pauses them after the match, only ever pausing the ones it switched on.
- Sets an ad customiser to "Watch Arsenal v Chelsea here" on match days, a win message the day after a win, and your everyday line otherwise.
- Emails each change.
How it changes your account
It switches matching campaigns on and off around fixtures and sets one account-level ad customiser. Nothing else changes.
Smart Bidding
Works with Smart Bidding. It switches campaigns and copy rather than using bid adjustments, which Smart Bidding ignores.
Settings explained
- TheSportsDB team ID
Find your team on thesportsdb.com; the number in the team page address is the ID (Arsenal is 133604).
- TheSportsDB API key
The free public key is 123. Paste your own key if you have a paid plan; free keys only return some fixtures.
- Match-day campaigns contain
Campaigns with this in their name are switched on around kick-off and paused afterwards.
- Switch on this many hours before kick-off
- Keep on this many hours after kick-off
- Customiser name
Leave blank to skip copy changes. Otherwise add {CUSTOMIZER.MatchLine:Live sport on every screen} to your ads.
- Match-day message
{match} becomes the fixture, e.g. "Arsenal v Chelsea".
- Message the day after a win
Leave blank to skip.
- Everyday message
- Alerts only (recommended for the first week)
While this is on, the script only logs and emails what it would change. Nothing in your account changes. Turn it off once you are happy with what it reports.
- 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 hourly.
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 Hourly.
It starts with Alerts only on. Leave it on for a week, check the emails, then turn it off and copy the script again.
Questions
Which sports and leagues are covered?
Any team on TheSportsDB, which covers football, rugby, cricket, basketball and many more. The free key returns a limited set of fixtures, so a paid key is more reliable.
What time zone are kick-offs in?
Fixture times are converted from UTC to your Google Ads account time zone.
Will it change my account straight away?
No. Alerts only is on by default, so the first runs only report what would change. You turn it off when you are happy.
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.