> For the complete documentation index, see [llms.txt](https://lionstudios.gitbook.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lionstudios.gitbook.io/readme/third-party-sdks/max-sdk.md).

# MAX SDK

MAX is the mediation solution used by Lion Studios to serve ads to players.

MAX includes its own GDPR solution: the **MAX SDK’s Unified Consent Flow**. This has now replaced LionGDPR. All games published with Lion Studios are required to use this Unified Consent Flow.

***

### SDK Setup

* Follow the instructions under: [Getting Started](/readme/getting-started.md);
* MAX SDK is automatically installed via Setup Wizard;
* To enable automatic Max initialization, open the Lion Settings Manager, go to the **MAX** tab, enter your SDK keys, and turn on **Enable Auto-Initialization**.

<figure><img src="/files/Myge1wsWRqdn7golpo0W" alt="" width="563"><figcaption></figcaption></figure>

***

### MAX Consent Flow

[MAX Consent Flow](/readme/third-party-sdks/max-sdk/max-consent-flow.md)

***

### Ads Setup

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](https://dash.applovin.com/documentation/mediation/unity/mediation-adapters). Ask your Lion contact to know about which adapters to install.

{% hint style="warning" %}
Google Ads Manager requires its own IDs, ask those IDs if this adapter needs to be installed.

<img src="/files/XZOstJh2xoFxR8XEjVDc" alt="Untitled" data-size="original">
{% endhint %}

* See the documentation [*here*](/lionsdk-1.x-legacy-docs/ads.md) to integrate ads using Lion Ads
* Check the integration using the [Mediation Debugger tools](https://dash.applovin.com/documentation/mediation/unity/testing-networks/mediation-debugger) before moving to the next step.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lionstudios.gitbook.io/readme/third-party-sdks/max-sdk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
