AdMob如何统计ListView中的展示次数

时间:2015-11-08 03:01:29

标签: android listview admob android-recyclerview

我有一个ListView,其中我为每个position % 5显示一个添加。例如,如果列表中有16个项目,那么我会展示4次广告。 AdMob的工作方式是您必须将xml中的广告单元声明为

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

我的问题是:如果用户滚动我的ListView的全长,AdMob会将其计为四次展示或一次展示,因为整个列表中会重复完全相同的ad_unit_banner吗?如果我将添加设置为每30秒更换一次,那么每60秒更新一次吗?

0 个答案:

没有答案