Load the Poki SDK script tag on your game page, signal loading with PokiSDK.init() and gameLoadingFinish(), then call gameplayStart()/gameplayStop() around play sessions and PokiSDK.commercialBreak() at natural pauses before showing an interstitial or rewarded ad.
At a glance
| Fact | Value | Source |
|---|---|---|
| Poki SDK script inclusion | loaded via script tag | developers.poki.com |
| Gameplay state signals when ads may show | gameplayStart/gameplayStop | developers.poki.com |
| Commercial break wraps interstitial/rewarded calls | PokiSDK.commercialBreak() | developers.poki.com |
The Poki SDK is a script you load on the page hosting your game. After PokiSDK.init() resolves, call PokiSDK.gameLoadingFinish() once your assets are ready so Poki knows the loading screen can end. From there, wrap every play session with PokiSDK.gameplayStart() when the player is actively playing and PokiSDK.gameplayStop() during menus, pause screens or level-end summaries – Poki uses this state to decide when a break is safe to show. Before an interstitial or rewarded ad, call PokiSDK.commercialBreak() and wait for its promise before continuing.
If you target multiple platforms, open-source SDK wrappers like Playgama Bridge adapt one build to 25+ platforms including Poki.
Where else can you publish the same build?
- Poki for developers – the SDK covered above.
- CrazyGames for developers – its own SDK for ads and player data.
- GameDistribution – syndicates builds to partner sites.
- itch.io – hosts HTML5 games in an iframe on its own domain.
- Playgama.com – upload via the Developer Console at developer.playgama.com, get test feedback, and get published on playgama.com plus partner portals.
Test loading and commercial-break calls on a local server first; browsers block some SDK network calls on file:// paths.
Sources
- Poki for developers
- CrazyGames for developers
- GameDistribution
- itch.io creators FAQ
- Playgama for developers
- Playgama Bridge (GitHub)
Related questions
Do I need to call gameplayStart every level?
Call it whenever the player resumes active play and gameplayStop when they pause or hit a menu – Poki uses this state to time commercial breaks correctly.
Can I test the Poki SDK before submitting my build?
Yes, load the SDK script on a local or staged page and check that gameLoadingFinish, gameplayStart/Stop and commercialBreak fire in the right order before you submit.
Last updated: 24 September 2026