For your games to be approved and published, you will need to implement our custom SDK. The following settings are required to enable our SDK to function correctly:
- Make sure to add your game hash (gameId). You can retrieve the game hash from your GameDistribution developer panel.
- Invoke a method to pause and mute your game within the SDK_GAME_PAUSE event. This will be called every time a video advertisement is ready to play. It is important that the game is muted, as background audio is not permitted to run through video advertisements.
- Invoke a method to resume your game within the SDK_GAME_START event. This will be called every time a video advertisement has finished playing.
- Load the SDK before your game starts or while your game is loading, as this delivers the best user experience. Under no circumstances should the SDK be loaded after the game has loaded, or by clicking a button within the game. Advertisements will take too long to load, and the user will have to wait too long to start playing.
- Only load the SDK once.
You can find the full SDK code on our GitHub page, along with other tips and tricks to help you get started. This page also contains additional information about advertising and debugging.