Google admob无法显示

时间:2015-10-02 09:01:05

标签: android admob

Google admob未显示。 我使用的是Android工作室。我首先尝试android studio内置的广告活动功能 - 横幅广告和插页式广告(新项目>新AdActivity),但它不会向我展示广告。

之后我尝试了许多来自互联网的广告项目示例下载并试用,但没有人可以向我展示广告。

我不知道为什么?

logcat的:

10-02 13:29:45.082 30269-30413/com.example.materialwallpaper W/art: Long monitor contention event with owner method=void java.lang.Object.wait!(long, int) from Object.java:4294967294 waiters=0 for 1.940s
10-02 13:29:46.962 30269-30447/com.example.materialwallpaper I/Ads: No fill from ad server.
10-02 13:29:46.963 30269-30269/com.example.materialwallpaper I/Ads: Scheduling ad refresh 60000 milliseconds from now.
10-02 13:29:46.964 30269-30269/com.example.materialwallpaper W/Ads: Failed to load ad: 3
10-02 13:30:47.029 30269-30269/com.example.materialwallpaper I/Ads: Starting ad request.
10-02 13:30:47.030 30269-30269/com.example.materialwallpaper I/Ads: Use AdRequest.Builder.addTestDevice("B3EEABB8EE11C2BE770B684D95219ECB") to get test ads on this device.
10-02 13:30:47.030 30269-30269/com.example.materialwallpaper I/Ads: Please set theme of AdActivity to @android:style/Theme.Translucent to enable transparent background interstitial ad.
10-02 13:30:47.766 30269-31344/com.example.materialwallpaper I/Ads: No fill from ad server.
10-02 13:30:47.767 30269-30269/com.example.materialwallpaper I/Ads: Scheduling ad refresh 60000 milliseconds from now.
10-02 13:30:47.767 30269-30269/com.example.materialwallpaper W/Ads: Failed to load ad: 3

1 个答案:

答案 0 :(得分:0)

这个错误是图,兄弟。请尝试以下方法:

  1. 如果您的应用支持专为家庭设计。

    Bundle extras = new Bundle(); extras.putBoolean(“is_designed_for_families”,true);

    AdRequest request = new AdRequest.Builder()         .addNetworkExtrasBundle(AdMobAdapter.class,extras)         .build();

  2. 更改应用包名称或/和addid(可能是您被禁止)

  3. 更改与Internet的和/或IP连接

  4. 等一下。 (如果你最近发了id)

  5. request.setTesting(真);

  6. 这些问题可以诚实地写出to the support admob