Java AdMob测试广告未显示

Java AdMob测试广告未显示,java,android,admob,Java,Android,Admob,我使用以下代码: AdRequest adRequest = new AdRequest(); adRequest.setTesting(true); adRequest.addTestDevice(AdRequest.TEST_EMULATOR); adRequest.addTestDevice("the right id"); AdView adView = (AdView)convertView.findViewById(R.id.ad);

我使用以下代码:

    AdRequest adRequest = new AdRequest();
    adRequest.setTesting(true);
    adRequest.addTestDevice(AdRequest.TEST_EMULATOR);   
    adRequest.addTestDevice("the right id"); 
    AdView adView = (AdView)convertView.findViewById(R.id.ad);
    adView.loadAd(adRequest);
布局如下:

    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_weight="1"
        android:background="#fffff1c1"
        android:orientation="vertical"
        android:id="@+id/linlay" >

        <com.google.ads.AdView
        xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
        android:id="@+id/ad"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="97f0f2e68d7e4b3c"
        />  
     </LinearLayout>

但是这些广告没有显示出来

我得到这个logcat输出:

14 17:14:37.990: I/Ads(11984): adRequestUrlHtml: <html><head><script src="http://media.admob.com/sdk-core-v40.js"></script><script>AFMA_getSdkConstants();AFMA_buildAdURL({"preqs":0,"session_id":"120070455177917556","seq_num":"1","slotname":"97f0f2e68d7e4b3c","u_w":360,"msid":"de.svennergr.polizeinews","adtest":"on","js":"afma-sdk-a-v6.2.1","bas_off":0,"net":"wi","app_name":"1.android.de.svennergr.polizeinews","hl":"de","smart_w":"full","gnt":2,"carrier":"26207","u_audio":3,"u_sd":2,"mv":"8015016.com.android.vending","isu":"F612B07AE7E85F9D4246F70B5C850CC3","cipa":0,"format":"360x50_mb","oar":0,"smart_h":"auto","ad_pos":{"height":0,"visible":0,"y":0,"x":0,"width":0},"u_h":592,"testing":1,"bas_on":0,"ptime":0});</script></head><body></body></html>
11-14 17:14:37.998: W/Ads(11984): loadAd called while the ad is already loading, so aborting.
11-14 17:14:38.373: I/Ads(11984): Received ad url: <url: "http://googleads.g.doubleclick.net:80/mads/mediate?preqs=0&session_id=120070455177917556&seq_num=1&slotname=97f0f2e68d7e4b3c&u_w=360&msid=de.svennergr.polizeinews&adtest=on&js=afma-sdk-a-v6.2.1&bas_off=0&net=wi&app_name=1.android.de.svennergr.polizeinews&hl=de&smart_w=full&gnt=2&carrier=26207&u_audio=3&u_sd=2&mv=8015016.com.android.vending&isu=F612B07AE7E85F9D4246F70B5C850CC3&cipa=0&format=360x50_mb&oar=0&smart_h=auto&u_h=592&bas_on=0&ptime=0&u_so=p&output=html&region=mobile_app&u_tz=-60&client_sdk=1&ex=1&gsb=wi&caps=inlineVideo_interactiveVideo_mraid1_th_mediation_sdkAdmobApiForAds_di&jsv=40" type: "gwhirl" afmaNotifyDt: "null" useWebViewLoadUrl: "false">
11-14 17:14:38.373: I/Ads(11984): Request scenario: Online server request.
11-14 17:14:38.568: I/Ads(11984): Caching gWhirl configuration for: 300 seconds
11-14 17:14:38.568: D/webviewglue(11984): nativeDestroy view: 0x5c4c1c58
11-14 17:14:38.568: W/Ads(11984): Mediation server returned ad size: '320x50_mb', while the AdView was created with ad size: '360x50_mb'. Using the ad-size passed to the AdView on creation.
1417:14:37.990:I/Ads(11984):地址sturlhtml:AFMA_getSdkConstants();AFMA_buildAdURL({“preqs”:0,“session_id”:“120070455177917556”,“seq_num”:“1”,“slotname”:“97f0f2f2e68d7e4b3c”,“u w”:360,“msid”:“de.svennergr.polizeinews”,“adtest”:“on”,“js”:“AFMA-sdk-a-v6.2.1”,“bas off”:0,“net”:“wi”,“app_name”:“1.android.de.svennergr.polizeinews”,“hl”:“de”,“smart_w”:“full”,“2”,“sd”;“gnu”:262”:“mv”:“262”:”“8015016.com.android.vending”,“智能开关单元”:“F612B07AE7E85F9D4246F70B5C850CC3”,“cipa”:0,“格式”:“360x50_mb”,“oar”:0,“智能h”:“自动”,“广告位置”:{“高度”:0,“可见”:0,“y”:0,“x”:0,“宽度”:0},“u_h”:592,“测试”:1,“基础”:0,“ptime”:0});
11-14 17:14:37.998:W/Ads(11984):在ad已加载时调用了loadAd,因此正在中止。
11-1417:14:38.373:I/Ads(11984):收到的广告url:
11-1417:14:38.373:I/Ads(11984):请求场景:在线服务器请求。
11-14 17:14:38.568:I/Ads(11984):缓存gWhirl配置:300秒
11-14 17:14:38.568:D/webviewglue(11984):nativeDestroy视图:0x5C41C58
11-14 17:14:38.568:W/Ads(11984):中介服务器返回广告大小:“320x50_mb”,而创建广告视图时广告大小为:“360x50_mb”。创建时使用传递给广告视图的广告大小。

我刚用错了发布者ID