[英]AdMob no show Android 2.3.6
I have two phones, one with 2.3.6 and other with 3.4.0. 我有两部手机,一部使用2.3.6,另一部使用3.4.0。 ¿Why a cant see admob at 2.3.6 ?
¿为什么无法在2.3.6看到admob? I have no problems with the other.
我没有其他问题。
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
ads:adUnitId="@string/banner_ad_unit_id"
ads:adSize="SMART_BANNER"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true"
android:layout_alignParentStart="true"
>
</com.google.android.gms.ads.AdView>
dependencies 依存关系
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:3.0.0'
defaultConfig defaultConfig
applicationId "NAME.NAME"
minSdkVersion 9
targetSdkVersion 23
versionCode 4
versionName "1.4"
dependencies 依存关系
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.google.firebase:firebase-ads:9.0.1'
compile 'com.google.firebase:firebase-core:9.0.2'
AND 和
apply plugin: 'com.google.gms.google-services'
Were is the problem?? 是问题所在吗?? Thanks
谢谢
There may not be any problem. 可能没有任何问题。 Have a look at your log.
查看您的日志。
It could just be that there is no ad available for one due to some filtering rule at the server end, perhaps based upon Android version or randomness. 由于服务器端的某些过滤规则(可能基于Android版本或随机性),可能没有广告可投放。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.