AdMob的测试广告只显示在英语设备 [英] AdMob test ads shows only on English devices

查看:165
本文介绍了AdMob的测试广告只显示在英语设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在谷歌播放服务API 6.4.1插入横幅在我的应用程序,我有困难的时候,使其工作。

After I installed Google Play Services APIs 6.4.1 to insert banners in my app, i had hard times to make it work.

在我的测试设备(NEXUS-s安装JB 4.1.2,语言设置为意大利语)我看不到任何广告,有了这个logcat的:

On my test device (nexus-S mounting JB 4.1.2, language set to Italian) i don't see any ads, with this logcat:

01-27 13:22:55.518: I/Ads(3463): Use AdRequest.Builder.addTestDevice("2CF3523D47F0CFC8A7523B041D9BB325") to get test ads on this device.
01-27 13:22:55.522: I/Ads(3463): Starting ad request.
01-27 13:23:43.998: I/Ads(3463): No fill from ad server.
01-27 13:23:44.409: W/Ads(3463): Failed to load ad: 3

当我在JB运行4.2.1的Nexus 7的语言设置为英语(美国),它的工作,直到我改变语言(设置 - >语言和放大器,输入 - >语言)到意大利,然后我看不到广告了。

When i run it on a JB 4.2.1 Nexus 7 with language set to English(us) it works until i change language (Settings->Language&input->Language) to Italian, then i cannot see ads anymore.

它看起来像有没有广告对于非英语语言,但出现这种情况的测试和真实的广告。

It looks like there are no ads for non-english languages, but this happens for both test and real ads.

也试过用模拟器,运行GB 2.3.3和JB 4.3,既显示广告,如果语言设置为英文,双方停止显示广告,如果我改变语言。

Tried also with emulators, running GB 2.3.3 and JB 4.3, both display ads if language is set to English, both stop displaying ads if i change language.

这里的code I内使用的onCreate()

Here's the code i use inside onCreate()

adView = (AdView)(view.findViewById(R.id.adView));
adRequest = new AdRequest.Builder()
    .addTestDevice("TEST_DEVICE_ID")
    .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
    .addTestDevice("2CF3523D47F0CFC8A7523B041D9BB325") // nexus S
    .addTestDevice("9C75E9349CF38EF5EB2C6C6100E96A7E") // nexus 7
    .build();
adView.loadAd(adRequest);

我怎样才能让AdMob的工作还对非英语设备?

How can i make admob work also on non-english devices?

推荐答案

我会回答我自己,因为它开始工作,没有任何修改。

I'm gonna answering myself, because it started working without any modification.

广告已经显示几乎立即对英语的设备,同时,对于一些AdMob的相关的原因,看到意大利设备的广告,我不得不等待4(四!!)天!

Ads have been displayed almost instantly for english devices, while, for some AdMob related reasons, to see ads in italian devices i had to wait for 4 (FOUR!!) days!

那么,答案是:只等待

希望这有助于。

这篇关于AdMob的测试广告只显示在英语设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