RRewarded Video With Call To Action Button and Modal Pop-Up - Out of the Box Implementation
This page shows an example of Rewarded Video with Call to Action Button that does enable unless fill.
- 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.
- Attach ?google_sample_tag=blank; to the end of the URL to force no fill
- 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