【发布时间】:2016-08-24 14:27:56
【问题描述】:
我收到了这条消息,但我不明白我的应用出了什么问题, 可以帮忙吗?
出于礼貌,我们提醒您您的应用目前在 违反 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>
【问题讨论】: