Using the UE SDK
Create Ad Surfaces and Branded Object Placements in your Unreal Engine project.
Last updated
Create Ad Surfaces and Branded Object Placements in your Unreal Engine project.
Last updated
Once the SDK is installed and synced, you can begin placing Smart Ads and Branded Objects in your Unreal scenesโthen serve them during gameplay using Blueprint or C++.
Open Window
โ ReneVerse API Editor
in Unreal.
Enter your API Key and Private Key from the Portal.
Click Sync Data
.
Youโll now see foldouts for:
Ad Surfaces List
Branded Object List
Each entry includes metadata (e.g., ad type, ID) and a button to Add to Scene
.
๐๏ธ A
ReneVerse
folder will be added to your Content directory, including data assets and data tables. Keep this folder in the root.
After selecting an Ad Surface from the list:
Click Add to Scene.
You can reposition, group, parent, or scale it like any other actor.
Types:
Plane Banner Ad โ A flat 2D surface.
Decal Banner Ad โ Projects onto geometry using a Decal Component.
Click Add to Scene on a Branded Object entry. You can:
Move or scale the actor.
Adjust the bounding box to define the objectโs space.
When served, a 3D object will be loaded and scaled to fit the bounds.
Once you have setup ad surfaces and object placements, it is easy to serve them at any point during the game's runtime.
There are multiple functions in ReneAPISubsystem that allow you to serve ads.
To batch-serve ads in your scene, you can call:
ServeAllAds()
โ Serve and populate all Ad Surfaces and Branded Objects in your scene.
ServeAdSurfaces()
โ Serve all Ad Surfaces in scene.
ServeBrandedObjects()
โ Serve all Branded Objects in scene.
For granular control, you can serve a single ad, simply by passing the AdSurfaceId or BrandedObjectId to it. Other parameters are optional:
ServeAd(id)
โ Serve a specific Ad Surface in scene.
ServeBrandedObject(id)
โ Serve a specific Branded Object in scene.
You can also get a reference to the actor and call ServeAd()
.
To use the ReneVerse SDK from C++, add ReneVerseSDK
as a module to your .Build.cs
file. Then:
Just like with blueprints, you can serve ads from your code with all the same functionality. Simple get ReneAPISubsystem and call the function that suits your needs:
Batch-serving
ServeAllAds()
โ Serve and populate all Ad Surfaces and Branded Objects in your scene.
ServeAdSurfaces()
โ Serve all Ad Surfaces in scene.
ServeBrandedObjects()
โ Serve all Branded Objects in scene.
Single Serving
ServeAd(id)
โ Serve a specific Ad Surface in scene.
ServeBrandedObject(id)
โ Serve a specific Branded Object in scene.
Or, as mentioned above, reference your desired actor and call ServeAd
:
To stop serving ads, call StopServingAllAds
โ This works for Blueprint and C++.
Blueprint
C++
You can also allow players of your game to connect their ReneVerse account, made in the Portal.
Use Login(email, password)
from Blueprint or C++ to authenticate your player with ReneVerse services.
Blueprint
C++
As mentioned before, after your enter your API credentials, your project will have a new ReneVerse
folder that should be kept in the root of your Content
folder.
Within it, you'll have ReneAPIData
and Data Tables
where every Ad Surface and Branded Object created within the editor will be referenced.
DT_AdSurfaceDataTable
DT_BrandedObjDataTable
If you ever wish to modify a blueprint, you can create a child blueprint from BP_BannerAdSurface
or BP_BrandedObjectPlacement
.
Once created, simply select the Data Table you need โ DT_AdSurfaceDataTable
for Ad Surfaces or DT_BrandedObjDataTable
for Branded Objects. Then select the row containing the Ad Surface or Branded Object ID you wish to serve.
If data seems out-of-sync or corrupted:
Click Cleanup and Update Ads in Scene in the ReneVerse Editor to refresh placements.
You can manage ad assets directly from the ReneVerse Editor in Unreal, rather than having to log into the ReneVerse Portal.
Open Window โ ReneVerse API Editor in Unreal.
Use Create New Ad Surface or Create New Branded Object Placement.
Then, configure the Ad Surface or Branded Object Placement as needed, and click Submit. Then you can add it to your scene.
From the Editor
In the editor, open the Ad Surfaces List or Branded Object List to find your existing ad assets.
Select an item โ click Edit Ad Surface or Edit Branded Object Placement โ update fields โ Submit.
From the Details Panel
Select your desired Ad Surface or Branded Object Placement in scene.
Under Details, find Edit Ad Surface or Edit Branded Object Placement โ update fields โ Submit.
Find the Ad Surface or Branded Object placement you want to remove in the ReneVerse Editor
Click Delete, confirm the action.
โ ๏ธ Deleting removes all actors with that ID in the current scene. Wait for the confirmation popup to ensure success.
Open Console using the ~
key. Enable debug view with the console command:
It shows:
Screen coverage %
View angle
Occlusion checks
Use this to optimize ad placement and visibility.
Edit Ads in Editor or Details Panel