Cocoon.Ad.Heyzap class provides an easy to use Heyzap API with built-in support for multiple banners and interstitials.
Example
//Global configuration
Cocoon.Ads.Heyzap.configure({
publisherId:"xxxxxxxxxxxxxxxx"
})
//Or platform specific configuration
Cocoon.Ads.Heyzap.configure({
ios: {
publisherId:"xxxxxxxxxxxxxxxx"
},
android: {
publisherId:"yyyyyyyyyyyyyyyy"
}
);*
Methods
-
<static> showDebug()
-
Shows a native view to help debug the Heyzap mediation settings
Example
Cocoon.Ad.Heyzap.showDebug();