Rewarded Video Example - Out of the Box Implementation - Yes CTA Button

This page shows an example of Rewarded Video triggered as soon as the page loads and there is an Ad available.

  • Notes:
  • Rewarded Video Product does not currently include Ramp House Ads Support.
  • Attach ?pw_test_ads=true; to the end of the URL to force test ads.
  • Rewarded Video .showRewardedVideoModal() should only be called when rewardedAdVideoRewardReady event is triggered.
  • rewardedAdVideoRewardReady is only triggered if there was an ad available when the request was made to the ad server
  • showRewardedVideoModal method will throw these errors:
  • Cannot read properties of undefined (reading 'slots') if called before ramp is ready
  • Cannot read properties of undefined (reading 'showRewardedVideoModal') if called without rewardedAdVideoRewardReady event.
                placeholder example (will be replaced by environment variables in the deployment pipeline. see: envsubst)
                site_id: 75314
                pub_id:  343
                paywire_tag_url: https://cdn.intergient.com