trackClick

fun trackClick(auctionId: String, loadId: String, adType: String, adEventTrackers: Map<TrackingEvent, List<ServerEventTracker>>)

Tracks a click event.

This function dispatches a click event to the appropriate trackers, sending the data to the server. This includes both the ad-specific trackers provided in adEventTrackers and any globally configured trackers.

Parameters

auctionId

The auction ID associated with the impression, if available.

loadId

The load ID for the impression event.

adType

The type of ad that was displayed.

adEventTrackers

A map of event trackers specific to this ad. Global trackers are always processed, even if this map is empty.