Create a destination account and distribute a custom segment

Gather the required information:

  1. Get the list of destination accounts.
  2. Based on the destination account ID, get its integrations.
  3. Based on the integration ID, get the integration's required properties.

Create the integration connection

Use the destination account ID and the integration ID to create an integration connection.

📘

  • You must use the properties from the Get Integrations call or the destination account will not work.
  • Do not exclude any of the device types originally listed.

Create a distribution manager

Use the create a distribution manager call to map the integration connection to its distribution manager.

Add segments to the distribution manager

Use the add segments to a distribution manager call to add the IDs for the segments you want to distribute.

📘

Make sure that the segmentType matches the one in your integration connection.