【问题标题】:Admob keeps telling me my App does not meet guideline requirementsAdmob 一直告诉我我的应用程序不符合指南要求
【发布时间】:2019-07-31 20:06:29
【问题描述】:

我想在我的第一个 Android 应用中加入一些广告,但 Admob 停用了它们。原因:“站点行为:导航。”我尝试了几件事来解决它,但它仍然不符合 Admob 的要求,我不知道为什么。阅读指南没有帮助,我不知道我的应用程序中的用户导航到底有什么问题。也许我的应用程序不适用于广告,因为它是用于具有动态内容的游戏的工具。我很高兴您知道问题的原因可能是什么。

你在这里找不到我的应用程序:https://play.google.com/store/apps/details?id=com.moriruec.ow_companion&hl=de

在 2 个活动的底部有 2 个横幅广告。

我已经重新定位了浮动操作按钮,以便横幅和按钮之间有更多空间

如果游戏未安装,您将被重定向到应用程序的 Play 商店页面,在以前的版本中,当您点击“进入游戏”时没有任何反应

<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   xmlns:tools="http://schemas.android.com/tools"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   tools:context=".MainActivity">

   <androidx.recyclerview.widget.RecyclerView
       android:id="@+id/recycler_view"
       android:layout_width="match_parent"
       android:layout_height="match_parent"
       android:layout_marginBottom="52dp"
       tools:listitem="@layout/datasetitem" />


   <com.google.android.material.floatingactionbutton.FloatingActionButton
       android:id="@+id/button_compare"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_gravity="bottom|end"
       android:layout_marginEnd="22dp"
       android:layout_marginBottom="148dp"
       android:src="@drawable/ic_compare_arrows_black_24dp"
       android:visibility="invisible"
       app:backgroundTint="@color/red" />

   <com.google.android.material.floatingactionbutton.FloatingActionButton
       android:id="@+id/button_add_dataset"
       android:layout_width="wrap_content"
       android:layout_height="wrap_content"
       android:layout_gravity="bottom|end"
       android:layout_marginBottom="78dp"
       android:layout_marginEnd="22dp"
       android:src="@drawable/ic_add_black_24dp"
       app:backgroundTint="@color/red" />


   <RelativeLayout
       android:layout_width="match_parent"
       android:layout_height="match_parent">

             <com.google.android.gms.ads.AdView xmlns:ads="http://schemas.android.com/apk/res-auto"
                 android:id="@+id/adView"
                 android:layout_width="wrap_content"
                 android:layout_height="wrap_content"
                 android:layout_alignParentBottom="true"
                 android:layout_centerHorizontal="true"
                 ads:adSize="BANNER"
                 ads:adUnitId="ca-app-pub-7240053507946831/3541202378"></com.google.android.gms.ads.AdView>


       <!--  ads:adUnitId="ca-app-pub-3940256099942544/6300978111"></com.google.android.gms.ads.AdView>  -->



  </RelativeLayout>


</androidx.coordinatorlayout.widget.CoordinatorLayout>

【问题讨论】:

    标签: android navigation admob ads usability


    【解决方案1】:

    您可以尝试在 recyclerview 项目中添加横幅广告。你可以check这个。

    【讨论】:

    • 感谢您的回答!我使用我正在使用的布局 xml 编辑了我的帖子。但是广告展示了两个星期,一切都很好。但是 Admob 认为我的应用程序不符合要求,这就是为什么您目前在我的应用程序中看不到横幅。有些东西一定违反了指导方针,但我不知道它是什么
    【解决方案2】:

    我认为您必须删除具有 adview 的相对位置。因为 with 和 height 也设置为 match-parent,占据了整个屏幕。

    否则,您必须确保横幅广告不会显示在列表视图上方。因为它违反了admob政策。

    不允许在您的应用内容上方展示广告。

    【讨论】:

      【解决方案3】:

      使用相对布局并将recyclerview放在adview之上。有时 adview 覆盖了应用程序的内容,用户无法与所有内容进行交互。确保横幅广告下方有注释。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2016-01-29
        • 1970-01-01
        • 2017-01-16
        • 2015-08-08
        • 1970-01-01
        • 1970-01-01
        • 2013-03-20
        • 1970-01-01
        相关资源
        最近更新 更多