BlazeGAMDelegate - Android
This interface is deprecated. Use BlazeGAMCustomNativeAdsDelegate instead.
BlazeGAMDelegate lets your app handle custom native ad events from BlazeGAM, and optionally return targeting properties.
Override methods for logging, UI updates, or analytics.
onGAMAdError
fun onGAMAdError(errMsg: String) {}Called when an ad operation fails.
Parameters:
- errMsg: The error that occurred.
onGAMAdEvent
fun onGAMAdEvent(eventType: BlazeGoogleCustomNativeAdsHandler.EventType, adData: BlazeCustomAdData) {}Called when an ad-related event occurs.
Parameters:
- eventType: Event type from BlazeGoogleCustomNativeAdsHandler.EventType.
- adData: Ad data for the event. See BlazeCustomAdData.
customGAMTargetingProperties
val customGAMTargetingProperties: Map<String, String>
get() = emptyMap()Called before an ad request. Return custom targeting properties to attach to the request.
Updated 11 days ago
Did this page help you?
