Hi ,
my sample code of trackAdImpression
snowplow(‘trackAdImpression:’ + rnd,
‘67965967893’, // impressionId
‘cpm’, // costModel - ‘cpa’, ‘cpc’, or ‘cpm’
5.5, // cost
‘http://www.example.com’, // targetUrl
‘23’, // bannerId
‘7’, // zoneId
‘201’, // advertiserId
‘12’ // campaignId
);
event is triggered but that event getting error in enrichment.
Error is: “failure”:{“timestamp”:“2021-06-04T10:19:26.298278Z”,“messages”:[{“schemaKey”:“iglu:com.snowplowanalytics.snowplow/ad_impression/jsonschema/1-0-0”,“error”:{“error”:“ValidationError”,“dataReports”:[{“message”:"$: should have a minimum of 1 properties",“path”:"$",“keyword”:“minProperties”,“targets”:[“1”]}]}}]}