How to Create a Google IMA Ad Tag and Add It to Your Villain City Ad Space
Want Google video ads to play before your videos on Villain City? In the next two minutes, we’ll show you how to get your Google IMA ad tag, and exactly where to paste it when you submit a video. Watch the 97-second video above, or follow the written steps below.
What is Google IMA, and what is a VAST tag?
Google IMA — Interactive Media Ads — is Google’s software (SDK) that plays video ads inside a video player. A VAST tag is the ad tag URL that tells the player which ads to request: a long link generated in Google Ad Manager that points to Google’s ad server. When someone opens your video, the Villain City player uses your tag to ask Google for a video ad, and Google tries to play one before your video starts.
What you need first
First, you need a Google Ad Manager account. That’s Google’s free tool for publishers. If you don’t have one yet, sign up at admanager.google.com, and add villaincity.com as your site.
Part 1 — Generate the tag in Google Ad Manager
- In Google Ad Manager, go to Inventory, then Ad units.
- Open your video ad unit, or create a new one if you haven’t made one yet. Give it a name you’ll recognise, like “Villain City Video”.
- Click Tags.
- Choose Google Publisher Tag for Video and Audio.
- For Player SDK, choose Google IMA SDK.
- Click Continue, then copy the ad tag URL that Google gives you. That long link is your ad tag — keep it somewhere safe.
Part 2 — Paste the tag into your Villain City ad space
- On Villain City, go to Submit Your Video.
- Scroll down to the box called Google IMA – Interactive Media Ads. You’ll see three empty boxes: Ad Tag URL for desktop, for tablet, and for mobile.
- Paste the same tag URL into all three boxes — desktop, tablet, and mobile.
- Save, or submit, the video. That’s it. Google will now try to play a video ad before your video.
The tag is set per video, per submission — so add it each time you submit a video you want ads on.
Test first with Google’s official sample tag
If you don’t have a real tag yet, test with Google’s official sample tag. It earns $0, but it proves the player works:
https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dlinear&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&correlator=
Paste the sample tag into the three fields, save, and play your video — you should see Google’s sample ad play first.
Warnings — read this first
- A broken or half-finished IMA tag can stop videos playing across the whole site. Never leave a broken or empty tag in those boxes — we saw this happen on Villain City on November 18, 2026. If videos stop playing after you add a tag, remove the tag and re-save.
- A real tag only earns money once Google approves it and starts filling ads. Having a tag in place does not guarantee earnings.
Questions about your ad space? Leave a comment below.


