Home / Phonegap / Banners / Events

Banners

Events

You can add listener events into the Banner to be notified when a specific event happens in the ad. Here you have examples:

Function Explanation
function void tappxBannerDidFinishLoad (){} It will be called when the creative has been correctly received.
function void tappxBannerDidFail (string error){} It will be called when there is an error while receiving the creative.
function void tappxBannerDidExpanded (){} It will be called when the ad expanded.
function void tappxBannerDidPress (){} It will be called when the user clicks on the ad.
function void tappxBannerDidClose (){} It will be called when you remove the ad.