The following code shows you how to attach listeners and load the first rewarded ad:
Showing a Rewarded Ad
To show a rewarded ad, call show_rewarded_ad():
S2S Rewarded Callbacks
You can receive callbacks to your currency server.
To learn how, see the MAX S2S Rewarded Callback API guide.
Then update the Server Side Callback URL in your Edit Ad Unit page.
Setting the Amount and Currency for a Rewarded Ad
To set the reward amount and currency:
Click Add S2S Reward Callback in your Edit Ad Unit page:
Add the Server Side Callback URL, Reward Amount, and Rewarded Currency Name: