onAdImpression()
不再被调用。 mAdview = findViewById(R.id.bannertest);
mAdview.setAdListener(new AdListener() {
@Override
public void onAdClosed() {
super.onAdClosed();
Log.w(TAG, "onAdClosed: ");
}
@Override
public void onAdFailedToLoad(int i) {
super.onAdFailedToLoad(i);
Log.w(TAG, "onAdFailedToLoad: ");
}
@Override
public void onAdLeftApplication() {
super.onAdLeftApplication();
Log.w(TAG, "onAdLeftApplication: ");
}
@Override
public void onAdOpened() {
super.onAdOpened();
Log.w(TAG, "onAdOpened: ");
}
@Override
public void onAdLoaded() {
super.onAdLoaded();
Log.w(TAG, "onAdLoaded: ");
}
@Override
public void onAdClicked() {
super.onAdClicked();
Log.w(TAG, "onAdClicked: ");
}
@Override
public void onAdImpression() {
super.onAdImpression();
Log.w(TAG, "onAdImpression: ");
}
});
mAdview.loadAd(new AdRequest.Builder().build());
有没有办法跟踪横幅广告的展示量?