When using Data Loader to import Campaign Members, the Contacts or Leads that needs to be added to a specific campaign should already exist in Salesforce prior to the import. A User should choose the Campaign Member (CampaignMember) table on Data Loader and use the Insert function. To select this object, select Show all Salesforce objects.
Make sure that the following fields are included on the .csv file:
You can get the CampaignID and the ContactID or LeadID by running a report in Salesforce and adding the ID of the record as a report column.
If you cannot see the Campaign Member object when choosing the Insert option, make sure that you have selected the checkbox for Show all Salesforce objects and also ensure the running user has the Marketing User permission. For more information on how you can process the IDs and add it on your .csv file, review Add IDs of available records to your import file.
Below are the steps provided on how you can import Contacts and Leads as campaign members using Data Loader.
If Data Loader is not yet installed, please refer to installation instructions for your operating system:
Install Data Loader on Windows
Install Data Loader on macOS
If, however, there are columns left unmapped kindly do so by mapping the fields to columns by dragging the Salesforce fields beside the column name.
Please review CampaignMember for additional details.
Salesforce Support video:
How to Import Contacts or Leads as Campaign Members with Data Loader
000386155

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.