1. Enable test mode

Call Appodeal Set Testing action to enable the test mode.

C++

UE4 enable test mode
UAppodealComponent::setTesting(true);

Test mode allows you to show our test ads with 100% fillrate.

2. Enable logging

To enable debug logging use the Appodeal Set Log Level action.

C++

UE4 enable logging
UAppodealComponent::setLogLevel(LogLevel::verbose);
Available parameters: LogLevel::verbose, LogLevel::debug, LogLevel::none


Logs will be written to logcat using tag "Appodeal".

Available parameters: None, Debug, Verbose.

3. Disable networks

To disable network use Appodeal Disable Network action. Specify the network name and select ad type you want to disable for this network.

C++

UE4 disable networks
UAppodealComponent::disableNetwork(networkName, AdType::INTERSTITIAL | AdType::BANNER);
Available parameters: "adcolony", "admob", "amazon_ads", "applovin", "appnext", "avocarrot", "chartboost", "facebook", "flurry", "inmobi", "inner-active", "ironsource", "mobvista", "mailru", "mmedia", "mopub", "ogury", "openx", "pubnative", "smaato", "startapp", "tapjoy", "unity_ads", "vungle", "yandex".

4. Disable location permission check

To disable toast message "ACCESS_COARSE_LOCATION permission is missing", use Appodeal Disable Location Permission Check Action.

ะก++

UE4 disable location permission check
UAppodealComponent::disableLocationPermissionCheck();

5. Disable write external storage permission check

To disable toast-messages "WRITE_EXTERNAL_STORAGE permission is missing", use Appodeal Disable Write External Storage Permission Check Action.

C++

UE4 disable write external storage permission check
UAppodealComponent::disableWriteExternalStoragePermissionCheck();

6. Test third-party networks adapters integration

To start test activity for testing adapters integration, use Appodeal Start Test Screen  Action.

C++

UE4 test 3rd party networks
UAppodealComponent::startTestScreen();

7. Disable data collection for kids apps

To disable data collection for kids apps use Appodeal Set Child Directed Threatment Action.

C++

UE4 disable data collection for kids
UAppodealComponent::setChildDirectedTreatment(true);

8. Mute videos if call volume is muted

To mute video sound when the call volume is muted use Appodeal Mute Videos If Calls Muted Action.

C++

UE4 mute videos if calls muted
UAppodealComponent::muteVideoIfCallsMuted(true);

9. Send extra data

To send key-value data to Appodeal, use the actions below:

  • Appodeal Set Extra Data String Action - to set extra string parameter.
  • Appodeal Set Extra Data Boolean Action - to set extra boolean parameter.
  • Appodeal Set Extra Data Integer action - to set extra integer parameter.
  • Appodeal Set Extra Data Float Action - to set extra float parameter.

C++

UE4 send extra data
UAppodealComponent::setExtraData(FString name, FString value);
UAppodealComponent::setExtraData(FString name, bool value);
UAppodealComponent::setExtraData(FString name, int value);
UAppodealComponent::setExtraData(FString name, float value);

10. Get predicted eCPM by ad type

To get predicted eCPM value use Appodeal Get Predicted Ecpm action and tick needed Ad Type.

C++

UE4 get predicted ecpm
float ecpm = UAppodealComponent::getPredictedEcpm(AdType);