Skip to main content

Unreal Integration

This page guides you through the process of downloading, importing, and configuring the Yodo1 MAS SDK for Unreal Engine.

Prerequisites

To integrate the Yodo1 MAS SDK on Unreal Engine, you need to meet the following requirements:

  • Unreal Engine 4.27 or above
  • For Android:
    • Minimum API Level 23 or above
    • Target API Level 33 or above
    • If you use Proguard, please refer to the documentation
  • For iOS:
    • iOS 13.0 or above
    • Xcode 15.2 or above
    • CocoaPods 1.10.0 or above

Installation

Download the Plugin

Download the MAS Unreal Engine plugin.

Import the Plugin

Copy and paste the downloaded Plugins folder into your project's root directory.

Configure the Plugin

  1. Update Unreal Version
    • Open YodoAds.uplugin file in the MAS plugin folder
    • Update the specified version to match your Unreal Engine version
Update Unreal Engine Version
Update Unreal Engine Version
  1. Update Xcode Path

    • Open Plugins/YodoAds/Source/YodoAds/YodoAds.Build.cs
    • Ensure the Xcode installation path in your system is correctly set
    • Incorrect path may lead to build issues
  2. Add yodo1mas.plist

    • Add yodo1mas.plist file in the resources folder in Xcode to avoid MAS SDK initialization failure
    • You can download the file from the MAS dashboard
Add yodo1mas.plist File
Add yodo1mas.plist File

Configure the SDK

You need to add your Appkey manually in your project if you haven’t added your game’s store link in the MAS dashboard yet. You can find your app key in MAS dashboard.

Go to Project Settings -> Yodo Ads and configure the following settings:

Basic SDK Configuration
Basic SDK Configuration

Initialize the SDK

Initialize the MAS SDK using the blueprint system:

Initialize MAS SDK
Initialize MAS SDK

The C++ function to initialize the MAS SDK can be found in the YodoAdsLibrary.cpp file.

Configure CCPA

CCPA can be configured using the blueprint system. The default value is already set in the code. Only use this if you need to update the value:

CCPA Configuration
CCPA Configuration

Configure COPPA

COPPA can be configured using the blueprint system. The default value is already set in the code. Only use this if you need to update the value:

COPPA Configuration
COPPA Configuration

Configure GDPR

GDPR can be configured using the blueprint system. The default value is already set in the code. Only use this if you need to update the value:

GDPR Configuration
GDPR Configuration

Video Tutorial