EUID Mobile Integration Overview for Android and iOS
This guide is an overview of integration options for mobile app publishers who want to integrate with EUID using the SDK for Android or the SDK for iOS.
This guide uses the group term EUID mobile SDKs to include both the SDK for Android and the SDK for iOS.
Introduction
EUID provides SDKs for Android/iOS that support the following:
- Generating the EUID token
- Refreshing the EUID token
- Storing the EUID token
For additional flexibility, EUID also provides alternative methods for some of the features and complementary products, such as EUID Google GMA/IMA Plugins. Available options are described in the individual guides: see Integration Overview: High-Level Steps.
Integrating with Single Sign-On (SSO)
If you integrate with one or more SSO providers to offer SSO login, you might be able to retrieve the logged-in user's email address from the SSO provider to generate EUID tokens.
For details, see Publisher Integration with SSO Providers.
Integration Overview: High-Level Steps
At a high level, to integrate your mobile app with EUID using the EUID mobile SDKs, you'll need to complete the following steps:
-
Complete the EUID account setup.
-
Client-Server Integration Only: Integrate server-side token generation.
-
Add the SDK for Android or iOS into your mobile app.
-
Configure the SDK.
-
Check that the token was successfully generated and then pass it for bidstream use.
-
Optionally, configure the EUID GMA/IMA plugins for integration with the Google GMA SDK and the Google IMA SDK.
For details, refer to one of the following guides:
- Client-Side Integration Guide for Mobile
- Client-Server Integration Guide for Mobile
- Client-Side Integration Guide for Mobile
Mobile Integration Paths
To determine the best integration path for your mobile scenario, consider these points:
-
Do you want to retrieve the EUID token on the client side or on the server side? See Client-Side, Client-Server, or Server-Side Integration?.
-
What do you want to use to retrieve and refresh the EUID token? See Generating, Storing, and Refreshing the EUID Token.
-
How do you want to use the EUID tokens? See Sending the Token to the Bidstream.
Client-Side, Client-Server, or Server-Side Integration?
The options for integrating with EUID using the EUID mobile SDKs are summarized in the following table. Choose the integration approach that's best for you.
For details, see Integration Approaches.
Scenario | Option | Integration Guide |
---|---|---|
You have access to personal data (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 | EUID Client-Side Integration Guide for Mobile |
You have access to personal data on the server side only and can do the necessary development to generate EUID tokens server-side, but you want to refresh tokens on the client side—or you are using a Private Operator. | Client-Server Integration | EUID Client-Server Integration Guide for Mobile |
You have access to personal data on the server side only and can do the necessary development to generate EUID tokens server-side, or you are using a Private Operator. | Server-Side Integration | EUID Server-Side Integration Guide for Mobile |
Generating, Storing, and Refreshing the EUID Token
The following table summarizes the mobile integration options for managing the EUID token, including generating, storing, and refreshing the token, with links to the documentation for each option.
EUID Mobile Implementation Option | SDK Doc | Implementation Guide |
---|---|---|
EUID Android SDK | SDK for Android Reference Guide | One of the following: |
EUID iOS SDK | SDK for iOS Reference Guide | One of the following: |
Sending the Token to the Bidstream
There are many options for sending your EUID tokens to the bidstream.
The following table summarizes the options supported by EUID.
Scenario | Integration Guide |
---|---|
You want to use Google GMA to integrate video, banner, interstitial, or native ads into your Android app | Both of the following, in this sequence:
|
You want to use Google GMA to integrate video, banner, interstitial, or native ads into your iOS app | Both of the following, in this sequence:
|
You want to use Google IMA to integrate multimedia ads into your Android app | Both of the following, in this sequence:
|
You want to use Google IMA to integrate multimedia ads into your iOS app | Both of the following, in this sequence:
|
You want to use the Prebid Mobile SDK and Prebid Server to send out ad requests from your Android or iOS app | One of the following:
|
Functionality Summary
The following table summarizes the functionality available with the various integration options.
All options support either client-side or server-side integration.
Implementation Option | Generate Token from Personal Data | Refresh Token | Android/iOS? | Send Token to Bidstream |
---|---|---|---|---|
EUID SDK for Android | ✅ | ✅ | Android | * |
EUID SDK for iOS | ✅ | ✅ | iOS | * |
GMA Plugin for Android (Requires EUID SDK for Android) | — | — | Android | ✅** |
GMA Plugin for iOS (Requires EUID SDK for iOS) |