AdEventListener

open class AdEventListener

A listener for receiving notifications during the lifecycle of an ad such as banner or native or native simple ad.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onAdClicked()
Called when an ad is clicked.
Link copied to clipboard
open fun onAdImpression()
Called when an impression is recorded for an ad.
Link copied to clipboard
open fun onAdMetaChanged(params: Map<String, String>)
(Only banner ad) Called when the meta data of the banner ad changes.
Link copied to clipboard
open fun onAdMuted()
Called when an ad is muted.
Link copied to clipboard
(Only banner ad) Called when the banner ad is changed in size.
Link copied to clipboard
open fun onError(error: GfpError, responseInfo: GfpResponseInfo)
Called when an error happened while the banner ad is attempting to load or rendering an ad.
Link copied to clipboard
(Only for richmedia ad) Called when event fired on expandable ad.