Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.73 KB

File metadata and controls

32 lines (22 loc) · 1.73 KB

Home > @snowplow/node-tracker > AdClickEvent

AdClickEvent interface

An Ad Click Event Used to track an advertisement click

Signature:

interface AdClickEvent 

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
advertiserId? string (Optional) Identifier for the advertiser which the campaign belongs to
bannerId? string (Optional) Identifier for the ad banner being displayed
campaignId? string (Optional) Identifier for the advertiser which the campaign belongs to
clickId? string (Optional) Identifier for the particular click instance
cost? number (Optional) Advertisement cost
costModel? "cpa" | "cpc" | "cpm" (Optional) The cost model for the campaign
impressionId? string (Optional) Identifier for the particular impression instance
targetUrl string The destination URL of the advertisement
zoneId? string (Optional) Identifier for the zone where the ad banner is located