Skip to content

Commit b5f24e1

Browse files
fixed wording
1 parent e2669aa commit b5f24e1

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

docs/endpoints/post-identity-map.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import Link from '@docusaurus/Link';
99

1010
# POST /identity/map
1111

12-
Maps multiple email addresses, phone numbers, or their respective hashes to their raw UID2s. You can also use this endpoint to check for updates to opt-out information, check when an advertisting ID may be refreshed, or view the previous advertising ID for advertising IDs that are less than 90 days old.
12+
Maps multiple email addresses, phone numbers, or their respective hashes to their raw UID2s. You can also use this endpoint to check for updates to opt-out information, check when an advertising ID can be refreshed, or view the previous advertising ID if the current one is less than 90 days old.
1313

1414
Used by: This endpoint is used mainly by advertisers and data providers. For details, see [Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md).
1515

@@ -53,22 +53,22 @@ The integration environment and the production environment require different <Li
5353
### Unencrypted JSON Body Parameters
5454

5555
:::important
56-
You can include one or more of the following four parameters as a key-value pair in the JSON body of the request when encrypting it.
56+
You can include one or more of the following four parameters as key-value pairs in the JSON body of the request when encrypting it.
5757
:::
5858

59-
| Body Parameter | Data Type | Attribute | Description |
60-
| :--- |:---------------------| :--- | :--- |
61-
| `email` | array of DII objects | Conditionally Required | The list of email addresses to be mapped. |
62-
| `email_hash` | array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#email-address-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#email-address-normalization) email addresses to be mapped. |
63-
| `phone` | array of DII objects | Conditionally Required | The list of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
64-
| `phone_hash` | array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#phone-number-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
59+
| Body Parameter | Data Type | Attribute | Description |
60+
|:---------------|:---------------------|:-----------------------| :--- |
61+
| `email` | array of DII objects | Conditionally Required | The list of email addresses to be mapped. |
62+
| `email_hash` | array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#email-address-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#email-address-normalization) email addresses to be mapped. |
63+
| `phone` | array of DII objects | Conditionally Required | The list of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
64+
| `phone_hash` | array of DII objects | Conditionally Required | The list of [Base64-encoded SHA-256](../getting-started/gs-normalization-encoding.md#phone-number-hash-encoding) hashes of [normalized](../getting-started/gs-normalization-encoding.md#phone-number-normalization) phone numbers to be mapped. |
6565

6666

67-
Each DII i.e. email address, email hash, phone or phone hash, is input as a DII object.
67+
Each email address, email hash, phone, or phone hash is input as a DII object.
6868

69-
| Parameter | Data Type | Attribute | Description |
70-
|:----------| :---- | :---- |:------------|
71-
| `i` | string | Required | The email address, email hash, phone or phone hash
69+
| Parameter | Data Type | Attribute | Description |
70+
|:----------|:----------|:----------|:----------------------------------------------------|
71+
| `i` | string | Required | The email address, email hash, phone, or phone hash.|
7272

7373
### Request Examples
7474

@@ -114,9 +114,9 @@ For details, and code examples in different programming languages, see [Encrypti
114114
The response is encrypted only if the HTTP status code is 200. Otherwise, the response is not encrypted.
115115
:::
116116

117-
A successful decrypted response returns the raw UID2s for the specified email addresses, phone numbers, or their respective hashes in the same array order that was given.
117+
A successful decrypted response returns the raw UID2s for the specified email addresses, phone numbers, or their respective hashes. The sequence in the response matches the sequence in the request.
118118

119-
Identifiers that cannot be mapped to an advertising ID are mapped to an error object with the reason for unsuccessful mapping. An unsuccessful mapping will occur if the identifier is considered invalid or if the identifier has opted out from the UID2 ecosystem. In these cases, the response status is still "success".
119+
Identifiers that cannot be mapped to an advertising ID are mapped to an error object with the reason for unsuccessful mapping. An unsuccessful mapping occurs if the identifier is considered invalid or if the identifier has opted out from the UID2 ecosystem. In these cases, the response status is still "success".
120120

121121
```json
122122
{
@@ -147,26 +147,26 @@ Identifiers that cannot be mapped to an advertising ID are mapped to an error ob
147147

148148
### Response Body Properties
149149

150-
| Body Parameter | Data Type | Attribute | Description |
151-
| :--- |:----------------------------| :--- |:-------------------------------------------------------------------------------------------|
152-
| `email` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of given emails. |
153-
| `email_hash` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of given email hashes. |
154-
| `phone` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of given phone numbers. |
155-
| `phone_hash` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of given phone number hashes. |
150+
| Body Parameter | Data Type | Attribute | Description |
151+
|:---------------|:----------------------------|:-----------------------|:------------------------------------------------------------------------------------------------|
152+
| `email` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of emails in the request. |
153+
| `email_hash` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of email hashes in the request. |
154+
| `phone` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of phone numbers in the request. |
155+
| `phone_hash` | array of mapped DII objects | Conditionally Required | The list of mapped DII objects corresponding to the list of phone number hashes in the request. |
156156

157157

158-
For successfully mapped DIIs, the mapped object includes the properties shown in the following table.
158+
For successfully mapped DII, the mapped object includes the properties shown in the following table.
159159

160160
| Property | Data Type | Description |
161161
|:---------|:-----------|:--------------------------------------------------------------------------------------------------------------------------------------|
162-
| `u` | string | The advertising ID (raw UID2) of the DII given in the request. |
162+
| `u` | string | The advertising ID (raw UID2) of the DII provided in the request. |
163163
| `p` | string | The previous advertising ID if the current ID has been refreshed in the last 90 days. `Null` if the current ID is older than 90 days. |
164-
| `r` | number | The Unix timestamp (in milliseconds) that indicates when the advertising ID may be refreshed. |
164+
| `r` | number | The Unix timestamp (in milliseconds) that indicates when the advertising ID can be refreshed. |
165165

166-
For unsuccessfully mapped DIIs, the mapped object includes the properties shown in the following table.
166+
For unsuccessfully mapped DII, the mapped object includes the properties shown in the following table.
167167

168-
| Property | Data Type | Description |
169-
|:---------|:----------|:-----------------------------------------------------------------------------------------------|
168+
| Property | Data Type | Description |
169+
|:---------|:----------|:------------------------------------------------------------------|
170170
| `e` | string | The reason for being unable to map the DII to an advertising ID. |
171171

172172
### Response Status Codes

0 commit comments

Comments
 (0)