AD integration (not AdMob)

Hi guys!
I would like to integrate advertising from the Adtoapp. In IntelXDK I hooked them Appodeal Cordova Plugin. But how to implement the call ads and return to the game after watching the video? How to implement this code:

To show an ad with placement, you have to call show method like this:

Appodeal.showWithPlacement(adTypes, placementName);

SDK Integration Manual here: https://www.appodeal.com/sdk/documentation?utf8=%E2%9C%93&proguard=0&framework=9&platform=1&ads_type%5B%5D=2&to_generate=1