Integrate with Enhance - Stencyl
Rewarded Ads
Rewarded Ads are usually full-screen video ads which users can view to receive a reward inside the app, like an additional in-game currency or a health bonus for example.
Example Usage

Blocks
is rewarded ad ready
boolean is rewarded ad ready()
Return Value:
Returns true
if any ad is ready, false
otherwise. When app is not Enhanced, always returns true
.
is rewarded ad ready for placement
boolean is rewarded ad ready for placement(
text placement
)
Parameters:
text placement
- Specifies the internal placement of the ad (from the Enhance mediation editor).
Return Value:
Returns true
if any ad is ready, false
otherwise. When app is not Enhanced, always returns true
.
show rewarded ad
void show rewarded ad()
show rewarded ad with placement
void show rewarded ad with placement(
text placement
)
Parameters:
text placement
- Specifies the internal placement of the ad (from the Enhance mediation editor).
on reward granted
on reward granted()
type
, and its value
as an integer (if applicable, depending on ad network's configuration). on reward declined
on reward declined()
on reward unavailable
on reward unavailable()
last reward type
text last reward type()
"ITEM"
or "COINS"
. last reward value
number last reward value()
"COINS"
.