当我尝试从admon
查看de insterstitial广告时出现以下错误> 12-29 13:04:08.331 12015-12015/org.lili14.imagenesparawhatsapp > I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 12-29 > 13:04:08.681 12015-12015/org.lili14.imagenesparawhatsapp I/Ads: > Starting ad request. 12-29 13:04:08.701 > 12015-12015/org.lili14.imagenesparawhatsapp I/Choreographer: Skipped > 44 frames! The application may be doing too much work on its main > thread. 12-29 13:04:19.081 12015-12034/org.lili14.imagenesparawhatsapp > W/Ads: There was a problem getting an ad response. ErrorCode: 0 12-29 > 13:04:19.081 12015-12015/org.lili14.imagenesparawhatsapp W/Ads: Failed > to load ad: 0
我添加了Google Play服务,这是广告的代码
public void showFullScreenAd() {
try {
interstitial
.setAdUnitId(ADMOB_INTERSTITIAL_AD_UNIT_ID);
// Check the logcat output for your hashed device ID to get test ads
// on
// a physical device.
com.google.android.gms.ads.AdRequest adRequest = new AdRequest.Builder()
.addTestDevice("98C0D5CB2DE5053D838806F85C1F9AE5")
.build();
// Load the interstitial ad.
interstitial.loadAd(adRequest);
interstitial
.setAdListener(new com.google.android.gms.ads.AdListener() {
@Override
public void onAdLoaded() {
interstitial.show();
}
});
} catch (Exception e) {
Log.d(LOG_TAG, "ERROR INSTERTITIAL");
e.printStackTrace();
}
}
我也添加了Google分析,但我在分析仪表板中看不到任何内容