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
@@ -30,7 +30,7 @@ You must encrypt all requests using your secret. For details, and code examples
30
30
|`{environment}`| string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
31
31
32
32
:::note
33
-
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
33
+
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
Copy file name to clipboardExpand all lines: docs/endpoints/post-identity-map.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
@@ -41,7 +41,7 @@ You must encrypt all requests using your secret. For details, and code examples
41
41
|`{environment}`| string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
42
42
43
43
:::note
44
-
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
44
+
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
Copy file name to clipboardExpand all lines: docs/endpoints/post-optout-status.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
@@ -43,7 +43,7 @@ You must encrypt all requests using your secret. For details, and code examples
43
43
|`{environment}`| string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
44
44
45
45
:::note
46
-
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
46
+
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
Copy file name to clipboardExpand all lines: docs/endpoints/post-token-validate.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
@@ -34,7 +34,7 @@ You must encrypt all requests using your secret key. For details, and code examp
34
34
|`{environment}`| string | Required | Testing (integration) environment: `https://operator-integ.uidapi.com`<br/>Production environment: The best choice depends on where your users are based. For information about how to choose the best URL for your use case, and a full list of valid base URLs, see [Environments](../getting-started/gs-environments.md). |
35
35
36
36
:::note
37
-
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
37
+
The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
Copy file name to clipboardExpand all lines: docs/getting-started/gs-credentials.md
+70-5Lines changed: 70 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,15 +9,72 @@ import Link from '@docusaurus/Link';
9
9
10
10
# UID2 Credentials
11
11
12
-
Each UID2 <ahref="../intro#participants">participant</a> gets a set of unique credentials. The set of credentials you get is determined by how you are participating in UID2, as shown in the following table.
12
+
Each UID2 <ahref="../intro#participants">participant</a> needs at least one set of unique credentials. The set of credentials you need is determined by how you are participating in UID2, as shown in the following table.
13
13
14
14
| Audience | Credentials | Integration |
15
15
| :--- | :--- | :--- |
16
16
| Participants using a client-side implementation | Both of the following: <ul><li><Linkhref="../ref-info/glossary-uid#gl-subscription-id">Subscription ID</Link></li><li><Linkhref="../ref-info/glossary-uid#gl-public-key">Public key</Link></li></ul>These two, together, are sometimes called <Linkhref="../ref-info/glossary-uid#gl-client-keypair">client keypair</Link>. | Integrations using one of these: <ul><li>[UID2 Client-Side Integration Guide for Prebid.js](../guides/integration-prebid-client-side.md)</li><li>[Client-Side Integration Guide for JavaScript](../guides/integration-javascript-client-side.md)</li><li>[UID2 Client-Side Integration Guide for Mobile](../guides/integration-mobile-client-side.md)</li></ul> |
17
17
| Participants using a client-server implementation | Both of the following:<ul><li><Linkhref="../ref-info/glossary-uid#gl-api-key">API key</Link>, also called a client key</li><li><Linkhref="../ref-info/glossary-uid#gl-client-secret">Client secret</Link>, a value known only to the participant and the UID2 service</li></ul> | Integrations using one of these: <ul><li>[Client-Server Integration Guide for JavaScript](../guides/integration-javascript-client-server.md)</li><li>[UID2 Client-Server Integration Guide for Prebid.js](../guides/integration-prebid-client-server.md)</li><li>[UID2 Client-Server Integration Guide for Mobile](../guides/integration-mobile-client-server.md)</li></ul> |
18
18
| Participants using a server-side implementation | Both of the following:<ul><li><Linkhref="../ref-info/glossary-uid#gl-api-key">API key</Link>, also called a client key</li><li><Linkhref="../ref-info/glossary-uid#gl-client-secret">Client secret</Link>, a value known only to the participant and the UID2 service</li></ul> | Integrations using one of these: <ul><li>[Publisher Integration Guide, Server-Side](../guides/integration-publisher-server-side.md)</li><li>[Advertiser/Data Provider Integration Overview](../guides/integration-advertiser-dataprovider-overview.md)</li></ul> |
19
19
20
-
If you're using the integration environment as well as the production environment, you'll get a separate set of credentials for each environment.
20
+
## Separate Credentials Per Environment/Role
21
+
22
+
If you're using the integration <Linkhref="../ref-info/glossary-uid#gl-environment">environment</Link> as well as the production environment, you'll get a separate set of credentials for each environment. See [Getting Your Credentials](#getting-your-credentials).
23
+
24
+
In addition, in some cases, we recommend, but do not require, that you have a different set of credentials for a different scenario. For example:
25
+
- If you're a publisher who generates UID2 tokens (via [POST /token/generate](../endpoints/post-token-generate.md) or in some other way), but you also create/map raw UID2s on your own behalf (see [POST /identity/map](../endpoints/post-identity-map.md)), you might have separate credentials for each of these activities.
26
+
- If you're an advertiser, in a scenario where you allow multiple service providers to operate using your advertiser keys, you might choose to have separate credentials for each service provider.
27
+
28
+
## Getting Your Credentials
29
+
30
+
The following table shows how you get your credentials, for each [integration approach](../ref-info/ref-integration-approaches.md) and each [environment](../getting-started/gs-environments.md).
<td rowspan="3"><br/><br/>Ask your UID2 contact.</td>
60
+
</tr>
61
+
<tr>
62
+
63
+
<td>Client-Server</td>
64
+
65
+
</tr>
66
+
<tr>
67
+
68
+
<td>Server-Side</td>
69
+
70
+
</tr>
71
+
</tbody>
72
+
</table>
73
+
74
+
<!--
75
+
For no-portal:
76
+
To get your credentials, ask your UID2 contact.
77
+
-->
21
78
22
79
## Subscription ID and Public Key
23
80
@@ -33,7 +90,7 @@ Notes:
33
90
34
91
- Unlike the API key and client secret, the Subscription ID and public key do not have to be kept secure.
35
92
36
-
- The values are valid for a specific [environment](gs-environments.md). If you're using both the integration and production environments, you'll get a set of credentials for each environment.
93
+
- The values are valid for a specific environment. If you're using both the integration and production environments, you'll get a set of credentials for each environment.
37
94
38
95
- Subscription ID and public key credentials can be used only to generate client-side tokens. If you need any additional roles (see [API Permissions](gs-permissions.md)), request API Key and Client Secret for those roles.
39
96
@@ -47,7 +104,7 @@ Here is some information about API keys and client secrets:
47
104
- Each key has a set of [permissions](gs-permissions.md) that determine the endpoints you can use it on.
48
105
- Each key has a corresponding client secret.
49
106
- Most API endpoints require both API key and client secret for authentication. For details, see [Authentication and Authorization](gs-auth.md).
50
-
- If you're using the integration environment as well as the production environment, you'll receive separate API keys for each environment.
107
+
- If you're using the integration environment as well as the production environment, you'll receive separate API keys for each environment. For details, see [Getting Your Credentials](#getting-your-credentials).
51
108
- The client secret is valid for a specific [environment](gs-environments.md). If you're using both the integration and production environments, you'll get a client secret for each environment.
52
109
53
110
As part of getting your UID2 account set up, we'll give you one or more API keys, each with a corresponding client secret. For details of who to talk to, see [Contact Info](gs-account-setup.md#contact-info).
@@ -64,4 +121,12 @@ It's best to refresh your API key and client secret on a regular cadence—f
64
121
65
122
## Refreshing Credentials
66
123
67
-
To request new credentials at any time, ask your UID2 contact.
124
+
To request new credentials at any time, do one of the following:
125
+
126
+
- If you have UID2 Portal access, and you need new Production credentials: go to the page listed in [Getting Your Credentials](#getting-your-credentials).
127
+
- If you don't have UID2 Portal access, or you need new credentials for the Integration environment, ask your UID2 contact.
128
+
129
+
<!--
130
+
For no-portal:
131
+
To request new credentials at any time, ask your UID2 contact.
Copy file name to clipboardExpand all lines: docs/getting-started/gs-environments.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,13 +11,13 @@ import Link from '@docusaurus/Link';
11
11
12
12
Learn about the different environments available, and tips to reduce latency by choosing the best base URL for your integration.
13
13
14
-
## UID2 Testing and Production Environments
14
+
## UID2 Integration and Production Environments
15
15
16
-
The following table lists all current testing and production environments for UID2.
16
+
The following table lists all current integration (also known as testing) and production environments for UID2.
17
17
18
18
| Environment | Cloud Region | Code | Base URL |
19
19
| :--- | :--- | :--- | :--- |
20
-
| Integration Testing| AWS US East (Ohio) |`us-east-2`|`https://operator-integ.uidapi.com`|
20
+
| Integration (for testing)| AWS US East (Ohio) |`us-east-2`|`https://operator-integ.uidapi.com`|
21
21
| Production | Automatically optimized region routing via the <ahref='https://aws.amazon.com/global-accelerator/'>AWS Global Accelerator</a> |`n/a`|`https://global.prod.uidapi.com`|
22
22
| Production | AWS US East (Ohio) |`us-east-2`|`https://prod.uidapi.com`|
23
23
| Production | AWS US West (Oregon) |`us-west-2`|`https://usw.prod.uidapi.com`|
@@ -30,9 +30,15 @@ For example, `https://operator-integ.uidapi.com/v2/token/generate`.
30
30
Notes:
31
31
32
32
- All UID2 endpoints use the same base URL.
33
-
- The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>.
33
+
- The integration environment and the production environment require different <Linkhref="../ref-info/glossary-uid#gl-api-key">API keys</Link>. For information about getting credentials for each environment, see [Getting Your Credentials](../getting-started/gs-credentials.md#getting-your-credentials).
34
34
- The expiration time of the <Linkhref="../ref-info/glossary-uid#gl-uid2-token">UID2 token</Link> returned by the [POST /token/generate](../endpoints/post-token-generate.md) or [POST /token/refresh](../endpoints/post-token-refresh.md) endpoints is subject to change, but is always significantly shorter in the integration environment than it is in the production environment.
35
35
36
+
## Getting Credentials for Each Environment
37
+
38
+
If you're using the integration environment as well as the production environment, you'll need to get a separate set of credentials for each environment.
39
+
40
+
For details about getting the values you need to access each environment, see [Getting Your Credentials](gs-credentials.md#getting-your-credentials).
41
+
36
42
## Specifying the Base URL to Reduce Latency
37
43
38
44
The latency of API calls depends on the proximity of the client to the UID2 servers. To reduce the latency, especially when making API calls from consumer devices, you might consider choosing a server closer to your users.
Copy file name to clipboardExpand all lines: docs/guides/integration-advertiser-dataprovider-endpoints.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,21 @@ This guide covers integration steps for advertisers and data providers to integr
16
16
For a summary of all integration options and steps for advertisers and data providers, see [Advertiser/Data Provider Integration Overview](integration-advertiser-dataprovider-overview.md).
17
17
:::
18
18
19
+
## Complete UID2 Account Setup and Configure Account
20
+
21
+
To integrate with UID2, you'll need to have a UID2 account. If you haven't yet created an account, first follow the steps described on the [Account Setup](../getting-started/gs-account-setup.md) page.
22
+
23
+
When initial account setup is complete, you'll receive instructions and a link to access the [UID2 Portal](../portal/portal-overview.md), where you can create your [credentials](../getting-started/gs-credentials.md) for the production environment and configure additional values, if needed. For details, see [Getting Started with the UID2 Portal](../portal/portal-getting-started.md).
24
+
25
+
You'll need to set up these values, in the UID2 Portal on the [API Keys](../portal/api-keys.md) page:
26
+
27
+
- <Linkhref="../ref-info/glossary-uid#gl-api-key">API key</Link>, also called a client key
28
+
- <Linkhref="../ref-info/glossary-uid#gl-client-secret">Client secret</Link>, a value known only to the participant and the UID2 service
29
+
30
+
:::important
31
+
It's very important that you keep these values secure. For details, see [Security of API Key and Client Secret](../getting-started/gs-credentials.md#security-of-api-key-and-client-secret).
32
+
:::
33
+
19
34
## High-Level Steps
20
35
21
36
At a high level, the steps for advertisers and data providers integrating with UID2 are as follows:
Copy file name to clipboardExpand all lines: docs/guides/integration-ctv-guide.md
+23-3Lines changed: 23 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,26 @@ To determine how you'll implement these steps, choose from the [CTV Integration
27
27
28
28
<IntegratingWithSSO />
29
29
30
+
## Complete UID2 Account Setup and Configure Account
31
+
32
+
To integrate with UID2, you'll need to have a UID2 account. If you haven't yet created an account, first follow the steps described on the [Account Setup](../getting-started/gs-account-setup.md) page.
33
+
34
+
When initial account setup is complete, you'll receive instructions and a link to access the [UID2 Portal](../portal/portal-overview.md), where you can create your [credentials](../getting-started/gs-credentials.md) for the production environment and configure additional values, if needed. For details, see [Getting Started with the UID2 Portal](../portal/portal-getting-started.md).
35
+
36
+
The specific values you set up will depend on which of the [CTV integration options](#ctv-integration-options) you choose:
37
+
38
+
- For a client-server or server-side implementation, you'll need to set up these values, in the UID2 Portal on the [API Keys](../portal/api-keys.md) page:
39
+
- <Linkhref="../ref-info/glossary-uid#gl-api-key">API key</Link>, also called a client key
40
+
- <Linkhref="../ref-info/glossary-uid#gl-client-secret">Client secret</Link>, a value known only to the participant and the UID2 service
41
+
42
+
:::important
43
+
It's very important that you keep these values secure. For details, see [Security of API Key and Client Secret](../getting-started/gs-credentials.md#security-of-api-key-and-client-secret).
44
+
:::
45
+
- For a client-side implementation, you'll need to set up these values, in the UID2 Portal on the [Client-Side Integration](../portal/client-side-integration.md) page:
46
+
- Subscription ID and Public Key: See [Adding and Managing Key Pairs](../portal/client-side-integration.md#adding-and-managing-key-pairs)
47
+
- A list of **domain names** for any sites on which you'll be using this SDK: See [Adding and Managing Root-Level Domains](../portal/client-side-integration.md#adding-and-managing-root-level-domains)
48
+
- Mobile App IDs (any that apply): See [Adding and Managing Mobile App IDs](../portal/client-side-integration.md#adding-and-managing-mobile-app-ids)
49
+
30
50
## CTV Integration Options
31
51
32
52
You can decide on the integration option that's best for you based on where you want to generate and refresh the UID2 token. There are three options, as follows:
@@ -35,7 +55,7 @@ You can decide on the integration option that's best for you based on where you
35
55
-[Server-Side Integration](#server-side-integration-for-ctv-apps) (the token is generated and refreshed on the server side)
36
56
-[Client-Server Integration](#client-server-integration-for-ctv-apps) (the token is generated on the server side and refreshed on the client side)
37
57
38
-
## Client-Side Integration for CTV Apps
58
+
###Client-Side Integration for CTV Apps
39
59
40
60
The client-side option is for publishers who want to manage the UID2 token entirely on the client side:
41
61
@@ -53,7 +73,7 @@ The following table shows supported operating systems, with links to applicable
53
73
|[Apple tvOS](https://developer.apple.com/tvos/)|[UID2 Client-Side Integration Guide for Mobile](../guides/integration-mobile-client-side.md)|[SDK for iOS Reference Guide](../sdks/sdk-ref-ios.md)|
54
74
|[Android TV](https://www.android.com/tv/)|[UID2 Client-Side Integration Guide for Mobile](../guides/integration-mobile-client-side.md)|[SDK for Android Reference Guide](../sdks/sdk-ref-android.md)|
55
75
56
-
## Server-Side Integration for CTV Apps
76
+
###Server-Side Integration for CTV Apps
57
77
58
78
The server-side option is for publishers who want to manage the UID2 token entirely on the server side:
59
79
@@ -71,7 +91,7 @@ If your server-side code is in Java or Python, you can use one of the UID2 SDKs
71
91
-[SDK for Java Reference Guide: Usage for Publishers](../sdks/sdk-ref-java.md#usage-for-publishers)
72
92
-[SDK for Python Reference Guide: Usage for Publishers](../sdks/sdk-ref-python.md#usage-for-publishers)
73
93
74
-
## Client-Server Integration for CTV Apps
94
+
###Client-Server Integration for CTV Apps
75
95
76
96
This option is for publishers who want to manage the UID2 tokens with a client-server approach:
0 commit comments