To activate data, you need the Manage Destinations, Activate Destinations, View Profiles, and View Segments access control permissions. Read the access control overview or contact your product administrator to obtain the required permissions.
This article explains the workflow required to activate audience data in Adobe Experience Platform batch profile-based destinations, such as cloud storage and email marketing destinations.
To activate data to destinations, you must have successfully connected to a destination. If you haven’t done so already, go to the destinations catalog, browse the supported destinations, and configure the destination that you want to use.
Go to Connections > Destinations, and select the Catalog tab.
Select Activate segments on the card corresponding to the destination where you want to activate your segments, as shown in the image below.
Select the destination connection that you want to use to activate your segments, then select Next.
Move to the next section to select your segments.
Use the check boxes to the left of the segment names to select the segments that you want to activate to the destination, then select Next.
Adobe Experience Platform exports data for email marketing and cloud storage destinations in the form of CSV files. In the Scheduling page, you can configure the schedule and the file names for each segment you are exporting. Configuring the schedule is mandatory, but configuring the file name is optional.
Adobe Experience Platform automatically splits the export files at 5 million records (rows) per file. Each row represents one profile.
Split file names are appended with a number that indicates the file is part of a larger export, as such: filename.csv
, filename_2.csv
, filename_3.csv
.
Select the Create schedule button corresponding to the segment that you want to send to your destination.
Select Export full files to trigger the export of a file containing a full snapshot of all profile qualifications for the selected segment.
Use the Frequency selector to select the export frequency:
Use the Time toggle to select whether the export should happen immediately after segment evaluation or on a scheduled basis, at a specified time. When selecting the Scheduled option, you can use the selector to choose the time of day, in UTC format, when the export should take place.
The After segment evaluation option described below is currently available only to select Beta customers.
Use the After segment evaluation option to have the activation job run immediately after the daily Platform batch segmentation job completes. This ensures that when the activation job runs, the most up-to-date profiles are exported to your destination.
Use the Scheduled option to have the activation job run at a fixed time. This ensures that Experience Platform profile data is exported at the same time each day, but the profiles you export may not be the most up-to-date, depending on whether the batch segmentation job has completed before the activation job kicks off.
Because of the way internal Experience Platform processes are configured, the first incremental or full file export may not contain all the backfill data.
To ensure a complete and most up-to-date backfill data export for both full and incremental files, Adobe recommends setting the first file export time after 12 PM GMT of the following day. This limitation will be addressed in future releases.
Use the Date selector to choose the day or interval when the export should take place. For daily exports, best practice is to set your start and end date to line up with the duration of your campaigns in your downstream platforms.
When selecting an export interval, the last day of the interval is not included in the exports. For example, if you select an interval of January 4 - 11, the last file export will take place on January 10th.
Select Create to save the schedule.
Select Export incremental files to trigger an export where the first file is a full snapshot of all profile qualifications for the selected segment, and subsequent files are incremental profile qualifications since the previous export.
The first exported incremental file includes all profiles that qualify for a segment, functioning as a backfill.
Use the Frequency selector to select the export frequency:
Use the Time selector to choose the time of day, in UTC format, when the export should take place.
Because of the way internal Experience Platform processes are configured, the first incremental or full file export may not contain all the backfill data.
To ensure a complete and most up-to-date backfill data export for both full and incremental files, Adobe recommends setting the first file export time after 12 PM GMT of the following day. This limitation will be addressed in future releases.
Use the Date selector to choose the interval when the export should take place. Best practice is to set your start and end date to line up with the duration of your campaigns in your downstream platforms.
The last day of the interval is not included in the exports. For example, if you select an interval of January 4 - 11, the last file export will take place on January 10th.
Select Create to save the schedule.
The default file names consist of destination name, segment ID, and a date and time indicator. For example, you can edit your exported file names to distinguish between different campaigns or to have the data export time appended to the files.
Select the pencil icon to open a modal window and edit the file names. File names are limited to 255 characters.
The image below shows how file names can be edited for Amazon S3 destinations but the process is identical for all batch destinations (for example SFTP or Azure Blob Storage).
In the file name editor, you can select different components to add to the file name.
The destination name and segment ID cannot be removed from file names. In addition to these, you can add the following:
MMDDYYYY_HHMMSS
format or a Unix 10-digit timestamp of the time when the files are generated. Choose one of these options if you would like your files to have a dynamic file name generated with each incremental export.Select Apply changes to confirm your selection.
If you don’t select the Date and Time component, the file names will be static and the new exported file will overwrite the previous file in your storage location with each export. When running a recurring import job from a storage location into an email marketing platform, this is the recommended option.
Once you have finished configuring all your segments, select Next to continue.
For profile-based destinations, you must select the profile attributes that you want to send to the target destination.
In the Select attributes page, select Add new field.
Select the arrow to the right of the Schema field entry.
In the Select field page, select the XDM attributes that you want to send to the destination, then choose Select.
To add more mappings, repeat steps one to three.
Adobe Experience Platform prefills your selection with four recommended, commonly used attributes from your schema: person.name.firstName
, person.name.lastName
, personalEmail.address
, segmentMembership.status
.
File exports will vary in the following ways, depending on whether segmentMembership.status
is selected:
segmentMembership.status
field is selected, exported files include Active members in the initial full snapshot and Active and Expired members in subsequent incremental exports.segmentMembership.status
field is not selected, exported files include only Active members in the initial full snapshot and in subsequent incremental exports.A mandatory attribute is a user-enabled checkbox which ensures all profile records contain the selected attribute. For example: all exported profiles contain an email address.
You can mark attributes as mandatory to ensure that Platform exports only the profiles that include the specific attribute. As a result, it can be used as an additional form of filtering. Marking an attribute as mandatory is not required.
Not selecting a mandatory attribute exports all qualified profiles regardless of their attributes.
It is recommended that one of the attributes is a unique identifier from your schema. For more information about mandatory attributes, see the identity section in the Email marketing destinations documentation.
A deduplication key is a user-defined primary key which determines the identity by which users want their profiles to be deduplicated.
Deduplication keys eliminate the possibility of having multiple records of the same profile in one export file.
There are three ways you can use deduplication keys in Platform:
You can export a single identity namespace to a destination, and the namespace is automatically set as deduplication key. Sending multiple namespaces to a destination is not supported.
You cannot use a combination of identity namespaces and profile attributes as deduplication keys.
This example illustrates how deduplication works, depending on the selected deduplication keys.
Let’s consider the following two profiles.
Profile A
{
"identityMap": {
"Email": [
{
"id": "johndoe_1@example.com"
},
{
"id": "johndoe_2@example.com"
}
]
},
"segmentMembership": {
"ups": {
"fa5c4622-6847-4199-8dd4-8b7c7c7ed1d6": {
"status": "existing",
"lastQualificationTime": "2021-03-10 10:03:08"
}
}
},
"person": {
"name": {
"lastName": "Doe",
"firstName": "John"
}
},
"personalEmail": {
"address": "johndoe@example.com"
}
}
Profile B
{
"identityMap": {
"Email": [
{
"id": "johndoe_1@example.com"
},
{
"id": "johndoe_2@example.com"
}
]
},
"segmentMembership": {
"ups": {
"fa5c4622-6847-4199-8dd4-8b7c7c7ed1d6": {
"status": "existing",
"lastQualificationTime": "2021-04-10 11:33:28"
}
}
},
"person": {
"name": {
"lastName": "D",
"firstName": "John"
}
},
"personalEmail": {
"address": "johndoe@example.com"
}
}
Using no deduplication, the export file would contain the following entries.
personalEmail | firstName | lastName |
---|---|---|
johndoe@example.com | John | Doe |
johndoe@example.com | John | D |
Assuming deduplication by the Email namespace, the export file would contain the following entries. Profile B is the latest one that qualified for the segment, so it is the only one getting exported.
Email* | personalEmail | firstName | lastName |
---|---|---|---|
johndoe_1@example.com | johndoe@example.com | John | D |
johndoe_2@example.com | johndoe@example.com | John | D |
Assuming deduplication by the personal Email
attribute, the export file would contain the following entry. Profile B is the latest one that qualified for the segment, so it is the only one getting exported.
personalEmail* | firstName | lastName |
---|---|---|
johndoe@example.com | John | D |
Assuming deduplication by the composite key personalEmail + lastName
, the export file would contain the following entries.
personalEmail* | lastName* | firstName |
---|---|---|
johndoe@example.com | D | John |
johndoe@example.com | Doe | John |
Adobe recommends selecting an identity namespace such as a CRM ID or email address as a deduplication key, to ensure all profile records are uniquely identified.
If any data usage labels have been applied to certain fields within a dataset (rather than the entire dataset), enforcement of those field-level labels on activation occurs under the following conditions:
For example, if the field person.name.firstName
has certain data usage labels that conflict with the destination’s marketing action, you would be shown a data usage policy violation in the review step. For more information, see Data Governance in Adobe Experience Platform.
On the Review page, you can see a summary of your selection. Select Cancel to break up the flow, Back to modify your settings, or Finish to confirm your selection and start sending data to the destination.
In this step, Adobe Experience Platform checks for data usage policy violations. Shown below is an example where a policy is violated. You cannot complete the segment activation workflow until you have resolved the violation. For information on how to resolve policy violations, see Policy enforcement in the data governance documentation section.
If no policy violations have been detected, select Finish to confirm your selection and start sending data to the destination.
For email marketing destinations and cloud storage destinations, Adobe Experience Platform creates a .csv
file in the storage location that you provided. Expect a new file to be created in your storage location every day. The default file format is:
<destinationName>_segment<segmentID>_<timestamp-yyyymmddhhmmss>.csv
The files you would receive on three consecutive days could look like this:
Salesforce_Marketing_Cloud_segment12341e18-abcd-49c2-836d-123c88e76c39_20200408061804.csv
Salesforce_Marketing_Cloud_segment12341e18-abcd-49c2-836d-123c88e76c39_20200409052200.csv
Salesforce_Marketing_Cloud_segment12341e18-abcd-49c2-836d-123c88e76c39_20200410061130.csv
The presence of these files in your storage location is confirmation of successful activation. To understand how the exported files are structured, you can download a sample .csv file. This sample file includes the profile attributes person.firstname
, person.lastname
, person.gender
, person.birthyear
, and personalEmail.address
.