我想确定我的应用程序产生的收入中有哪一部分是以插页式广告的形式出现的,还是以普通广告 View 的形式出现的。
我的 list 文件中有以下两行代码,其中 x 是我的发布者 ID(它们完全相同):
<meta-data android:value="xxxxxxxxxxxxxxx" android:name="ADMOB_PUBLISHER_ID" />
<meta-data android:value="xxxxxxxxxxxxxxx" android:name="ADMOB_INTERSTITIAL_PUBLISHER_ID" />
首先,我是通过 list 文件正确设置它以生成我想要的数据,还是我需要做一些不同的事情?
其次,我如何找出哪种广告类型效果更好?
谢谢。
最佳答案
文档似乎表明您需要设置一个单独的 pubid,以便可以区别对待它们...
The richer, more heavyweight nature of InterstitialAd is reflected by its definition not as a View but rather an Object requiring more distinct instantiation, load and display steps.
Usage is nevertheless very similar to AdView:
Import com.google.ads.* Declare the instance Create it, specifying an AdMob Publisher ID distinct from any used for banners
http://code.google.com/mobile/ads/docs/android/advanced.html
关于android - 如何在 Android 中正确设置 admob 以区分广告收入,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4221383/