GuidesAPI ReferenceRelease Notes
HomeLog InHome
Guides

BlazeGAMBannerAdsDelegate - Android GAM Next Gen

BlazeGAMBannerAdsDelegate lets your app handle banner ad events from BlazeGAM.

Override methods for logging, UI updates, or analytics. Same shape as the legacy BlazeGAMBannerAdsDelegate. Only the package changes: com.blaze.gam.nextgen.banner.

onGAMBannerAdsAdError

fun onGAMBannerAdsAdError(errorMsg: String, adData: BlazeGAMBannerAdsAdData)

Called when an ad operation fails. Also receives GMA Next-Gen initialization failures and timeouts, including an unset Ad Manager app ID. See Initialization.

Parameters:

  • errorMsg: The error that occurred.
  • adData: The data associated with the ad involved in the event.

onGAMBannerAdsAdEvent

fun onGAMBannerAdsAdEvent(eventType: BlazeGAMBannerHandlerEventType, adData: BlazeGAMBannerAdsAdData)

Called when an ad-related event occurs.

Parameters:

  • eventType: Event type from BlazeGAMBannerHandlerEventType. Shared with the legacy module.
  • adData: The data associated with the ad involved in the event.

Did this page help you?