Home > @snowplow/node-tracker > buildAdImpression
Build a Ad Impression Event Used to track an advertisement impression
Signature:
declare function buildAdImpression(event: AdImpressionEvent): PayloadBuilder;| Parameter | Type | Description |
|---|---|---|
| event | AdImpressionEvent | Contains the properties for the Ad Impression event |
Returns:
PayloadBuilder
PayloadBuilder to be sent to
If you provide the cost field, you must also provide one of 'cpa', 'cpc', and 'cpm' for the costModel field.