performCustomTrackingEvent

abstract suspend fun performCustomTrackingEvent(name: String, url: String)

Processes custom renderer events.

When using custom renderers, you can send your own custom tracking events. An example would be a click on an element inside an ad, or the progress of a viewing the ad. In this case, the SDK will make a request to the URL you specify, and if the request is successful, then the app will receive notification about such event via AdEventListener and AdEventType.CustomTrackingEvent.

Parameters

name

The name of the custom tracking event.

url

The URL where the SDK will make the request.