MyTarget - Mediation
This section contains information on how to use MyTarget as a mediation partner.
Enabling MyTarget Mediation
First, we need to enable MyTarget Mediation.
- Open
<Project>/Config/DefaultEngine.ini
. - Add the following configuration:
[AdsPro.Mediation] EnableMyTargetMediation=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 a MyTarget account.
Additional MyTarget Settings
The following methods are available to customize MyTarget settings:
C++ | Blueprints | Description |
---|---|---|
UMyTargetLibrary::SetUserAgeRestricted() |
Set User Age Restricted |
Sets if the user is an age restricted user. |
UMyTargetLibrary::SetCcpaUserConsent() |
Set CCPA User Consent |
Sets if we have the user's CCPA consent. |
UMyTargetLibrary::SetIabUserConsent() |
Set IAB User Consent |
Sets if we have IAB user consent. |
GDPR
You can update the consent status with the C++ method UMyTargetLibrary::SetUserConsent()
or the equivalent Blueprint node Set User Consent
.