Facebook - Mediation

This section contains information on how to use Facebook as a mediation partner.

Enabling Facebook Mediation

First, we need to enable Facebook Mediation.

  1. Open <Project>/Config/DefaultEngine.ini.
  2. Add the following configuration:
    [AdsPro.Mediation]
    EnableFacebookMediation=true
  3. 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 Facebook account.

Additional Facebook Settings

Methods

The following methods are available to customize Facebook settings:

C++ Blueprints Description
UFacebookLibrary::SetIsAgeRestrictedUser() Set Is Age Restricted User Sets if the user is age restricted.
UFacebookLibrary::InitializeFacebookSDK() Initialize Facebook SDK Initializes the Facebook SDK with your SDK key.

Config

The followin configuration key are available to customize Facebook settings:

[AdsPro.Mediation.Facebook]
MuteAudio=true ; If we want to mute audio for ads.

GDPR

Please review Facebook's guidance for information about GDPR and Facebook advertising.

Ad Blocker detected. The documentation might not work properly.
Some pages or images might be blocked if your ad blocker uses URL-based blocking as it contains the word "AdMob".
This documentation doesn't show any ads whatsoever.

The documentation is being reworked.

Page content is subject to change. You might need to force refresh the page to see changes.