Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/208.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 千禧一代的广告只显示一个巨大的白色矩形_Android_Eclipse_Ads_Millennial Media - Fatal编程技术网

Android 千禧一代的广告只显示一个巨大的白色矩形

Android 千禧一代的广告只显示一个巨大的白色矩形,android,eclipse,ads,millennial-media,Android,Eclipse,Ads,Millennial Media,我正在尝试在我的应用程序上实现千年媒体广告。我已经通过XML进行了设置,但当我运行应用程序时,它只显示一个占据一半屏幕的白色矩形 在我的日志中,我也得到了一个 Millennial ad return failed. Zero content lenght returned. 我的XML如下所示: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://m

我正在尝试在我的应用程序上实现千年媒体广告。我已经通过XML进行了设置,但当我运行应用程序时,它只显示一个占据一半屏幕的白色矩形

在我的日志中,我也得到了一个

Millennial ad return failed. Zero content lenght returned.
我的XML如下所示:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://millennialmedia.com/android/schema"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:id="@+id/mainLay">

    <com.millennialmedia.android.MMAdView
        android:id="@+id/mmadview"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        app:apid="APID"
        app:adType="MMBannerAdTop"
        app:refreshInterval="30"
        app:accelerate="true"
        app:ignoreDensityScaling="false"
    />

    <ListView
        android:id="@+id/list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content" >
    </ListView>
</LinearLayout>

我是千禧媒体的杰森。这应该通过正确调整广告单元的大小来解决。看一看

您将看到XML包括:

app:height="60"
app:width="480"
这将限制广告,使其不会占据屏幕,并导致SDK要求我们的服务器提供适当大小的广告,这可以解决您的无响应问题


如果您仍然没有看到我们满足您的广告请求,或者如果您对SDK有任何其他问题,请毫不犹豫地在
https://support.mmedia.com/

千禧媒体XML的示例文件中没有一个包含这样的条目。请详细说明这个问题