You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Overview of integration options for organizations that collect user data and push it to other participants.
5
5
hide_table_of_contents: false
6
6
sidebar_position: 07
@@ -36,17 +36,17 @@ At a high level, the steps for advertisers and data providers integrating with U
36
36
37
37
1. Generate a raw UID2 from <Linkhref="../ref-info/glossary-uid#gl-dii">directly identifying information (DII)</Link>, or receive UID2s from another UID2 participant such as a data provider acting on your behalf.
38
38
39
-
2. Use the UID2s you received in Step 1. For example, you might do one or more of the following:
39
+
2. Store the raw UID2 and the salt bucket ID returned from the identity mapping service.
40
+
41
+
3. Use the UID2s you received in Step 1. For example, you might do one or more of the following:
40
42
- Do some manipulation: for example, combine UID2s you generated from DII and UID2s received from another participant such as an advertiser or data provider.
41
43
- Add new UID2s into an existing audience.
42
44
43
-
3. Use the raw UID2s for some purpose such as:
45
+
4. Use the raw UID2s for some purpose such as:
44
46
45
47
- Send stored raw UID2s to DSPs to create audiences and conversions.
46
48
- Use the raw UID2s for measurement.
47
49
48
-
4. Store the raw UID2 and the salt bucket ID returned from the identity mapping service.
49
-
50
50
5. Monitor for salt bucket rotations related to your stored raw UID2s.
51
51
52
52
6. Periodically, monitor for opt-out status, to be sure that you don't continue using UID2s for users that have recently opted out. For details, see [Monitor for Opt-Out Status](#monitor-for-opt-out-status).
@@ -57,10 +57,12 @@ The following table shows the implementation options that are available for adve
57
57
58
58
| High-Level Step | Implementation Options |
59
59
| --- | --- |
60
-
| 1. Generate raw UID2s, store raw UID2s and salt bucket IDs | To generate raw UID2s, use any of the following options:<ul><li>Python SDK: see <Linkhref="../sdks/sdk-ref-python">SDK for Python Reference Guide</Link></li><li>Raw HTTP endpoint: <Linkhref="../endpoints/post-identity-map">POST /identity/map</Link></li><li>Snowflake: see <Linkhref="snowflake_integration">Snowflake Integration Guide</Link>, section titled <Linkhref="snowflake_integration#map-dii">Map DII</Link></li><li>AWS Entity Resolution: see <Linkhref="integration-aws-entity-resolution">AWS Entity Resolution Integration Guide</Link></li></ul>How you store the raw UID2s and their associated salt bucket IDs is your choice. |
61
-
| 2. Manipulate or combine raw UID2s, then send to DSPs | Custom (your choice) |
62
-
| 3. Monitor for salt bucket rotation | Any of the following options:<ul><li>Python SDK: see <Linkhref="../sdks/sdk-ref-python">SDK for Python Reference Guide</Link></li><li>Raw HTTP endpoint: <Linkhref="../endpoints/post-identity-buckets">POST /identity/buckets</Link></li><li>Snowflake: see <Linkhref="snowflake_integration">Snowflake Integration Guide</Link>, section titled <Linkhref="snowflake_integration#monitor-for-salt-bucket-rotation-and-regenerate-raw-uid2s">Monitor for Salt Bucket Rotation and Regenerate Raw UID2s</Link></li></ul> |
63
-
| 4. Monitor for opt-out status | API call to the [POST /optout/status](../endpoints/post-optout-status.md) endpoint: see [Monitor for Opt-Out Status](#monitor-for-opt-out-status)|
60
+
| 1. Generate raw UID2s | To generate raw UID2s, use any of the following options:<ul><li>Python SDK: see <Linkhref="../sdks/sdk-ref-python">SDK for Python Reference Guide</Link></li><li>Snowflake: see <Linkhref="snowflake_integration">Snowflake Integration Guide</Link>, section titled <Linkhref="snowflake_integration#map-dii">Map DII</Link></li><li>AWS Entity Resolution: see <Linkhref="integration-aws-entity-resolution">AWS Entity Resolution Integration Guide</Link></li><li>Raw HTTP endpoint: <Linkhref="../endpoints/post-identity-map">POST /identity/map</Link></li></ul>How you store the raw UID2s and their associated salt bucket IDs is your choice. |
61
+
| 2. Store raw UID2s and salt bucket IDs | Custom (your choice) |
62
+
| 3. Manipulate or combine raw UID2s | Custom (your choice) |
63
+
| 4. Send raw UID2s to DSPs or use them for measurement | Custom (your choice) |
64
+
| 5. Monitor for salt bucket rotation | Any of the following options:<ul><li>Python SDK: see <Linkhref="../sdks/sdk-ref-python">SDK for Python Reference Guide</Link></li><li>Snowflake: see <Linkhref="snowflake_integration">Snowflake Integration Guide</Link>, section titled <Linkhref="snowflake_integration#monitor-for-salt-bucket-rotation-and-regenerate-raw-uid2s">Monitor for Salt Bucket Rotation and Regenerate Raw UID2s</Link></li><li>Raw HTTP endpoint: <Linkhref="../endpoints/post-identity-buckets">POST /identity/buckets</Link></li></ul> |
65
+
| 6. Monitor for opt-out status | API call to the [POST /optout/status](../endpoints/post-optout-status.md) endpoint: see [Monitor for Opt-Out Status](#monitor-for-opt-out-status)|
64
66
65
67
## Integration Diagram
66
68
@@ -81,14 +83,19 @@ Refer to the following sections for details about the different parts of the dia
81
83
82
84
### Generate a raw UID2 for DII
83
85
84
-
| Step | Endpoint | Description |
85
-
| --- | --- | --- |
86
-
| 1-a |[POST /identity/map](../endpoints/post-identity-map.md) request | Send a request containing DII to the identity mapping endpoint. |
87
-
| 1-b |[POST /identity/map](../endpoints/post-identity-map.md) response | The `advertising_id` (raw UID2) returned in the response can be used to target audiences on relevant DSPs.<br/>The response returns a user's raw UID2 and the corresponding `bucket_id` for the salt bucket. The salt assigned to the bucket rotates annually, which impacts the generated raw UID2. For details on how to check for salt bucket rotation, see [3: Monitor for salt bucket rotations](#monitor-for-salt-bucket-rotations-related-to-your-stored-raw-uid2s).<br/>For ease of maintenance, a recommended approach is to store a user's raw UID2 and `bucket_id` in a mapping table. For guidance on incremental updates, see [Use an incremental process to continuously update raw UID2s](#use-an-incremental-process-to-continuously-update-raw-uid2s). |
86
+
For instructions for generating a raw UID2 from DII, refer to one of the following:
87
+
88
+
- Python SDK: [Map DII to Raw UID2s](../sdks/sdk-ref-python.md#map-dii-to-raw-uid2s).
- HTTP endpoints: [Generate a raw UID2 for DII](integration-advertiser-dataprovider-endpoints.md#generate-a-raw-uid2-for-dii).
88
95
89
96
### Send stored raw UID2s to DSPs to create audiences or conversions
90
97
91
-
Send the `advertising_id` (raw UID2) returned in Step 1-b to a DSP while building your audiences. Each DSP has a unique integration process for building audiences; follow the integration guidance provided by the DSP for sending raw UID2s to build an audience.
98
+
Send the `advertising_id` (raw UID2) returned in Step 1 to a DSP while building your audiences. Each DSP has a unique integration process for building audiences; follow the integration guidance provided by the DSP for sending raw UID2s to build an audience.
92
99
93
100
### Monitor for salt bucket rotations related to your stored raw UID2s
94
101
@@ -100,12 +107,13 @@ Even though each salt bucket is updated approximately once per year, individual
100
107
To help ensure that your integration has the current raw UID2s, check salt bucket rotation for active users every day.
101
108
:::
102
109
103
-
| Step | Endpoint | Description |
104
-
| --- | --- | --- |
105
-
| 3-a |[POST /identity/buckets](../endpoints/post-identity-buckets.md)| Send a request to the bucket status endpoint for all salt buckets that have changed since a specific timestamp. |
106
-
| 3-b |[POST /identity/buckets](../endpoints/post-identity-buckets.md)| UID2 service: The bucket status endpoint returns a list of `bucket_id` and `last_updated` timestamps. |
107
-
| 3-c |[POST /identity/map](../endpoints/post-identity-map.md)| Compare the returned `bucket_id` to the salt buckets of raw UID2s that you've cached.<br/>If you find that the salt bucket was updated for one or more raw UID2s, re-send the DII to the identity mapping service for a new raw UID2. |
108
-
| 3-d |[POST /identity/map](../endpoints/post-identity-map.md)| Store the new values returned for `advertising_id` and `bucket_id`. |
110
+
For instructions for monitoring for salt bucket rotations, refer to one of the following:
111
+
112
+
- Python SDK: [Monitor Rotated Salt Buckets](../sdks/sdk-ref-python.md#monitor-rotated-salt-buckets).
113
+
114
+
- Snowflake: [Monitor for Salt Bucket Rotation and Regenerate Raw UID2s](snowflake_integration.md#monitor-for-salt-bucket-rotation-and-regenerate-raw-uid2s).
115
+
116
+
- HTTP endpoints: [Monitor for salt bucket rotations related to your stored raw UID2s](integration-advertiser-dataprovider-endpoints.md#monitor-for-salt-bucket-rotations-related-to-your-stored-raw-uid2s).
109
117
110
118
## Use an Incremental Process to Continuously Update Raw UID2s
111
119
@@ -114,7 +122,7 @@ To keep your UID2-based audience information accurate and up to date, follow the
114
122
1. The response from Step 1, [Retrieve a raw UID2 for DII](#generate-a-raw-uid2-for-dii), contains mapping information. Cache the following:
115
123
- The mapping between DII (`identifier`), raw UID2 (`advertising_id`), and salt bucket (`bucket_id`).
116
124
- The most recent `last_updated` timestamp.
117
-
2. Using the results from Step 3, [Monitor for salt bucket rotations related to your stored raw UID2s](#monitor-for-salt-bucket-rotations-related-to-your-stored-raw-uid2s):
125
+
2. Using the results from Step 5, [Monitor for salt bucket rotations related to your stored raw UID2s](#monitor-for-salt-bucket-rotations-related-to-your-stored-raw-uid2s):
118
126
1. Remap any raw UID2 for which the salt buckets have been rotated by retrieving new raw UID2 for those IDs, following Step 1, [Retrieve a raw UID2 for DII](#generate-a-raw-uid2-for-dii).
119
127
2. Use the refreshed UID2s to update audiences or conversions, following Step 2, [Send stored raw UID2s to DSPs to create audiences or conversions](#send-stored-raw-uid2s-to-dsps-to-create-audiences-or-conversions).
0 commit comments