Send offline conversions to Snapchat

Snapchat is a social media platform that allows users to access pictures and messages for a short time. Snapchat provides a self-serve platform from which brands can manage ads and advertising campaigns.

Upload a CSV file that contains offline conversions and meets events file requirements to Snapchat.

Build a query

Use a query to return the fields that align to the events file requirements that are supported by Snapchat for use with offline conversions .

For example:

SELECT
  TO_HEX(SHA256(TO_UTF8(LOWER(TRIM(mc.email))))) AS email
  ,uit.order_datetime AS timestamp
  ,'purchase' AS event_type
  ,uit.item_quantity AS number_items
  ,uit.item_revenue AS price
  ,uit.order_id AS transaction_id
  ,uit.item_quantity AS quantity
FROM Merged_Customers mc
INNER JOIN Unified_Itemizzed_Transactions uit
ON mc.amperity_id = uit.amperity_id
WHERE mc.email IS NOT NULL

You can download the results of this query directly from the Query Editor in Amperity, and then upload the file directly to Snapchat. Or you can use an orchestration to send the CSV file to cloud storage or an SFTP bucket.