deniza / Ad-Mediator-for-Corona

Client side ad mediation module for Ansca Corona
https://github.com/deniza/Ad-Mediator-for-Corona/wiki/Documentation
31 stars 14 forks source link

Some banners still not clickable #34

Open mikahouete opened 12 years ago

mikahouete commented 12 years ago

Hi! When I click on some banners, they just disappear and nothing happens.

deniza commented 12 years ago

Could you please provide what you get from admob servers? that way I can debug what is going on there.

On Tue, Sep 11, 2012 at 4:23 PM, mikahouete notifications@github.comwrote:

Hi! When I click on some banners, they just disappear and nothing happens.

— Reply to this email directly or view it on GitHubhttps://github.com/deniza/Ad-Mediator-for-Corona/issues/34.

hegoro commented 12 years ago

Same issue here. This is their response: <html><head><meta name="viewport" content="width=320; user-scalable=0;"/><meta charset='utf-8'><script>function a(b){this.t={};this.tick=function(b,f,d){this.t[b]=[void 0!=d?d:(new Date).getTime(),f]};this.tick("start",null,b)}var c=new a;window.jstiming={Timer:a,load:c};try{var e=null;null==e&&window.gtbExternal&&(e=window.gtbExternal.pageT());null==e&&window.external&&(e=window.external.pageT);e&&(window.jstiming.pt=e)}catch(g){}var h=window.onerror;window.onerror=function(){window.jstiming.jsError=1;"function"==typeof h&&h.apply(window,arguments)};</script><meta charset="utf-8"><meta name="viewport_disabled" content="width=device-width, height=device-height, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"/><base href="http://mmv.admob.com/" /><script type="text/javascript" src="http://media.admob.com/gmsg.js"></script><script>document.addEventListener("touchmove", function(e) { e.preventDefault(); });document.addEventListener("touchstart", AFMA_HandleTouch, false);document.addEventListener("touchend", AFMA_HandleTouch, false);document.addEventListener("touchcancel", AFMA_HandleTouch, false);</script><script>handleClick = function() {AFMA_Click('http://c.admob.com/j1/4/El0FnsrlW4El0_uxEGXbSqc505239730A54883c0e5176808ef87da1c20625b4d59b87?e\x3dABk73oJx3WP4dkfMV_jLijQMOkXl2h9yylqgLGHOdUa2yOIMb0k_NA\x26wp\x3d(MTAwMDA\x26mrtn\x3diPhone');AFMA_OpenStore('http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id\x3d545679170\x26mt\x3d8');return false;}</script><style>* {border: 0;margin: 0;outline: 0;padding: 0;-webkit-user-select: none;}body {background: transparent;color: #fff;font-family: helvetica;}#ad {height: 50px;width: 320px;}#clk {height: 50px;left: 0px;position: absolute;top: 0px;width: 320px;}</style></head><body onload="typeof tickTimer == 'function' && tickTimer()"><div id="ad"><div style="position:relative"><div id="clk" onClick="handleClick()"></div><img height=50 src="http://googleads.g.doubleclick.net/simgad/15799771587640598044" width=320></div></div><script></script></body></html>

bigphilggy commented 11 years ago

Hi - I am having a similar issue as well. This is now stopping my team from using AdMob network. Any hints are appreciated. The event.htmlContent is as below (prettifier-ed) -

<html>

    <head>
        <script>
            function a(b) {
                this.t = {};
                this.tick = function (b, f, d) {
                    this.t[b] = [void 0 != d ? d : (new Date).getTime(), f]
                };
                this.tick("start", null, b)
            }
            var c = new a;
            window.jstiming = {
                Timer: a,
                load: c
            };
            try {
                var e = null;
                null == e && window.gtbExternal && (e = window.gtbExternal.pageT());
                null == e && window.external && (e = window.external.pageT);
                e && (window.jstiming.pt = e)
            } catch (g) {}
            var h = window.onerror;
            window.onerror = function () {
                window.jstiming.jsError = 1;
                "function" == typeof h && h.apply(window, arguments)
            };
        </script>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, height=device-height, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"
        />
        <base href="http://mmv.admob.com/" />
        <script type="text/javascript" src="http://media.admob.com/gmsg.js"></script>
        <script>
            document.addEventListener("touchmove", function (e) {
                e.preventDefault();
            });
            document.addEventListener("touchstart", AFMA_HandleTouch, false);
            document.addEventListener("touchend", AFMA_HandleTouch, false);
            document.addEventListener("touchcancel", AFMA_HandleTouch, false);
        </script>
        <script>
            handleClick = function () {
                AFMA_Click('http://c.admob.com/j1/4/EkWftR9dTEEkXo083HViShg50A7BBF80C5C10fe21e9a006bc4fbb1c1faebe184f5596?e\x3dABk73oKJAxgkfGdbRqf8iH20JsI61ppx9FIs5m0-SuxvbnseGJdywQ');
                AFMA_OpenBrowser('http://m.google.com');
                return false;
            }
        </script>
        <style>
            * {
                border: 0;
                margin: 0;
                outline: 0;
                padding: 0;
                -webkit-user-select: none;
            }
            body {
                background: transparent;
                color: #fff;
                font-family: helvetica;
            }
            #ad {
                height: 50px;
                width: 320px;
            }
            #clk {
                height: 50px;
                left: 0px;
                position: absolute;
                top: 0px;
                width: 320px;
                background-color:red;
                opacity:0;
            }
        </style>
    </head>

    <body onload="typeof tickTimer == 'function' && tickTimer()">
        <div id="ad">
            <div style="position:relative">
                <div id="clk" onClick="handleClick()"></div>
                <img height=50 src="http://googleads.g.doubleclick.net/simgad/10955863034443917715"
                width=320>
            </div>
        </div>
        <div class="tp">
            <img width=0 height=0 src="http://c.admob.com/i1/4/EkWftR9dTEEkXo083HViShg50A7BBF80C5C10fe21e9a006bc4fbb1c1faebe184f5596?e=ABk73oKJAxgkfGdbRqf8iH20JsI61ppx9FIs5m0-SuxvbnseGJdywQ">
        </div>
        <script></script>
    </body>

</html>