This is an optional testing step for apps passing Audience Studio 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 an Audience Studio 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:
- Go to your Audience Studio account's segment page under People – Manage Segments and pick a segment. Make a note of its Segment ID
- Ensure the segment is selected for Interchange mode O&O onsite by editing its segment details in the platform, and choosing Usage: “Interchange Enabled”.
- 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
_kuidparameter and load it into a browser. Use the Segment ID you selected and made a note of in step 1 for
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).
When the Audience Studio 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.
To remove the user from the segment without deleting the cookies, you need to use this call:
<PUBLISHER ID>&seg=<SEGMENT ID>&_kuid=<IDFA>