This example demonstrates Fuse's rewarded ad format for web. Users voluntarily opt-in to watch an ad in exchange for a reward (in this case, access to premium articles).
fusetag.registerRewarded(zoneCode) - Registers and loads the rewarded adfusetag.onRewardedReady(callback) - Called when the ad is ready to displayfusetag.displayRewarded() - Shows the ad to the userfusetag.onRewardedGranted(callback) - Called when the user earns the reward (after viewing the
required duration)
fusetag.onRewardedVideoCompleted(callback) - Called when the rewarded video creative finishes
playing (distinct from "reward earned" and "overlay closed")
fusetag.onRewardedClosed(callback) - Called when the user closes the adfusetag.onRewardedEmpty(callback) - Called when GAM returns no ad (no-fill);
mutually exclusive with the ready callback per ad request
fusetag.onRewardedUnsupported(callback) - Called when the GAM ad unit has no rewarded
format enabled; the ready callback will never fire, so hide any "Watch Ad" prompt instead of
leaving it enabled
Note: The reward is only granted if the user watches the ad for the required duration
(typically 5 seconds for display ads, or completion for video ads). The ad is configured in the Fuse admin panel
with the rewarded attribute.
Reward Type: article
Reward Amount: 3
Last Reward: None