In-game ads for HTML5 & canvas games
Real ads, drawn inside your game.
Pick a size like 400×80, see which ads are available for it, and draw them wherever they fit: billboards on a race track, posters in a level, a sponsor on the results screen. No pop-ups, no iframes covering your game.
Free for developers · you keep 70% · 6 KB SDK · no cookies
For game developers
Ad networks put a box on your page. We give you the ad itself (an image, a click link, and the counting) so it can live in your world.
- 1
Add your game and create a slot
Choose any size: a standard 728×90 or your own 400×80 billboard.
- 2
See the ads available for that size
Browse every campaign that fits, with its image, category and bid. Allow or block each one, or approve them all by hand.
- 3
Draw it in your loop
One call draws the current ad. If none is available, you draw your own fallback.
- 4
Get paid
You earn 70% of what advertisers pay for every impression in your game. Withdraw by PayPal or bank transfer.
<script src="https://ads.billbits.dev/sdk.js"></script>
<script>
const ads = Billbits.init();
const board = ads.slot('slot_…'); // your slot id
function render() {
// …your game…
if (!board.draw(ctx, x, y)) drawMyOwnBillboard(ctx, x, y);
}
canvas.addEventListener('pointerdown', (e) => {
if (board.hit(e.offsetX, e.offsetY)) board.click();
});
</script>Works with plain canvas, Phaser, PixiJS, three.js or the DOM. Read the docs →
For advertisers
Put your brand where players are actually looking, in front of an audience that is not skipping or scrolling.
Choose a format
See every placement for a size, with the game it runs in and its recent traffic.
Set your price
Bid what 1,000 impressions are worth to you (from $0.05) and set a total budget, plus a daily cap if you want one.
Upload your image
Every ad is reviewed by a person before it runs, which keeps games and brands safe.
Pay only for real views
An impression counts after your ad has been on screen for a full second, never just because it loaded.
Popular formats
Private by design
No cookies, no profiles, no cross-site tracking. Ads are chosen by placement, not by person, so there is no consent banner to add for us.
Fraud-resistant counting
Signed single-use tokens, visibility timing, bot filtering and domain locking. Earnings are held for review before payout.
Brand-safe defaults
Gambling, crypto, alcohol, dating and political ads are off until a developer turns them on. Every image is approved by a person.
Questions
- How much do developers earn?
- 70% of what advertisers pay. Advertisers set their own CPM (price per 1,000 impressions), so a slot earns more when more advertisers want it. You can set a floor price per slot.
- When do I get paid?
- Earnings become available 30 days after they're made, which leaves time to catch fraud. Once you have $50 or more, request a payout by PayPal or bank transfer.
- What if there is no ad for my slot?
- draw() returns false and you draw whatever you drew before: your own art, a house ad, a joke billboard. Your game never shows an empty box.
- Does it work when testing on localhost?
- Yes. Ads load on localhost in test mode, so you can build the integration. Test traffic is never billed or paid.
- Which countries?
- Advertisers pay in USD by card through Stripe. Developers anywhere can be paid by PayPal or bank transfer.
Ready when you are
Creating an account is free, for game developers and for advertisers.