私はNativeExpressAdViewを使用しますが、私はこの警告内の広告を取得することはできません。NativeExpressAdViewは - 広告の読み込みに失敗しました:0
06-15 09:47:32.557 13810-14512/com.bangdev.wifichua W/Ads: There was a problem getting an ad response. ErrorCode: 0 06-15 09:47:32.557 13810-13810/com.bangdev.wifichua W/Ads: Failed to load ad: 0
これは私の広告レイアウトです:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:ads="http://schemas.android.com/apk/res-auto"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<com.google.android.gms.ads.NativeExpressAdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adSize="320x150"
ads:adUnitId="@string/unit_ads_id"/>
</LinearLayout>
ロード広告で私のコード:
final NativeExpressAdView adView = (NativeExpressAdView) view.findViewById(R.id.adView);
adView.loadAd(new AdRequest.Builder().build());
Googleプレイサービスバージョン:9.0.2 OS:5.0
誰でも問題を解決するのに役立ちますか?