gpt4 book ai didi

android - Admob 违规消息 Android 应用程序

转载 作者:行者123 更新时间:2023-11-30 01:22:15 25 4
gpt4 key购买 nike

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

As a courtesy, we are alerting you that your app is currently in violation of the AdMob program policies. Importantly, this will require action on your part to ensure no disruption in ad serving. Please read below for more information on the actions you need to take:

Publisher Id:

App Id:

Current ad serving status: Active

Violation explanation

Publishers are not permitted to alter the behavior of AdMob ads in any way. This includes resizing ad frames to cut off parts of ads or hiding the Ads by AdMob moniker.

Action required: Please make changes immediately to your app to comply with AdMob program policies.

Current account status: Active

有时广告会显示在应用程序中,例如 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:layout_below="@+id/adView" 添加到您的 org.anddev.andengine.opengl.view.RenderSurfaceView 中就足够了>/p>

关于android - Admob 违规消息 Android 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36938131/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com