Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.79 KB

File metadata and controls

32 lines (22 loc) · 1.79 KB

Home > @snowplow/node-tracker > AdConversionEvent

AdConversionEvent interface

An Ad Conversion Event Used to track an advertisement click

Signature:

interface AdConversionEvent 

Remarks

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

Properties

Property Type Description
action? string (Optional) The type of user interaction e.g. 'purchase'
advertiserId? string (Optional) Identifier for the advertiser which the campaign belongs to
campaignId? string (Optional) Identifier for the advertiser which the campaign belongs to
category? string (Optional) Conversion category
conversionId? string (Optional) Identifier for the particular conversion instance
cost? number (Optional) Advertisement cost
costModel? "cpa" | "cpc" | "cpm" (Optional) The cost model for the campaign
initialValue? number (Optional) How much the conversion is initially worth
property? string (Optional) Describes the object of the conversion