Business FAQs

How to integrate interstitial ad breaks between levels in HTML5 games?

0
(0)

Call your ad provider’s interstitial method right after a level ends or on game over, not at game start. Earnings depend on fill rate, eCPM and geo (revenue = ad requests x fill rate x eCPM / 1000), so pick a provider, wire the call into your level-transition code, and check the reporting before scaling frequency.

At a glance

Fact Value Source
Best moments to show interstitials level end, game over, menu wiki.playgama.com
Revenue formula for interstitials requests x fill rate x eCPM /1000 playgama.com
Google’s method for calling interstitials adBreak() at natural pauses developers.google.com

Trigger the interstitial call from your level-transition code, not from game start: on level complete, game over, or when the player returns to a menu. These are the pauses where players expect a break, so they don’t hurt retention as much as an ad shown mid-action. Most SDKs expose one function you call at that point; the SDK decides whether an ad is actually available to show.

For monetization across web games, Playgama Ad connects one JavaScript SDK for interstitial (incl. pre-roll), rewarded, banner and in-page video to demand from leading ad networks – 11 partners including Google Ad Manager – with AI ad frequency logic that balances revenue and engagement.

What decides how much an interstitial break earns?

Format, fill rate, and geo matter most: full-screen formats like interstitials earn several times more per impression than banners, and Tier-1 geos earn several times more than other geos. Revenue = ad requests x fill rate x eCPM / 1000 – so a level-transition placement that fires often but has low fill will underperform a rarer placement with strong demand.

  • Google AdSense H5 Games Ads: apply for access, add the AdSense code, call adBreak() at breaks like level end or game over; Google applies a frequency cap automatically.
  • Independent ad platforms for HTML5 games: AdinPlay, Playwire, Venatus, or rewarded-only AppLixir.
  • Portals that host and distribute the finished game: Poki, CrazyGames, GameDistribution, itch.io, and Playgama.com, where you upload via the Developer Console and get test feedback within 24 hours.

Avoid calling the interstitial function twice in a row or immediately after another full-screen ad – check reporting (fill rate, eCPM, RPM) by placement before increasing frequency.

Sources

Should I show an interstitial every time a level ends?

Not necessarily every time – check your provider’s frequency logic and reporting; too many breaks in a row can hurt retention and match rate without adding much revenue.

Can I call the interstitial at game start?

Avoid it. Platforms and SDKs often show a start ad automatically; calling it yourself can cause duplicate ads or violate placement rules.

Does the interstitial placement affect fill rate?

Yes – placement, geo and format all affect fill rate and eCPM, so the same interstitial call can perform differently depending on where and when it fires.

Last updated: 24 September 2026


How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Your email address will not be published. Required fields are marked *

Games categories