Skip to content

marian-ionut-codebug/ue-AdMob-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ue-AdMob-plugin

Google Admob android plugin for Unreal Engine

AdMob_final

This document describes about UE project setting configuration for using AdMob plugin AdBox.

AdMob is a mobile advertising platform developed by Google, designed to help app developers monetize their mobile applications through in-app advertising.

AdBox is Android plugin for Unreal Engine which provides methods to integrate AdMob easily to UE projects, especially for UE version 4.27.

In fact, Unreal Engine also provides AdMob in it but UE 4.27 is older version and it doesn’t work anymore nowadays because AdMob has changed a lot from the time when UE 4.27 had been released.

You should configure some project settings in UE 4.27 for using AdBox by following steps below:

Android Minimum SDK Version

You must change the minimum Android SDK version to 26.

This is because AdBox uses high version of AdMob module in it.

Picture1

Add AdMob Advertising Unit IDs

You must add Ad Mob Ad Unit IDs for Banner, Interstitial and Reward Ad.

This is because AdBox uses high version of AdMob module in it.

These IDs are essential for Using AdMob. For more information visit Google AdMob official website. (https://developers.google.com/admob/android/quick-start)

You must also disable Enable Google Play support and Include AdMob support for ads options.

This is because by enabling these items, UE 4.27 generate some deprecated google SDK functions causing crash errors and AdMob module version conflict.

Picture2

Additionally, you must change the App ID defined in AdMob_APL.xml (folder path in plugin: AdBox\Source\AdMob).

Picture3

The IDs shown in the above figures are for only testing.

Disabling Google Plugins

You must disable google plugins shown in following figure.

This is because by enabling these plugins, UE 4.27 generate some deprecated google SDK functions causing crash errors.

Picture4

How to use AdBox in the project

You can use AdBox by simply adding some blueprint functions.

Picture5

  • Banner
    • Show Banner
    • Close Banner

Picture6

The Ad ID is index value of Ad Mob Ad Unit IDs array described in step 2. Index value 0 is for Banner.

  • bInterstitial
    • Show Interstitial

Picture7

Index value 1 is for Interstitial.

  • Reward
    • Load Rewarded Video
    • Play Rewarded Video

Picture8

Index value 2 is for Reward.

That’s all and thanks for your careful reading.

Donate

Bitcoin

donate_btc

bc1qxp3thny294s79vhm0rt48j8wp4ssv4fppks6kz

USDT (ERC20)

donate_erc20

0x6Db413e5cE07a6C2DaD6bB4D864Ab05695D1c1bC

About

Google Admob android plugin for Unreal Engine

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published