Skip to content

SDK Implementation

Please make sure to implementing our SDK that makes it possible to serve advertisements in your game, and allows us to track important moments in the gameplay session.

Definition of events

  • gameplayStart : Fires whenever the player starts interacting with the game (e.g. when the player clicks start button, starts moving around, or clicks to interact with something.).
  • gameplayStop : Fires whenever the gameplay halts (e.g. when the game is paused, the level is completed or when the player is dead).
  • logLevelStart: Fires whenever player starts a level.
  • logLevelEnd: Fires whenever player completed a level.
  • logLevelUp: Fires whenever player achieving a new level.

Note: For other game engines, refer to their documentation for guidance on implementing the events.

Updating Scores and Player stats.

Some of the game channels we support require game to update score or stats using postStatsAsync at the end of every gameplay session or whenever there’s a high score update. So make sure to update score before calling event gameplayStop.