Admob违规消息Android应用程序

问题描述 投票:0回答:1

我收到了这条消息,但我不明白我的应用程序出了什么问题,请帮忙吗?

出于礼貌,我们提醒您,您的应用目前违反了AdMob计划政策。重要的是,这需要您采取措施以确保广告投放不会中断。请阅读以下内容,了解有关您需要采取的措施的更多信息:

发布商ID:

应用ID:

当前广告投放状态:有效

违规说明

发布商不得以任何方式更改AdMob广告的行为。这包括调整广告框架的大小以切断部分广告或隐藏广告的AdMob名称。

需要采取的措施:请立即对您的应用进行更改,以符合AdMob计划政策。

当前帐户状态:有效

有时广告会像this一样在应用上显示,然后它会自行更正。在我的代码中可能出现什么问题我该怎么纠正它?

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:tools="http://schemas.android.com/tools"
    xmlns:ads="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".Main" >
    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="@string/banner_ad_unit_id">
    </com.google.android.gms.ads.AdView> 

    <org.anddev.andengine.opengl.view.RenderSurfaceView
        android:id="@+id/xmllayoutexample_rendersurfaceview"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent" 
        android:layout_centerInParent="true"
        android:gravity="center" />
  </RelativeLayout>
android xml layout admob
1个回答
0
投票

我认为将android:layout_below="@+id/adView"添加到你的org.anddev.andengine.opengl.view.RenderSurfaceView就足够了

© www.soinside.com 2019 - 2024. All rights reserved.