trackAuctionWinner

fun trackAuctionWinner(bids: Bids, loadId: String, adType: String, adEventTrackers: Map<TrackingEvent, List<ServerEventTracker>>)

Tracks an auction winner event.

This function dispatches an auction winner event to the appropriate trackers, sending the winning bid data to the server. This includes both the ad-specific trackers provided in adEventTrackers and any globally configured trackers.

Parameters

bids

The bid information associated with the winning auction.

loadId

The load ID for the auction winner event.

adType

The type of ad that won the auction.

adEventTrackers

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