---
description: Monetize your game so you can earn Money.
---

# Monetization

## Customize Advertisement Settings

In Menu Bar, Select **SansDev > Customize > Ads Data**.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/XUEAlWziSHCJgBwJisCj/Screenshot_18.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/DvZeyUnMT1KUyuRhD4Jy/Screenshot_17.png" alt="" width="431"><figcaption><p>Ads Setting will be shown in the Inspector</p></figcaption></figure>

**Interstitial Ad Interval** is the number of game overs before the next interstitial is shown.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/GKPIMpX5Kihc5ylH6qnU/Screenshot_19.png" alt="" width="413"><figcaption></figcaption></figure>

{% hint style="info" %}
For example, if you fill **3** in the Interstitial Ad Interval, It means the interstitial Ad only show every 3 times gameplay.
{% endhint %}

***

**Rewarded Ad Frequency** is the percentage chance that a video Ad will be requested on game, so that the player can get rewarded after watching the video Ad.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/BcsYfn7YuCnCHoMWgdOH/Screenshot_20.png" alt="" width="413"><figcaption></figcaption></figure>

{% hint style="info" %}
For example, if you enter **1** in the Rewarded Ad Frequency, It means that Rewarded Ad will have 100 percent chance of being shown to users.
{% endhint %}

***

### Directed for children

If your app is directed to children under the age of 13, make sure you check the **Directed for children** checkmark.

### Test Mode

It is recommended to use test ads during development to avoid restrictions and limitations.

Enabling test mode will force the Admob to use test Unit ID.

***

## Setup Admob App ID

Copy the app ID from the App Settings section of your Admob dashboard.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/smSYsASIxNecL3Envipo/Screenshot_21.png" alt=""><figcaption></figcaption></figure>

Go to Assets in Menu Bar. Select **Google Mobile Ads > Settings..** and then at the Inspector, paste your AdMob App ID for Android.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/ivw6TOJHtSN7j0PHPd5C/Screenshot_22.png" alt=""><figcaption></figcaption></figure>

***

## Fill Ad Unit ID

Copy your Ad units from the Admob dashboard to the Ad Settings Window in the Inspector.

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/bnvuHKgDB72IW1M1p16X/Screenshot_23.png" alt=""><figcaption></figcaption></figure>

Paste your Ad Unit ID in the **Admob Ad Units** Section

<figure><img src="https://content.gitbook.com/content/6oBREmy5ZDz25H3PdXha/blobs/OmzNEcWqSqOK2RVg4Sub/Screenshot_24.png" alt="" width="479"><figcaption></figcaption></figure>

***

## Set Up GDPR Consent Management in AdMob

### **Log in to Your AdMob Account**

* Go to [AdMob](https://admob.google.com/) and sign in with your Google account.

### **Navigate to the Privacy & Messaging Section**

* After logging in, go to the **Settings** section in the left sidebar.
* Under **Account Settings**, select **Privacy & Messaging**.

### **Set Up Consent Management for GDPR**

* In the **Privacy & Messaging** section, scroll down to the **Consent Management Solutions** area.
* Click on **Create/manage in European Regulations**.
* Click on **Create Message** to start the process of creating a consent message.
* After consent message created you can change the message name In the top left corner.

<figure><img src="https://2640147814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6oBREmy5ZDz25H3PdXha%2Fuploads%2Fme41iQ7wdx1XFduDlTMY%2FScreenshot_17.png?alt=media&#x26;token=4d8409fc-36f9-4d52-8de1-872a58987e6a" alt=""><figcaption></figcaption></figure>

### **Configure the GDPR Consent Form Settings**

In this section, you’ll configure the GDPR consent options based on your preferences:

* **Your apps**: Choose the apps for which you want to enable GDPR consent.
* **Default language**: Select the language for your consent message (e.g., **English**).

**User Choices Configuration:**

* **Consent**: Allow users to provide consent for personalized ads.
* **Manage options**: This option, when turned **On**, allows users to manage their consent preferences (such as opting out of personalized ads).
* **Do not consent**: You can choose **On** or **Off** for users who do not consent to personalized ads.
* **Close (Do not consent)**: This option can be set to **On** or **Off**, indicating whether the user can close the consent dialog without making a choice.

### **Save and Publish the Consent Settings**

* Once you’ve completed all the settings and customization, click **Save draft** to apply the changes.
* Click **Publish** to publish the consent form to make it live for your users.

<figure><img src="https://2640147814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6oBREmy5ZDz25H3PdXha%2Fuploads%2F9YmucZscn3CZ0iYVPOLT%2FScreenshot_18.png?alt=media&#x26;token=c1e27a90-10be-40bb-bbab-61c04439e3b9" alt=""><figcaption></figcaption></figure>

***

## Mediation

To implement mediation of multiple ad providers, follow the mediation section from the official Admob documentation on how to download and configure 3rd party SDKs.

{% embed url="https://developers.google.com/admob/unity/choose-networks" %}
