Adding a Salesforce DMP Segment to a Mobile Device

This is an optional testing step for apps passing Salesforce DMP segments to another SDK, like DFP.

Since your device will likely not be part of any live segments nor do you want to wait a day processing into one, you can manually add a Salesforce DMP segment ID to your device, which is your user.

Contact your Solutions Manager for your <PUBLISHER ID> used in the examples in the steps below:

  1. Go to your Salesforce DMP account's segment page under People – Manage Segments and pick a segment. Make a note of its Segment ID

  2. Ensure the segment is selected for Interchange mode O&O onsite by editing its segment details in the platform, and choosing Usage:  “Interchange Enabled”.



  3. Using the same “add user” service for web sites (http://cdn.krxd.net/userdata/add?pub=<PUBLISHER ID>&seg=<SEGMENT ID>), append your device's IDFA/ADID, which serves as the Krux user ID, to the _kuid parameter and load it into a browser. Use the Segment ID you selected and made a note of in step 1 for <SEGMENT ID>
http://cdn.krxd.net/userdata/add?pub=<PUBLISHER ID>&seg=<SEGMENT ID>;_kuid=<IDFA>

A 200 response is expected.

To verify segments have been added to your Krux ID, run the following in a browser (replacing the PUBLISHER ID and IDFA with your own).

http://cdn.krxd.net/userdata/get?pub=<PUBLISHER ID>;_kuid=<IDFA>

When the Salesforce DMP SDK loads, in the user data JSON response, that segment ID will be passed back to the app.

This may take up to 20 minutes for the service cache to be updated.

Have more questions? Submit a request

0 Comments

Article is closed for comments.