Integration
Add to the game:
- Promo content (for example, new levels, prizes, bundles).
- Handling transitions using ysdk.environment.referrer.
You can integrate a promo through:
- Automatic activation — a universal method for all games.
- Build update — suitable for games uploaded as an archive.
- Code — suitable for games uploaded via a link.
After that, you need to fill out the promo card in the Console and submit it for moderation.
Automatic activation
Note
A universal method for all games.
To avoid going through moderation every time you want to run an event in your game, set up automatic promo activation:
- Plan promotions in your game.
- Add the ability to automatically enable and disable promos at specific times to your game.
- Upload your game to the Console in advance and pass moderation.
- Fill out the promo card on the Promos tab in the Console and submit it for moderation.
Build update
Note
This method is suitable for games uploaded as an archive.
- Create a new game build with the promo.
- Submit the build for moderation. While moderation is checking the game (usually it takes 3−5 business days, see Moderation for more details), you won't be able to make any changes to it. This applies to all items related to moderation.
- If everything is fine, the promo will be activated after the game update.
- After the promo ends, create a new game build (with the promo disabled) and also submit it for moderation.
Code
Note
This method is suitable for games uploaded via a link.
- Update your game code adding the promo logic.
- Submit the game for moderation. While moderation is checking the game (usually it takes 3−5 business days, see more in the Moderation section), you won't be able to make any changes to it. This applies to all items related to moderation.
- If everything is fine, the promo will be activated after the game update.
- After the promo ends, make new changes to the code (with the promo disabled) and also submit it for moderation.
Was the article helpful?
Previous
Next