MAX SDK
MAX is the mediation solution used by Lion Studios to serve ads to players.
MAX also contains its own GDPR solution: MAX SDK’s Unified Consent Flow. This now replaces LionGDPR. All games published with Lion Studios must use this Unified Consent Flow.
Remove LionGDPR (if applicable)
If your game has already implemented LionGDPR:
- Remove any calls to LionGDPR
- Remove the LionGDPR package
- Make sure the game still works properly
Install LionSDK
- Complete the steps in Getting Started
Integrate MAX SDK and Consent Flow
- Open the
LionStudios/Settings Manager
window - Go to the
MAX
tab - If MAX is not installed, you will see the
Install Max
button - Click the
Install Max SDK
button
![](/docs/2_Features/MaxSDK/Screenshot_2023-09-21_at_3.49.05_PM.png)
- Click “Enable auto-initialization” from the Lion Settings Manager under the “MAX” tab
- Add your AppLovin SDK key available in the Lion Portal test submission to the
Max Sdk Key
field - Unless special cases, do not change the other settings
- Click
Setup Consent Flow
button
Privacy Button
Games must have a “privacy” button in their games that allows the user to display the Consent Flow screen again. You need to integrate the Options menu to enable the Privacy Button.
Integrate Lion - Options Menu
Lion SDK offers a fully functional options menu prefab that has the required privacy button feature. Find out how to integrate it here: Options Menu
MAX Consent in Action
The MAX consent flow will automatically determine if the user needs to be shown the consent flow and show the popup accordingly.
![](/docs/2_Features/MaxSDK/Screen_Shot_2023-06-26_at_10.17.47_AM.png)
The following are videos of the flow in action on iOS.
-
💡
On android, the flow differs since there is no ATT framework. Instead, it is just the Terms/Privacy prompt using the native dialog box design in non-GDPR regions; and the GDPR prompt with the 3 toggles in GDPR regions.
Ads
In early testing, it is optional to integrate ads. Please check with your Lion representative if you need to integrate ads
-
Ask for MAX Ad Unit IDs from your Lion point of contact
-
Install mediation adapters, see here. Ask your Lion contact to know about which adapters to install.
👉
Google Ads Manager requires its own IDs, ask those IDs if this adapter needs to be installed.
-
See the documentation here to integrate ads using Lion Ads
-
Check the integration using the Mediation Debugger tools before moving to the next step.
Non-Unity Games
Here is the documentation for other platforms: