Hi,
I'm trying to build the right html to show banner inside Ads SDK.
I'm using the admob.opener.openUrl(urlGoogle); method in order to open destination landing URL in a new browser window.
Everything works fine on devices with one browser but when user has multiple (lets say Android Browser and Chrome) it shows a popup that request to chose one.
I'd like to go straight to browser as many banner does but I don't know how I can skip the popup.
Can you please drive me in the javascript implementation
Here my html snippet:
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"/>
</head>
<body>
<a href="#" target="_blank" onclick="googleNotify(clickUrl, clickTrackingUrl);" >
</a>
<br />
<script>
function googleNotify(urlGoogle, urlBucksense) {
if (admob.isAdMobSdk() === true){
admob.opener.openUrl(urlGoogle);
admob.recordEvent(urlBucksense);
}
return false;
}
</script>
</body>
</html>
Thanks
Maurizio