Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Latest commit

 

History

History
30 lines (17 loc) · 807 Bytes

File metadata and controls

30 lines (17 loc) · 807 Bytes

Home > @snowplow/node-tracker > buildAdImpression

buildAdImpression() function

Build a Ad Impression Event Used to track an advertisement impression

Signature:

declare function buildAdImpression(event: AdImpressionEvent): PayloadBuilder;

Parameters

Parameter Type Description
event AdImpressionEvent Contains the properties for the Ad Impression event

Returns:

PayloadBuilder

PayloadBuilder to be sent to

Remarks

If you provide the cost field, you must also provide one of 'cpa', 'cpc', and 'cpm' for the costModel field.