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/guides/integration-mobile-overview.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,12 +53,13 @@ For details, refer to one of the following guides:
53
53
54
54
-[Client-Side Integration Guide for Mobile](integration-mobile-client-side.md)
55
55
-[Client-Server Integration Guide for Mobile](integration-mobile-client-server.md)
56
+
-[Server-Side Integration Guide for Mobile](integration-mobile-server-side.md)
56
57
57
58
## Mobile Integration Paths
58
59
59
60
To determine the best integration path for your mobile scenario, consider these points:
60
61
61
-
1. Do you want to retrieve the UID2 token on the client side or on the server side? See [Client-Side or Client-ServerIntegration](#client-side-or-client-server-integration).
62
+
1. Do you want to retrieve the UID2 token on the client side or on the server side? See [Client-Side, Client-Server, or Server-Side Integration?](#client-side-client-server-or-server-side-integration)
62
63
63
64
1. What do you want to use to retrieve and refresh the UID2 token? See [Generating, Storing, and Refreshing the UID2 Token](#generating-storing-and-refreshing-the-uid2-token).
64
65
@@ -70,18 +71,19 @@ To integrate with UID2, you'll need to have a UID2 account. If you haven't yet c
70
71
71
72
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).
72
73
73
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side or Client-ServerIntegration?](#client-side-or-client-server-integration)
74
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side, Client-Server, or Server-Side Integration?](#client-side-client-server-or-server-side-integration)
74
75
75
-
### Client-Side or Client-Server Integration?
76
+
### Client-Side, Client-Server, or Server-Side Integration?
76
77
77
78
The options for integrating with UID2 using the UID2 mobile SDKs are summarized in the following table. Choose the <Linkhref="../ref-info/glossary-uid#gl-integration-approaches">integration approach</Link> that's best for you.
78
79
79
80
For details, see [Integration Approaches](../ref-info/ref-integration-approaches.md).
80
81
81
82
| Scenario | Option | Integration Guide |
82
83
| :--- | :--- | :--- |
83
-
| You have access to <Linkhref="../ref-info/glossary-uid#gl-dii">DII</Link> (email address or phone number) on the client side/within the mobile app, and want to keep changes within your app only. | Client-side integration |[UID2 Client-Side Integration Guide for Mobile](integration-mobile-client-side.md)|
84
-
| You have access to DII on the server side only and can do the necessary development to generate UID2 tokens server-side, or you are using a <Linkhref="../ref-info/glossary-uid#gl-private-operator">Private Operator</Link>. | Client-Server Integration |[UID2 Client-Server Integration Guide for Mobile](integration-mobile-client-server.md)|
84
+
| You have access to <Linkhref="../ref-info/glossary-uid#gl-dii">DII</Link> (email address or phone number) on the client side/within the mobile app, and want to keep changes within your app only. | Client-Side integration |[UID2 Client-Side Integration Guide for Mobile](integration-mobile-client-side.md)|
85
+
| You have access to DII on the server side only and can do the necessary development to generate UID2 tokens server-side, but you want to refresh tokens on the client side—or you are using a <Linkhref="../ref-info/glossary-uid#gl-private-operator">Private Operator</Link>. | Client-Server Integration |[UID2 Client-Server Integration Guide for Mobile](integration-mobile-client-server.md)|
86
+
| You have access to DII on the server side only and can do the necessary development to generate UID2 tokens server-side, or you are using a <Linkhref="../ref-info/glossary-uid#gl-private-operator">Private Operator</Link>. | Server-Side Integration |[UID2 Server-Side Integration Guide for Mobile](integration-mobile-server-side.md)|
85
87
86
88
### Generating, Storing, and Refreshing the UID2 Token
title: UID2 Server-Side Integration Guide for Mobile
3
+
sidebar_label: Server-Side Integration for Mobile
4
+
pagination_label: UID2 Server-Side Integration Guide for Mobile
5
+
description: Setting up a mobile integration with token generate and refresh both on the server side.
6
+
hide_table_of_contents: false
7
+
sidebar_position: 04
8
+
---
9
+
10
+
import Link from '@docusaurus/Link';
11
+
12
+
# UID2 Server-Side Integration Guide for Mobile
13
+
14
+
This guide is for mobile app publishers who want to manage the UID2 token entirely on the server side:
15
+
16
+
- The token is generated on the server side.
17
+
- The token is refreshed as needed on the server side.
18
+
19
+
This setup requires that most of the code changes are done on the server side, with minimal changes in the mobile app.
20
+
21
+
One advantage of this approach is that if you're dealing with multiple platforms (Web / CTV / mobile), doing everything on the server side can reduce platform-specific efforts.
22
+
23
+
To implement using this approach, follow the instructions in [Publisher Integration Guide, Server-Side](integration-publisher-server-side.md).
24
+
25
+
If your server-side code is in Java or Python, you can use one of the UID2 SDKs to make the HTTP requests to UID2, instead of writing your own source code. For details, refer to one of the following SDK guides:
26
+
27
+
-[SDK for Java Reference Guide: Usage for Publishers](../sdks/sdk-ref-java.md#usage-for-publishers)
28
+
-[SDK for Python Reference Guide: Usage for Publishers](../sdks/sdk-ref-python.md#usage-for-publishers)
Copy file name to clipboardExpand all lines: docs/guides/mobile-plugin-gma-android.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
@@ -33,7 +33,7 @@ To integrate with UID2, you'll need to have a UID2 account. If you haven't yet c
33
33
34
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
35
36
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side or Client-ServerIntegration?](integration-mobile-overview#client-side-or-client-server-integration).
36
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side, Client-Server, or Server-Side Integration?](integration-mobile-overview#client-side-client-server-or-server-side-integration)
Copy file name to clipboardExpand all lines: docs/guides/mobile-plugin-gma-ios.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,8 +33,7 @@ To integrate with UID2, you'll need to have a UID2 account. If you haven't yet c
33
33
34
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
35
36
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side or Client-Server Integration?](integration-mobile-overview#client-side-or-client-server-integration).
37
-
36
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side, Client-Server, or Server-Side Integration?](integration-mobile-overview#client-side-client-server-or-server-side-integration)
Copy file name to clipboardExpand all lines: docs/guides/mobile-plugin-ima-android.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
@@ -33,7 +33,7 @@ To integrate with UID2, you'll need to have a UID2 account. If you haven't yet c
33
33
34
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
35
36
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side or Client-ServerIntegration?](integration-mobile-overview#client-side-or-client-server-integration).
36
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side, Client-Server, or Server-Side Integration?](integration-mobile-overview#client-side-client-server-or-server-side-integration)
Copy file name to clipboardExpand all lines: docs/guides/mobile-plugin-ima-ios.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
@@ -33,7 +33,7 @@ To integrate with UID2, you'll need to have a UID2 account. If you haven't yet c
33
33
34
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
35
36
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side or Client-ServerIntegration?](integration-mobile-overview#client-side-or-client-server-integration).
36
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. Specific instructions are in each implementation guide. For a summary, see [Client-Side, Client-Server, or Server-Side Integration?](integration-mobile-overview#client-side-client-server-or-server-side-integration)
Copy file name to clipboardExpand all lines: docs/guides/summary-guides.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ The following documentation resources are available for publishers integrating w
59
59
|[Mobile Integration Overview for Android and iOS](integration-mobile-overview.md)| An overview of options for mobile app publishers who want to integrate with UID2 using the SDK for Android or the SDK for iOS. |
60
60
|[Client-Side Integration Guide for Mobile](integration-mobile-client-side.md)| An integration guide for mobile app publishers who want to integrate with UID2 with changes only within the mobile app (no server-side changes). |
61
61
|[Client-Server Integration Guide for Mobile](integration-mobile-client-server.md)| An integration guide for mobile app publishers who want to integrate with UID2 by doing the following:<ol><li>Generating UID2 tokens server-side via either a Public or Private Operator.</li><li>Passing the resulting <Linkhref="../ref-info/glossary-uid#gl-identity">identities</Link> to a mobile app for passing into the bidstream.</li></ol> |
62
+
|[Server-Side Integration Guide for Mobile](../guides/integration-mobile-server-side.md)| An integration guide for mobile app publishers who want to manage the UID2 token entirely on the server side. |
Copy file name to clipboardExpand all lines: docs/overviews/overview-publishers.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,7 @@ The following resources are available for publisher integrations supporting Andr
133
133
| Android/iOS (Overview) |[Mobile Integration Overview for Android and iOS](../guides/integration-mobile-overview.md)| An overview of options for mobile app publishers who want to integrate with UID2 using the SDK for Android or the SDK for iOS. |
134
134
| Android/iOS, Client-Side Integration |[Client-Side Integration Guide for Mobile](../guides/integration-mobile-client-side.md)| An integration guide for mobile app publishers who want to integrate with UID2 with changes only within the mobile app (no server-side changes). |
135
135
| Android/iOS, Client-Server Integration |[Client-Server Integration Guide for Mobile](../guides/integration-mobile-client-server.md)| An integration guide for mobile app publishers who want to integrate with UID2 by doing the following:<ol><li>Generating UID2 tokens server-side via either a Public or Private Operator.</li><li>Passing the resulting <Linkhref="../ref-info/glossary-uid#gl-identity">identities</Link> to a mobile app for passing into the bidstream.</li></ol> |
136
+
| Android/iOS, Server-Side Integration |[Server-Side Integration Guide for Mobile](../guides/integration-mobile-server-side.md)| An integration guide for mobile app publishers who want to manage the UID2 token entirely on the server side. |
136
137
| Android |[SDK for Android Reference Guide](../sdks/sdk-ref-android.md)|An SDK that facilitates the process of generating or establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support Android apps. |
137
138
| iOS |[SDK for iOS Reference Guide](../sdks/sdk-ref-ios.md)| An SDK that facilitates the process of generating or establishing client identity using UID2 and retrieving UID2 tokens for publishers that need to support iOS apps. |
Copy file name to clipboardExpand all lines: docs/sdks/sdk-ref-android.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
@@ -47,7 +47,7 @@ When initial account setup is complete, you'll receive instructions and a link t
47
47
- Optional: For a client-side implementation, set up configuration values such as domain names or mobile app IDs.
48
48
- Optionally, configure other values, such as setting up information about team members.
49
49
50
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. For a summary of mobile integration options, see [Client-Side or Client-ServerIntegration?](../guides/integration-mobile-overview#client-side-or-client-server-integration).
50
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. For a summary of mobile integration options, see [Client-Side, Client-Server, or Server-Side Integration?](../guides/integration-mobile-overview#client-side-client-server-or-server-side-integration)
51
51
52
52
<!-- You'll be granted permission to use specific functions offered by the SDK, and given credentials for that access. -->
Copy file name to clipboardExpand all lines: docs/sdks/sdk-ref-ios.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
@@ -44,7 +44,7 @@ When initial account setup is complete, you'll receive instructions and a link t
44
44
- Optional: For a client-side implementation, set up configuration values such as domain names or mobile app IDs.
45
45
- Optionally, configure other values, such as setting up information about team members.
46
46
47
-
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. For a summary of mobile integration options, see [Client-Side or Client-ServerIntegration?](../guides/integration-mobile-overview#client-side-or-client-server-integration).
47
+
The steps you'll take in the UID2 Portal are different depending on whether your implementation will be client-side, client-server, or server-side. For a summary of mobile integration options, see [Client-Side, Client-Server, or Server-Side Integration?](../guides/integration-mobile-overview#client-side-client-server-or-server-side-integration)
48
48
49
49
<!-- You'll be granted permission to use specific functions offered by the SDK, and given credentials for that access. -->
0 commit comments