Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Marketing Cloud Next
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Formatting Marketing Consent Import Files

          Formatting Marketing Consent Import Files

          Before you import consent data into Marketing Cloud Next, make sure that your import file is saved as a CSV and that the columns and values are formatted correctly.

          Required Editions

          Available in: Salesforce Enterprise and Unlimited Editions with Marketing Cloud Next Growth or Advanced Edition, and in Starter and Pro Suite Editions. Your edition determines the options that you have.

          Formatting the Date of Consent

          When you import consent data, the system maps the data in your import file to the correct DMOs and converts timestamps based on time zone. To ensure that the system maps the date that you captured consent correctly, you must format each date entry as one of these supported DateTime datatypes, including the use of capital or lowercase letters.

          This table breaks down the format for DateTime datatypes.

          Letter Code Date or Time Component Example
          yyyy-MM-dd Date in year-month-day format 2023-05-01
          HH:mm:ss:SSS Timestamp in hour-minute-second-millisecond and format based on a 24-hour clock 14:30:00:000
          Z Represents the UTC timezone Z OR blank OR +0000
          Important
          Important

          When you use an import to update a record, you can’t change the consent date to a value that occurs before the consent date for the existing record. If the consent date in the update occurs before the consent date for the existing record, the updated date is ignored.

          Email File Guidelines

          When you format a CSV file to import email consent data, keep these guidelines in mind.

          • The file must include a column for email addresses and a separate column for recording the date of consent.
          • Each email must be a valid and complete email address. For example, lyn@ursasolar.com.
          • Email addresses can’t include special characters.

          SMS and WhatsApp File Guidelines

          When formatting a CSV to import consent data for SMS or WhatsApp messages, keep these guidelines in mind.

          • The file must include a column for phone numbers and a separate column for recording the date of consent.
          • For each entry, you must include a country code and the complete phone number. Phone numbers are validated based on ITU E.164 standards. For example, an E.164-formatted United States or Canadian phone number looks like this: +12065550123.
          • Spaces, dashes, underscores, and parentheses are automatically removed from phone numbers.
          • Phone numbers can only include numerals.
           
          Loading
          Salesforce Help | Article