kaltura/mwEmbed — pull request #436 by eitanavgil (2013-06-26 12:31:03+00:00)
Title: Cr 88402 - expose the ad click url to a notification 

here's how to implement the JS code:

function jsCallbackReady ( playerId ) {
player = document.getElementById(playerId);
player.addJsListener("adClick", "adClick");

}
function adClick(a) {
console.log("ad url:" + a.url);
}