Ads API
Ad Types
Rewarded Video Ads
const isReady = await RundotGameAPI.ads.isRewardedAdReadyAsync()
if (isReady) {
const rewarded = await RundotGameAPI.ads.showRewardedAdAsync()
if (rewarded) {
grantReward() // Player watched the full ad
}
}Interstitial Ads
Quick Start
Complete Example
API Reference
Method
Returns
Description
Best Practices
Last updated