title: Android AdMob returning blank, not clickable ads (picture and small log included)
body: <p>A few days ago, I started having problems with <strong>AdMob</strong>. They return <strong>blank ads</strong> (a view with nothing on it). I also noticed that they are <strong>not clickable</strong> (in case that detail helps).</p>
  
  <p>As such my revenue dropped almost completely (to a few cents per app), CTR dropped and all that. I noticed that it started happening some day with no reason on the previous SDK (4.0.4 IIRC). I tried uploading a version with the new SDK (4.1), but still have problems.</p>
  
  <p>Despite all that, <strong>it still works <em>sometimes</em></strong>, which leaves me wondering...</p>
  
  <p>Questions here on SO and on the Internet [<a href="https://stackoverflow.com/questions/6090261/admob-ads-not-clickable-and-not-displaying-well-urgent">1</a>, <a href="http://groups.google.com/group/google-admob-ads-sdk/browse_thread/thread/c9219ceadb6f5e62?pli=1" rel="nofollow noreferrer">2</a> and <a href="https://stackoverflow.com/questions/5060672/my-android-admod-ad-is-blank-in-test-mode">3</a> (this one isn't Android, but still...)] didn't help much.</p>
  
  <p>Screenshot:</p>
  
  <p><img src="https://i.stack.imgur.com/X2MEk.png" alt="blank AdMob ad"></p>
  
  <p>Log follows. I'm intrigued with the last warning (I indented), as I suspect that's the problem... and I have no idea of what it means.</p>
  
  <pre><code>06-09 08:44:16.730: INFO/Ads(27033): To get test ads on this device, call adRequest.addTestDevice("1355EC5CAF8FDBFF50FFE95E7C3187E9");
  06-09 08:44:16.800: WARN/InputManagerService(110): Starting input on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@40759998 (uid=10071 pid=27033)
  06-09 08:44:16.800: WARN/InputManagerService(110): Client not active, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@407f8418
  06-09 08:44:16.906: INFO/Ads(27033): adRequestUrlHtml: &lt;html&gt;&lt;head&gt;&lt;script src="http://www.gstatic.com/afma/sdk-core-v40.js"&gt;&lt;/script&gt;&lt;script&gt;AFMA_buildAdURL({"preqs":1,"u_sd":1.5,"slotname":"b23d5315c744d5a","u_w":320,"msid":"com.dc.test","js":"afma-sdk-a-v4.1.0","isu":"1355EC5CAF8FDBFF50FFE95E7C3187E9","format":"320x50_mb","net":"wi","app_name":"12.android.com.dc.test","hl":"pt","u_h":533,"u_audio":1,"u_so":"p"});&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt;
  06-09 08:44:17.050: INFO/ActivityManager(110): Displayed com.dc.test/.ui.MainActivity: +495ms (total +45s519ms)
  06-09 08:44:17.500: INFO/Ads(27033): Received ad url: &lt;"url": "http://r.admob.com:80/ad_source.php?preqs=1&amp;u_sd=1.5&amp;slotname=b23d5315c744d5a&amp;u_w=320&amp;msid=com.dc.test&amp;js=afma-sdk-a-v4.1.0&amp;isu=1355EC5CAF8FDBFF50FFE95E7C3187E9&amp;format=320x50_mb&amp;net=wi&amp;app_name=12.android.com.dc.test&amp;hl=pt-BR&amp;u_h=533&amp;u_audio=1&amp;u_so=p&amp;output=html&amp;region=mobile_app&amp;u_tz=180&amp;ex=1&amp;client_sdk=1&amp;askip=1", "afmaNotifyDt": "null"&gt;
      06-09 08:44:18.097: WARN/webcore(27033): Can't get the viewWidth after the first layout
  06-09 08:44:18.101: INFO/Ads(27033): onReceiveAd()
  </code></pre>
  
  <p>After this I get standard dalvikvm stuff, so I guess it ends here. I can include more details if needed. I didn't include code because I didn't change anything for that to start happening.</p>