java - Ads Banner not Display -


when test project in emulator interstitial ads work fine there error on logcat banner ads this

09-26 10:36:52.728: w/ads(787): js: page @ about:blank displayed insecure content gmsg://mobileads.google.com/loadadurl?drt_include=1&pan_include=0&request_id=df9e7124-c7b5-4a32-8882-ff5b6d171601&request_scenario=online_request&type=admob&url=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma%3fsession_id%3d17084132833272238065%26seq_num%3d3%26rm%3d2%26fdz%3d-1%26adtest%3don%26js%3dafma-sdk-a-v7895000.7895000.0%26hl%3den%26submodel%3dsdk%26gnt%3d3%26ma%3d0%26carrier%3d310260%26capability%3d%255bobject%2520object%255d%26platform%3dunknown%26u_sd%3d1.5%26sp%3d0%26cnt%3d0%26muv%3d11%26riv%3d5%26ms%3diawfrmvow4tm731p_cxuadnfxcsmfq8w40vkdea6sidopbmttqqt1dcnptxg7lkhijgovyr0ifzvvxtv1dbrqs2s2admkmdxwk2hfoun1ppwtfshoet3pgbhrlv5g4adk24ftrsucey40ut10j97z3wxhhbu-bvjnpazipqvwt5eady5qruzcu1_e0k8c15nkowpcs8huqfolk77ov108auaox9phs7pc8fqyvfo-xlx2ms3-ucsdipwdo3tprxyh4wm7x7yhfp2jkkeokekmsi322ot8jz8x8do6jksrrfabg8sp0c3_mn2ytbfao3bw8pgwtjjdkkalws7icdypa%26format%3d320x50_mb%26coh%3d1%26gl%3dus%26request_id%3ddf9e7124-c7b5-4a32-8882-ff5b6d171601%26am%3d0%26cap%3dm%26u_w%3d320%26u_h%3d534%26msid%3dcom.mira.canyoutapit%26app_name%3d1.android.com.mira.canyoutapit%26an%3d1.android.com.mira.canyoutapit%26net%3ded%26u_audio%3d4%26u_so%3dp%26preqs%3d2%26support_transparent_background%3dtrue%26pimp%3d1%26currts%3d303435%26basets%3d207427%26pclick%3d0%26output%3dhtml%26region%3dmobile_app%26u_tz%3d420%26client_sdk%3d1%26ex%3d1%26client%3dca-app-pub-3940256099942544%26slotname%3d6300978111%26askip%3d2%26gsb%3d3g%26bisch%3dfalse%26blev%3d0%26swdr%3dfalse%26cans%3d5%26canm%3dtrue%26caps%3dinlinevideo_interactivevideo_mraid1_mraid2_th_autoplay_mediation_av_transparentbackground_sdkadmobapiforads_di%26_efs%3dfalse%26forcehttps%3dtrue%26blockautoclicks%3d0%26forcegmsdoritos%3d1%26eid%3d46621136%26tcar%3d157%26jsv%3d188%26urll%3d1314&base_uri=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma&use_webview_loadurl=0&enable_auto_click_protection=0&google.afma.notify_dt=1443238612644. 09-26 10:41:21.668: i/ads(787): starting ad request. 09-26 10:41:21.988: d/dalvikvm(787): gc_concurrent freed 1987k, 9% free 21461k/23559k, paused 49ms+30ms, total 184ms 09-26 10:41:23.228: w/ads(787): js: page @ about:blank displayed insecure content gmsg://mobileads.google.com/loadadurl?drt_include=1&pan_include=0&request_id=5a59999f-8b9e-4b94-aa81-a114ddbcb8f3&request_scenario=online_request&type=admob&url=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma%3fsession_id%3d17084132833272238065%26seq_num%3d7%26rm%3d2%26fdz%3d-1%26adtest%3don%26js%3dafma-sdk-a-v7895000.7895000.0%26hl%3den%26submodel%3dsdk%26gnt%3d3%26ma%3d0%26carrier%3d310260%26capability%3d%255bobject%2520object%255d%26platform%3dunknown%26u_sd%3d1.5%26sp%3d0%26cnt%3d0%26muv%3d11%26riv%3d5%26ms%3du3iwblspmfdnir0apuzwwovidhvxmtgpmqcc9xbnaupmlfw1j7y8tg7rzegok8o00qh9tuofuax9o-dl9an4mvlcldjbpb6bln2_hutyzyztvzcfjzwiqt4tv0tzvej7akjsc2f-w1j6vp8oiudpeswq9b4palv2f0xspcxbs_upyutqamchpea29f2r5ekv5sagrujq6k3atkbvjbse8zdlzt47-9zhutgnp-vc7goujda-ifw6rsiazfxfwpnqnw2rvqendsbbpclqq2359ximaccfwnpi5_2ar-2hsxk5tkaff-hzw0ksj3npxznst9xylsvlds1tpbx4acoazw%26format%3d320x50_mb%26coh%3d1%26gl%3dus%26request_id%3d5a59999f-8b9e-4b94-aa81-a114ddbcb8f3%26am%3d0%26ad_x%3d5%26ad_y%3d720%26ad_w%3d470%26ad_h%3d75%26ad_v%3d1%26cap%3dm%26u_w%3d320%26u_h%3d534%26msid%3dcom.mira.canyoutapit%26app_name%3d1.android.com.mira.canyoutapit%26an%3d1.android.com.mira.canyoutapit%26net%3ded%26u_audio%3d4%26u_so%3dp%26preqs%3d6%26support_transparent_background%3dtrue%26pimp%3d5%26currts%3d578374%26basets%3d207427%26pclick%3d0%26output%3dhtml%26region%3dmobile_app%26u_tz%3d420%26client_sdk%3d1%26ex%3d1%26client%3dca-app-pub-3940256099942544%26slotname%3d6300978111%26askip%3d1%26gsb%3d3g%26bisch%3dfalse%26blev%3d0%26swdr%3dfalse%26cans%3d5%26canm%3dtrue%26caps%3dinlinevideo_interactivevideo_mraid1_mraid2_th_autoplay_mediation_av_transparentbackground_sdkadmobapiforads_di%26_efs%3dfalse%26forcehttps%3dtrue%26blockautoclicks%3d0%26forcegmsdoritos%3d1%26eid%3d46621136%26tcar%3d87%26jsv%3d188%26urll%3d1353&base_uri=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma&use_webview_loadurl=0&enable_auto_click_protection=0&google.afma.notify_dt=1443238883148. 09-26 10:41:23.228: w/ads(787):  (null:1) 09-26 10:41:23.228: w/web console(787): page @ about:blank displayed insecure content gmsg://mobileads.google.com/loadadurl?drt_include=1&pan_include=0&request_id=5a59999f-8b9e-4b94-aa81-a114ddbcb8f3&request_scenario=online_request&type=admob&url=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma%3fsession_id%3d17084132833272238065%26seq_num%3d7%26rm%3d2%26fdz%3d-1%26adtest%3don%26js%3dafma-sdk-a-v7895000.7895000.0%26hl%3den%26submodel%3dsdk%26gnt%3d3%26ma%3d0%26carrier%3d310260%26capability%3d%255bobject%2520object%255d%26platform%3dunknown%26u_sd%3d1.5%26sp%3d0%26cnt%3d0%26muv%3d11%26riv%3d5%26ms%3du3iwblspmfdnir0apuzwwovidhvxmtgpmqcc9xbnaupmlfw1j7y8tg7rzegok8o00qh9tuofuax9o-dl9an4mvlcldjbpb6bln2_hutyzyztvzcfjzwiqt4tv0tzvej7akjsc2f-w1j6vp8oiudpeswq9b4palv2f0xspcxbs_upyutqamchpea29f2r5ekv5sagrujq6k3atkbvjbse8zdlzt47-9zhutgnp-vc7goujda-ifw6rsiazfxfwpnqnw2rvqendsbbpclqq2359ximaccfwnpi5_2ar-2hsxk5tkaff-hzw0ksj3npxznst9xylsvlds1tpbx4acoazw%26format%3d320x50_mb%26coh%3d1%26gl%3dus%26request_id%3d5a59999f-8b9e-4b94-aa81-a114ddbcb8f3%26am%3d0%26ad_x%3d5%26ad_y%3d720%26ad_w%3d470%26ad_h%3d75%26ad_v%3d1%26cap%3dm%26u_w%3d320%26u_h%3d534%26msid%3dcom.mira.canyoutapit%26app_name%3d1.android.com.mira.canyoutapit%26an%3d1.android.com.mira.canyoutapit%26net%3ded%26u_audio%3d4%26u_so%3dp%26preqs%3d6%26support_transparent_background%3dtrue%26pimp%3d5%26currts%3d578374%26basets%3d207427%26pclick%3d0%26output%3dhtml%26region%3dmobile_app%26u_tz%3d420%26client_sdk%3d1%26ex%3d1%26client%3dca-app-pub-3940256099942544%26slotname%3d6300978111%26askip%3d1%26gsb%3d3g%26bisch%3dfalse%26blev%3d0%26swdr%3dfalse%26cans%3d5%26canm%3dtrue%26caps%3dinlinevideo_interactivevideo_mraid1_mraid2_th_autoplay_mediation_av_transparentbackground_sdkadmobapiforads_di%26_efs%3dfalse%26forcehttps%3dtrue%26blockautoclicks%3d0%26forcegmsdoritos%3d1%26eid%3d46621136%26tcar%3d87%26jsv%3d188%26urll%3d1353&base_uri=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma&use_webview_loadurl=0&enable_auto_click_protection=0&google.afma.notify_dt=1443238883148. 09-26 10:41:23.228: w/web console(787):  @ null:1 09-26 10:41:23.228: w/ads(787):  (null:1) 09-26 10:41:23.228: w/web console(787): page @ about:blank displayed insecure content gmsg://mobileads.google.com/loadadurl?drt_include=1&pan_include=0&request_id=5a59999f-8b9e-4b94-aa81-a114ddbcb8f3&request_scenario=online_request&type=admob&url=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma%3fsession_id%3d17084132833272238065%26seq_num%3d7%26rm%3d2%26fdz%3d-1%26adtest%3don%26js%3dafma-sdk-a-v7895000.7895000.0%26hl%3den%26submodel%3dsdk%26gnt%3d3%26ma%3d0%26carrier%3d310260%26capability%3d%255bobject%2520object%255d%26platform%3dunknown%26u_sd%3d1.5%26sp%3d0%26cnt%3d0%26muv%3d11%26riv%3d5%26ms%3du3iwblspmfdnir0apuzwwovidhvxmtgpmqcc9xbnaupmlfw1j7y8tg7rzegok8o00qh9tuofuax9o-dl9an4mvlcldjbpb6bln2_hutyzyztvzcfjzwiqt4tv0tzvej7akjsc2f-w1j6vp8oiudpeswq9b4palv2f0xspcxbs_upyutqamchpea29f2r5ekv5sagrujq6k3atkbvjbse8zdlzt47-9zhutgnp-vc7goujda-ifw6rsiazfxfwpnqnw2rvqendsbbpclqq2359ximaccfwnpi5_2ar-2hsxk5tkaff-hzw0ksj3npxznst9xylsvlds1tpbx4acoazw%26format%3d320x50_mb%26coh%3d1%26gl%3dus%26request_id%3d5a59999f-8b9e-4b94-aa81-a114ddbcb8f3%26am%3d0%26ad_x%3d5%26ad_y%3d720%26ad_w%3d470%26ad_h%3d75%26ad_v%3d1%26cap%3dm%26u_w%3d320%26u_h%3d534%26msid%3dcom.mira.canyoutapit%26app_name%3d1.android.com.mira.canyoutapit%26an%3d1.android.com.mira.canyoutapit%26net%3ded%26u_audio%3d4%26u_so%3dp%26preqs%3d6%26support_transparent_background%3dtrue%26pimp%3d5%26currts%3d578374%26basets%3d207427%26pclick%3d0%26output%3dhtml%26region%3dmobile_app%26u_tz%3d420%26client_sdk%3d1%26ex%3d1%26client%3dca-app-pub-3940256099942544%26slotname%3d6300978111%26askip%3d1%26gsb%3d3g%26bisch%3dfalse%26blev%3d0%26swdr%3dfalse%26cans%3d5%26canm%3dtrue%26caps%3dinlinevideo_interactivevideo_mraid1_mraid2_th_autoplay_mediation_av_transparentbackground_sdkadmobapiforads_di%26_efs%3dfalse%26forcehttps%3dtrue%26blockautoclicks%3d0%26forcegmsdoritos%3d1%26eid%3d46621136%26tcar%3d87%26jsv%3d188%26urll%3d1353&base_uri=https%3a%2f%2fgoogleads.g.doubleclick.net%2fmads%2fgma&use_webview_loadurl=0&enable_auto_click_protection=0&google.afma.notify_dt=1443238883148. 09-26 10:42:27.318: w/web console(787):  @ null:1 09-26 10:42:27.368: w/ads(787): js: page @ https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html displayed insecure content file:///android_asset/webkit/android-weberror.png. 09-26 10:42:27.368: w/ads(787):  (null:1) 09-26 10:42:27.368: w/web console(787): page @ https://googleads.g.doubleclick.net/mads/static/mad/sdk/native/sdk-core-v40.html displayed insecure content file:///android_asset/webkit/android-weberror.png. 09-26 10:42:27.368: w/web console(787):  @ null:1 09-26 10:42:29.368: d/webviewglue(787): nativedestroy view: 0x2a44c060 09-26 10:42:29.538: i/ads(787): scheduling ad refresh 60000 milliseconds now. 09-26 10:42:29.678: i/ads(787): ad finished loading. 09-26 10:42:29.678: i/choreographer(787): skipped 31 frames!  application may doing work on main thread. 09-26 10:42:29.688: w/ads(787): not enough space show ad. needs 320x50 dp, has 313x526 dp. 09-26 10:42:29.688: w/ads(787): not enough space show ad. needs 320x50 dp, has 313x526 dp. 09-26 10:42:30.008: d/dalvikvm(787): gc_concurrent freed 1940k, 9% free 21486k/23559k, paused 50ms+48ms, total 353ms 09-26 10:43:29.548: i/ads(787): starting ad request. 

