Our Unity plugin makes integration straightforward, but there are techniques that can maximize player engagement and revenue. Let's dive in.
Installation
Add the Funstack package via Unity Package Manager:
// Package URL
https://github.com/funstack/unity-plugin.git
Optimal Ad Placement
Based on data from 100+ games, these are the highest-performing ad placements:
1. Level Complete
Show an optional rewarded ad after level completion. Completion rate: 73%
public async void OnLevelComplete(int level)
{
// Show reward prompt
var result = await FunstackSDK.Ads.ShowRewardedAd(
placement: "level_complete",
metadata: new { level = level }
);
if (result.Completed)
{
// Player watched full ad
ShowRewardAnimation(result.TokensEarned);
}
}
2. Extra Lives
Offer an ad for an extra life on game over. Completion rate: 81%
3. Daily Bonus
Boost daily login rewards with an optional ad. Completion rate: 65%
Reward Timing
Show the FNSTK reward animation immediately after ad completion. Our A/B tests show this increases next-ad engagement by 23%.
Common Mistakes
- Don't force ads on gameplay interruptions
- Don't show ads before the player has engaged
- Do make ad rewards feel valuable
- Do show the cross-game benefit ("Spend in any Funstack game!")
For more, check our full Unity documentation.