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
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-buckets.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ Used by: This endpoint is used mainly by advertisers and data providers. For det
16
16
:::important
17
17
If you're using the latest version of `POST /v3/identity/map`, v3, you don't need to use `POST /identity/buckets` at all. You only need to use it if you're using the earlier version, `POST /v2/identity/map`.
18
18
19
-
If you're using the V2 version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration From V2 Identity Map](post-identity-map.md#migration-from-v2-identity-map).
19
+
If you're using the V2 version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration from V2 Identity Map](post-identity-map.md#migration-from-v2-identity-map).
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map-v2.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For details about the UID2 opt-out workflow and how users can opt out, see [User
20
20
This documentation is for version 2 of this endpoint, which is not the latest version. For the latest version, v3, see [POST /identity/map](post-identity-map.md).
21
21
22
22
:::note
23
-
If you're using the V2 version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration From V2 Identity Map](post-identity-map.md#migration-from-v2-identity-map).
23
+
If you're using the V2 version, we recommend that you upgrade as soon as possible, to take advantage of improvements. For migration guidance, see [Migration from V2 Identity Map](post-identity-map.md#migration-from-v2-identity-map).
24
24
:::
25
25
26
26
## Batch Size and Request Parallelization Requirements
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map.md
+43-19Lines changed: 43 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,30 +195,47 @@ The following table lists the `status` property values and their HTTP status cod
195
195
196
196
If the `status` value is anything other than `success`, the `message` field provides additional information about the issue.
197
197
198
-
## Migration From V2 Identity Map
198
+
## Migration from V2 Identity Map
199
+
200
+
The following sections provide general information and guidance for migrating to version 3 from earlier versions, including:
201
+
202
+
-[Migration Overview](#migration-overview)
203
+
-[Key Differences Between V2 and V3](#key-differences-between-v2-and-v3)
204
+
-[Required Changes](#required-changes)
205
+
-[Additional Resources](#additional-resources)
199
206
200
207
### Migration Overview
201
208
202
-
The V3 Identity Map API provides several improvements over V2:
209
+
The V3 Identity Map API provides the following improvements over V2:
203
210
204
-
-**Simplified Refresh Management**: Monitor for UID2s reaching `refresh_from` timestamps instead of polling <Linkhref="../ref-info/glossary-uid#gl-salt-bucket-id">salt buckets</Link> for rotation
205
-
-**Previous UID2 Access**: Access to previous raw UID2s for 90 days after rotation for campaign measurement
206
-
-**Single Endpoint**: Use only `/v3/identity/map` instead of both `/v2/identity/map` and `/v2/identity/buckets`
207
-
-**Multiple Identity Types In One Request**: Process emails and phone numbers in a single request
208
-
-**Improved Performance**: The V3 API uses significantly less bandwidth for the same amount of DII
211
+
-**Simplified Refresh Management**: You can monitor for UID2s reaching `refresh_from` timestamps instead of polling <Linkhref="../ref-info/glossary-uid#gl-salt-bucket-id">salt buckets</Link> for rotation.
212
+
-**Previous UID2 Access**: You have access to previous raw UID2s for 90 days after rotation for campaign measurement.
213
+
-**Single Endpoint**: You use only one endpoint, `/v3/identity/map`, instead of both `/v2/identity/map` and `/v2/identity/buckets`.
214
+
-**Multiple Identity Types in One Request**: You can process both emails and phone numbers in a single request.
215
+
-**Improved Performance**: The updated version uses significantly less bandwidth to process the same amount of DII.
209
216
210
217
### Key Differences Between V2 and V3
211
218
219
+
The following table shows key differences between the versions.
for index, item inenumerate(response['body']['email']):
@@ -257,8 +276,11 @@ for index, item in enumerate(response['body']['email']):
257
276
handle_unmapped(original_email, item['e'])
258
277
```
259
278
260
-
#### 3. **Replace Salt Bucket Monitoring with Refresh Timestamp Logic**
261
-
**V3 Approach (Refresh Timestamps)**:
279
+
#### 3. Replace Salt Bucket Monitoring with Refresh Timestamp Logic
280
+
281
+
Update your code for salt bucket monitoring, replacing it with code that checks the `refresh_from` timestamp to determine raw UID2s that are due for refresh.
282
+
283
+
The following example shows an implementation of the v3 approach for checking refresh timestamps:
262
284
263
285
```python
264
286
import time
@@ -274,8 +296,10 @@ remap_identities(to_remap)
274
296
275
297
### Additional Resources
276
298
277
-
For SDK-specific migration guidance, see:
299
+
<!--For SDK-specific migration guidance, see:
278
300
- [SDK for JavaScript V3](../sdks/sdk-ref-javascript-v3.md) for client-side implementations
279
-
-[SDK for Java](../sdks/sdk-ref-java.md) for server-side implementations (see Usage for Advertisers/Data Providers section)
301
+
- [SDK for Java](../sdks/sdk-ref-java.md) for server-side implementations (see Usage for Advertisers/Data Providers section) -->
302
+
303
+
<!-- GWH 7/7 Commenting out the above until the SDK docs are available. -->
280
304
281
305
For general information about identity mapping, see [Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md).
0 commit comments