and xml data

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:ads="http://schemas.android.com/apk/res-auto"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:layout_margin="3dp"     android:background="@drawable/backgroundblankyellow"     android:orientation="vertical" >      <linearlayout         android:id="@+id/linearfailed"         android:layout_width="fill_parent"         android:layout_height="fill_parent"         android:layout_gravity="center"         android:layout_weight="1"         android:orientation="vertical"         android:visibility="gone" >          <imageview             android:id="@+id/imageview4"             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1"             android:scaletype="fitxy"             android:src="@drawable/imageheadbackblack" />          <linearlayout             android:layout_width="fill_parent"             android:layout_height="fill_parent"             android:layout_gravity="center"             android:layout_weight="1"             android:background="@drawable/backgroundfailed"             android:gravity="center"             android:orientation="vertical" >              <linearlayout                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_gravity="center"                 android:layout_marginbottom="50dp"                 android:layout_marginleft="30dp"                 android:layout_marginright="30dp"                 android:layout_margintop="50dp"                 android:background="@drawable/imagepopup"                 android:gravity="center"                 android:orientation="vertical" >                  <linearlayout                     android:layout_width="fill_parent"                     android:layout_height="wrap_content"                     android:layout_gravity="center"                     android:layout_marginbottom="10dp"                     android:layout_margintop="10dp"                     android:gravity="center"                     android:orientation="horizontal" >                      <imageview                         android:id="@+id/imagenewbesttap"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_weight="1"                         android:scaletype="fitcenter"                         android:src="@drawable/imageplaynewhighscore"                         android:visibility="gone" />                      <textview                         android:id="@+id/textbesttap"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_weight="1"                         android:gravity="center"                         android:text="best tap"                         android:textsize="20sp"                         android:textstyle="italic|bold"                         android:typeface="serif"                         android:visibility="visible" />                      <textview                         android:id="@+id/besttap"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_gravity="center"                         android:layout_weight="1"                         android:gravity="center"                         android:textappearance="?android:attr/textappearancelarge"                         android:textsize="50sp"                         android:textstyle="bold|italic"                         android:typeface="serif" />                  </linearlayout>                  <linearlayout                     android:layout_width="fill_parent"                     android:layout_height="wrap_content"                     android:layout_gravity="center"                     android:layout_marginbottom="10dp"                     android:layout_margintop="10dp"                     android:orientation="horizontal" >                      <textview                         android:id="@+id/texttapped"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_gravity="center"                         android:layout_weight="1"                         android:gravity="center"                         android:text="current"                         android:textsize="20sp"                         android:textstyle="italic|bold"                         android:typeface="serif" />                      <textview                         android:id="@+id/currenttap"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_gravity="center"                         android:layout_weight="1"                         android:gravity="center"                         android:textappearance="?android:attr/textappearancelarge"                         android:textsize="50sp"                         android:textstyle="bold|italic"                         android:typeface="serif" />                  </linearlayout>                  <linearlayout                     android:layout_width="fill_parent"                     android:layout_height="wrap_content"                     android:layout_gravity="center"                     android:background="@drawable/imageunder"                     android:gravity="center" >                      <button                         android:id="@+id/buttonrestart"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_margin="25dp"                         android:layout_weight="1"                         android:background="@drawable/buttonrestart" />                      <button                         android:id="@+id/buttonmenu"                         android:layout_width="fill_parent"                         android:layout_height="fill_parent"                         android:layout_margin="25dp"                         android:layout_weight="1"                         android:background="@drawable/buttonmenu" />                  </linearlayout>             </linearlayout>         </linearlayout>          <imageview             android:id="@+id/imageview3"             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1"             android:scaletype="fitxy"             android:src="@drawable/imageheadbackblack" />      </linearlayout>      <framelayout         android:id="@+id/framelayout1"         android:layout_width="fill_parent"         android:layout_height="wrap_content"         android:layout_weight="1"         android:background="@drawable/imageheadbackblack"         android:visibility="gone" >          <chronometer             android:id="@+id/chronometer1"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_gravity="right|center"             android:textstyle="bold|italic"             android:typeface="serif"             android:visibility="invisible" />          <textview             android:id="@+id/totaltap"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_gravity="left|center"             android:layout_marginleft="10dp"             android:textappearance="?android:attr/textappearancelarge"             android:textsize="16sp"             android:textstyle="italic"             android:typeface="serif"             android:visibility="invisible" />          <textview             android:id="@+id/besttotaltap"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_gravity="center"             android:layout_marginright="10dp"             android:textappearance="?android:attr/textappearancelarge"             android:textstyle="bold"             android:typeface="serif"             android:visibility="invisible" />     </framelayout>      <imageview         android:id="@+id/rulesimage"         android:layout_width="fill_parent"         android:layout_height="wrap_content"         android:layout_weight="1"         android:scaletype="fitxy"         android:src="@drawable/playimage"         android:visibility="visible" />      <linearlayout         android:id="@+id/playlinear"         android:layout_width="fill_parent"         android:layout_height="wrap_content"         android:layout_margin="2dp"         android:layout_weight="1"         android:background="@drawable/backgroundplay"         android:orientation="vertical"         android:visibility="gone" >          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1" >              <button                 android:id="@+id/yellow16"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow15"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow14"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow13"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />         </linearlayout>          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1" >              <button                 android:id="@+id/yellow12"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow11"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow10"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow9"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />         </linearlayout>          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1" >              <button                 android:id="@+id/yellow8"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow7"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow6"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow5"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />         </linearlayout>          <linearlayout             android:layout_width="fill_parent"             android:layout_height="wrap_content"             android:layout_weight="1" >              <button                 android:id="@+id/yellow4"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow3"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow2"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />              <button                 android:id="@+id/yellow1"                 android:layout_width="wrap_content"                 android:layout_height="wrap_content"                 android:layout_weight="1"                 android:background="@drawable/buttonyellowflash"                 android:visibility="invisible" />         </linearlayout>     </linearlayout>      <framelayout         android:id="@+id/framelayout2"         android:layout_width="fill_parent"         android:layout_height="wrap_content"         android:layout_gravity="center"         android:layout_weight="1"         android:background="@drawable/imageheadbackblack"         android:visibility="gone" >          <textview             android:id="@+id/countdowntext"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             android:layout_gravity="center"             android:textappearance="?android:attr/textappearancelarge"             android:textstyle="bold|italic"             android:typeface="serif"             android:visibility="invisible" />     </framelayout>       <com.google.android.gms.ads.adview          android:id="@+id/adview"          android:layout_width="wrap_content"          android:layout_height="wrap_content"          android:layout_gravity="center"          ads:adsize="banner"          ads:adunitid="@string/banner_ad_unit_id" />  </linearlayout> 

anyone can me problem? how fix error make ads not display?

thank's in advance

the error in log-cat belongs banner ad in xml file i.e. com.google.android.gms.ads.adview. not related interstitial ads.

the error occurred because, in layout, there not room ad load. see following message error logcat

not enough space show ad. needs 320x50 dp, has 313x526 dp.

redesign layout , make sure com.google.android.gms.ads.adview have enough height loading content.


Comments