2017-06-15 42 views
0

我在使用AdMob获利的Google Play上有两个应用程序。一个是https://play.google.com/store/apps/details?id=karnagh.ammsoft.karnagh,另一个是https://play.google.com/store/apps/details?id=componentspinout.ammsoft.componentspinout我可以在代码或布局中做些什么来改进AdMob RPM?

这两个应用程序的展示次数都相似(每天大约5000次)。但是Kmap Solver(第一个链接)以大约0.1 RPM的速度执行。组件引脚(第二个链接)的RPM为0.35到0.5美元,通常更有利可图。

我张贴我的两个布局和代码作为参考:

KMAP APP布局:

<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> 

COMPONENT引脚配置APP:

<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 of Activity:

AdView mAdView = (AdView) findViewById(R.id.adView); 
AdRequest adRequest = new AdRequest.Builder().build(); 
mAdView.loadAd(adRequest); 

我的问题是:我的布局或代码中是否有任何改进布局中APP RPM的内容。两个应用程序都在具有SMART_BANNER设置的布局的底部具有AdView。

这是真的,我需要设置位置权限,以便AdView对象可以选择更好的本地AD?

回答

相关问题