UnityAds - Mediation
This section contains information on how to use UnityAds as a mediation partner.
Enabling UnityAds Mediation
First, we need to enable UnityAds Mediation.
- Open
<Project>/Config/DefaultEngine.ini
. - Add the following configuration:
[AdsPro.Mediation] EnableUnityAdsMediation=true
- Save and close the file.
On iOS, you will have to rebuild the plugin for the change to take effect.
Make sure to follow this guide to create and configure an UnityAds account.
GDPR
You can update the consent status with the C++ method UUnityAdsLibrary::SetUserConsent()
or the equivalent Blueprint node Set User Consent
.