Transferring data to Snapchat Audiences

This guide explains how to transfer data to Snapchat Audiences to store and further process information.

Concept

Snapchat Audiences is an Active Destination. After you set Snapchat Audiences as the Destination of a Datastream, data is transferred to Snapchat Audiences each time data is fetched for the Datastream. For more information, see Destination types.

You can assign multiple Destinations to a Datastream. For more information on possible limitations, see Assigning multiple Destinations to a Datastream.

Prerequisites

Before you complete the procedure in this guide, perform all of the following actions:

  • Create a Datastream whose data you want to transfer to Snapchat Audiences. For more information on creating a Datastream, see Introduction to collecting data.

  • Ensure the Data Extracts of the Datastream contain a field that can be used to identify users. This field must be one of the following:

    • Email

    • Phone number

    • Mobile advertising ID

    If you use phone number, ensure the values include the international dialing code.

    Adverity encrypts the identifier fields to ensure that your data is anonymized.

Procedure

To transfer data from a Datastream to Snapchat Audiences, follow these steps:

  1. Add Snapchat Audiences as a Destination to the Workspace which contains the Datastream or to one of its parent Workspaces.

  2. Assign the Snapchat Audiences Destination to the Datastream.

  3. Configure the Schema Mapping of your Datastream to conform with Snapchat Audiences Destination standards.

  4. Enable data transfer to the Destination from the Datastream.

  5. Configure transfer settings.

Adding Snapchat Audiences as a Destination

To add Snapchat Audiences as a Destination to a Workspace, follow these steps:

  1. Click the Transfer element and select the Workspace you work with in Connect, Enrich & Transfer.

  1. Click + Add.

  2. Click Snapchat Audiences.

  1. Click Setup a new Authorization.

  2. Click Next.

  1. Log in to your Snapchat Audiences account.

  1. In the Configuration page, fill in the following fields:

    Name

    (Optional) Rename the Destination.

    Ad Account

    Select the account where to transfer data.

  1. Click Create.

Assigning Snapchat Audiences as a Destination

To assign the Snapchat Audiences Destination to a Datastream, follow these steps:

  1. Click the Connect element and select the Workspace you work with in Connect, Enrich & Transfer.

  1. Select the chosen Datastream.

  1. In the Destinations section, click + Add Destination.

  2. Click Assign Existing Destinations.

  1. Select the Snapchat Audiences checkbox in the list.

  2. Click Save.

Configuring Schema Mapping for Snapchat Audiences Destination

All data that you transfer to Snapchat Audiences must conform with Snapchat Audiences standards.

To configure Schema Mapping for the Snapchat Audiences Destination, follow these steps:

  1. Click the Connect element and select the Workspace you work with in Connect, Enrich & Transfer.

  1. Select the chosen Datastream.

  1. In the top navigation panel, click Schema Mapping.

  1. In the Name column, find the field in the Data Extract used to identify users. This field must be one of the following:

    • Email

    • Phone number

    • Mobile advertising ID

  2. In the cell in the Target column and the user identifier's row, write one of the following and press Enter. If you cannot find any value, click the blue link to create the target field with type string.

    • If email is the user identifier, write email.

    • If phone number is the user identifier, write phone.

    • If mobile advertising ID is the user identifier, write mobile_ad_id.

    For more information on adding a new field to the Schema Mapping, see Adding a target field.

  3. Click Save Mapping.

Enabling data transfer to Snapchat Audiences Destination

To enable data transfer to the Snapchat Audiences Destination from the Datastream, follow these steps:

  1. Click the Connect element and select the Workspace you work with in Connect, Enrich & Transfer.

  1. Select the chosen Datastream.

  1. In the list in the Destinations section, find the Snapchat Audiences Destination, and enable the toggle.

  2. In the All tasks tab, find the top element, and click Requeue for Import on the right.

Configuring transfer settings

To configure transfer settings, follow these steps:

  1. Click the Connect element and select the Workspace you work with in Connect, Enrich & Transfer.

  1. Select the chosen Datastream.

  1. In the Destinations section, find the Snapchat Audiences Destination in the list, and click on the right.

  2. Click Destination Settings.

  1. Fill in the following fields:

    Identifier

    Select the column in the Data Extract used to identify users. This is the same column you used when you configured the Schema Mapping for the Datastream.

    List Mode

    Select one of the following:

    • Select Update Existing to add data from the Data Extract to an existing table.

    • Select Create New List to create a new table for each Data Extract.

    Custom Audience Name Template

    This field is available when you select Create New List in List Mode. Specify the target table in the Destination where to transfer data from the Datastream. The name can contain alphanumeric characters and underscores. For example, target_table. To specify a schema, use the syntax schemaName.tableName.

    By default, Adverity saves data from each Datastream in a different table named [{datastream_name}] Custom Audience (for example, [mailgun_83] Custom Audience).

    You can specify the same target table for several Datastreams. If a column is shared between Datastreams, Adverity performs a full outer join and concatenates values. If a column is not shared between Datastreams, Adverity writes null values in the relevant cells.

    Use placeholders to create unique, dynamic table names in the Destination. Use the following placeholders:

    Placeholder

    Description

    {datastream_id}

    The Datastream ID.

    {datastream_name}

    The Datastream name.

    {datastream_type}

    The Datastream Type.

    {filename}

    The automatically generated filename of the Data Extract.

    {scheduled_day}

    The day from the start date of a date range for a scheduled data fetch.

    {scheduled_month}

    The month from the start date of a date range for a scheduled data fetch.

    {scheduled_year}

    The year from the start date of a date range for a scheduled data fetch.

    Custom Audience

    This field is available when you select Update Existing in List Mode. Select the table in the Destination where to transfer data. You can only select tables created by Adverity. You cannot select tables created within Snapchat Audiences.

    Retention in days

    Specify the number of days for which to keep data in the Destination.

  2. Click Save.