BannerAd.onLoad
Listen for the banner ad load success event. The banner ad loads automatically after creation; call BannerAd.show() once the load success notification arrives.
Parameters
function listener
Listener for the ad load success event.
Example Code
javascript
bannerAd.onLoad(() => {
console.log('banner ad loaded successfully');
});