tpBanner.setAdListener(new BannerAdListener() {
@Override // Callback when the first ad source is loaded successfully;A load will only be called back once
public void onAdLoaded(TPAdInfo tpAdInfo) {}
@Override // Banner ad clicked
public void onAdClicked(TPAdInfo tpAdInfo) {}
@Override // Banner ad appears on the screen
public void onAdImpression(TPAdInfo tpAdInfo) {}
@Override // Banner ad failed to load
public void onAdLoadFailed(TPAdError error) {}
@Override // Banner ad closed
public void onAdClosed(TPAdInfo tpAdInfo) {}
});