Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 787 Bytes

File metadata and controls

26 lines (15 loc) · 787 Bytes

Home > @snowplow/node-tracker > buildAdConversion

buildAdConversion() function

Build a Ad Conversion Event Used to track an advertisement click

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

Signature:

declare function buildAdConversion(event: AdConversionEvent): PayloadBuilder;

Parameters

Parameter Type Description
event AdConversionEvent Contains the properties for the Ad Conversion event PayloadBuilder to be sent to

Returns:

PayloadBuilder