> For the complete documentation index, see [llms.txt](https://docs.candy-smith.com/main/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.candy-smith.com/main/general-info/ads-user-consent-ump.md).

# Ads user consent (UMP)

<mark style="color:red;">**Warning:**</mark> we are not related for proper work of this plugin

### Installation <a href="#installation" id="installation"></a>

* Download the latest Admob release [here](https://github.com/googleads/googleads-mobile-unity/releases)
* Run and import downloaded package

  <figure><img src="https://docs.candy-smith.com/~gitbook/image?url=https%3A%2F%2F3431102767-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FGB7CK9gu3AIGgNgqIdcY%252Fuploads%252FdeesGQ1ICZRppMdj9CFA%252Fimage.png%3Falt%3Dmedia%26token%3D4991502c-fcc8-4e8c-b448-80efa9f6baf8&#x26;width=768&#x26;dpr=4&#x26;quality=100&#x26;sign=faec88ff&#x26;sv=2" alt=""><figcaption></figcaption></figure>

### Setup <a href="#setup" id="setup"></a>

1. Go to your Google Mobile Ads account [https://apps.admob.com](https://apps.admob.com/)
2. In the left menu, open **Privacy & messaging**.
3. Select EU and press Create

<figure><img src="/files/NmLoKiNx92o8zSx1CaiR" alt=""><figcaption></figcaption></figure>

6. Follow the steps, assign apps and design the dialog. Eventually you should have this, Press Publish changes<br>

   <figure><img src="/files/uLRDoSq2JPzmaoWEkem3" alt=""><figcaption></figcaption></figure>

7. Test the consent window in Unity. That will appear instantly.\ <br>

   <figure><img src="/files/XRClAW81HhbOHgdAgbFf" alt=""><figcaption></figcaption></figure>


---

# 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://docs.candy-smith.com/main/general-info/ads-user-consent-ump.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.
