post Metrics Data
Post metrics data payload to the server on an ad lifecycle event basis.
This function sends tracking data related to ad lifecycle events to the server. It handles both global and ad-specific event trackers. Global trackers are always processed, even if adEventTrackers
is empty. This ensures that essential tracking data is sent, regardless of whether ad-specific trackers are present. Ad-specific trackers, if provided, are processed in addition to the global ones.
Parameters
The metrics data payload for a specific ad lifecycle event.
The load ID for the ad lifecycle event.
The start time, in milliseconds, of a load.
The amount of time, in milliseconds, that a load was being performed while the app was in the background.
The result of the ad lifecycle event.
A map of event trackers specific to this ad. This map may be empty, in which case only global event trackers will be processed.