Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 792 Bytes

File metadata and controls

26 lines (15 loc) · 792 Bytes

Home > @snowplow/node-tracker > buildAdImpression

buildAdImpression() function

Build a Ad Impression Event Used to track an advertisement impression

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

Signature:

declare function buildAdImpression(event: AdImpressionEvent): PayloadBuilder;

Parameters

Parameter Type Description
event AdImpressionEvent Contains the properties for the Ad Impression event PayloadBuilder to be sent to

Returns:

PayloadBuilder