> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/aatkit-cordova-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/aatkit-cordova-integration/formats/rewarded-video.md).

# Rewarded Video

Integrate rewarded video ads

### Usage

The integration steps for rewarded videos are very similar like for other [fullscreen ads](/aatkit-cordova-integration/formats/fullscreen-interstitial.md). You will just need to use [createRewardedVideoPlacement](/aatkit-cordova-integration/other/reference/functions/createrewardedvideoplacement.md) function. If you’ve used rewarded videos before with the normal fullscreen placement, please make sure to use a different placement name for your new `Rewarded` placement. When the user watches the rewarded video and incentive is earned, the [aatkitUserEarnedIncentive](/aatkit-cordova-integration/other/reference/events/aatkituserearnedincentive.md) event is triggered. See the example of using rewarded video ads below.

```javascript
createFullscreen: function() {
    AATKitCordova.createPlacement("YourPlacementName", "Fullscreen");
},

initialize: function() {
    document.addEventListener('aatkitHaveAd', function(data){ 
        console.log("aatkitHaveAd: " + data.placementName);
        if(data.placementName == "YourPlacementName") {
            AATKitCordova.showPlacement("fullscreenAd", (interstitialShown) => {
                console.log("interstitialShown " + interstitialShown);
            });
        }    
    });

    document.addEventListener('aatkitUserEarnedIncentive', function(data){
        console.log("aatkitUserEarnedIncentive: " + data);
    });
},
```
