首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在我的代码或布局中,我能做些什么来改进AdMob RPM?

在我的代码或布局中,我能做些什么来改进AdMob RPM?
EN

Stack Overflow用户
提问于 2017-06-15 19:39:03
回答 1查看 357关注 0票数 0

我在Google上有两个使用AdMob货币化的应用程序。一个是https://play.google.com/store/apps/details?id=karnagh.ammsoft.karnagh,另一个是https://play.google.com/store/apps/details?id=componentspinout.ammsoft.componentspinout

这两种应用程序都有相似的印象(大约每天5000 )。但Kmap Solver (第一个链接)的表现较低,约为0.1美元RPM。组件松脂(第二个链接)有一个0.35到0.5美元的RPM,通常是更有利可图的。

我将我的布局和代码同时作为参考:

KMAP应用程序布局:

代码语言:javascript
运行
复制
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:ads="http://schemas.android.com/apk/res-auto"
        xmlns:tools="http://schemas.android.com/tools"
        android:layout_width="match_parent"

    android:layout_height="match_parent"
    android:orientation="vertical">

    <karnagh.ammsoft.karnagh.PageViewImage
        android:id="@+id/pageIndicator"
        android:layout_width="10dp"
        android:layout_height="10dp"
        android:layout_gravity="center_horizontal"
        android:layout_marginTop="10dp"
        android:adjustViewBounds="true" />

    <android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/pager"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="5dp"
        android:layout_weight="0.26"
        android:fadeScrollbars="true"
        tools:context=".MainActivity" />

    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="10dp"
        android:clipToPadding="false"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="@string/banner_ad_unit_id"></com.google.android.gms.ads.AdView>

</LinearLayout>

组件PINOUTS应用程序:

代码语言:javascript
运行
复制
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/activity_main"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:paddingBottom="5dp"
    android:paddingTop="5dp"
    tools:context="componentspinout.ammsoft.componentspinout.MainActivity">

    <ListView
        android:id="@+id/componentsView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/adView"
        android:paddingBottom="5dp"
        android:paddingLeft="10dp"
        android:paddingRight="10dp"
        android:paddingTop="5dp"
        android:visibility="visible" />

    <com.google.android.gms.ads.AdView
        android:id="@+id/adView"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        ads:adSize="SMART_BANNER"
        ads:adUnitId="@string/banner_ad_unit_id"></com.google.android.gms.ads.AdView>

</RelativeLayout>

启动广告的代码与活动的OnCreate相同:

代码语言:javascript
运行
复制
AdView mAdView = (AdView) findViewById(R.id.adView);
AdRequest adRequest = new AdRequest.Builder().build();
mAdView.loadAd(adRequest);

,我的问题是:我的布局或代码中是否有任何东西可以改进布局中的应用程序RPM。这两个应用程序的布局底部都有AdView和SMART_BANNER设置。

我确实需要设置位置权限,这样AdView对象才能选择更好的本地AD吗?

EN

回答 1

Stack Overflow用户

发布于 2017-06-15 20:55:38

admob的一般情况:

我只是显示一个间隙广告/会话=低数量的印象,高RPM。我还可以用ads =高印象、低RPM的方式发送垃圾邮件给用户。最后,您将获得相同的结果,但使用第一种方法的用户可能不会那么烦躁。

我想是因为

(出发地:http://forums.makingmoneywithandroid.com/advertising-networks/10955-tips-higher-admob-rpm.html)

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/44575645

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档