Fire Impression Trackers
This function accepts one parameter which is a native ad object. The function fires impression trackers and JavaScript trackers if they exist on the given native ad object. This could be used in the callback that handles native ad responses.
fireImpressionTrackers(adObj)
The parameters listed below can be sent as arguments in the function.
Parameter | Type | Description |
---|---|---|
adObj |
object | The native ad object. (See Ad Object API.) |
Example
apntag.onEvent('adLoaded', function(data) {
apntag.fireImpressionTrackers(data);
});