# Implementing Admob on Unreal Engine 5.1.1

**URL:** <https://forums.unrealengine.com/t/implementing-admob-on-unreal-engine-5-1-1/1785402>\
**Category:** Mobile\
**Tags:** unreal-engine, crash, ads, build-failed\
**Created:** [April 3, 2024, 1:25pm UTC](https://forums.unrealengine.com/t/implementing-admob-on-unreal-engine-5-1-1/1785402 "2024-04-03T13:25:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yehia\_Mo\_Dakhly](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/yehia_mo_dakhly/32/918324_2.png) [@Yehia\_Mo\_Dakhly](https://forums.unrealengine.com/u/Yehia_Mo_Dakhly)\
**Post date:** [April 3, 2024, 1:25pm UTC](https://forums.unrealengine.com/t/implementing-admob-on-unreal-engine-5-1-1/1785402/1 "2024-04-03T13:25:55Z")

</div>

Hello Friends!

Iam working on my First Game for Android, I finished it but I have some bugs or problems with implementing Admob, It dosen’t work any more!  
Iam using Unreal Engine Blueprints not using any Plugin, and my **Unreal Version is 5.1.1**

First I followed Unreal Engine Documentation:

Enable Google Play Support  
Add Games **App ID** and **Google Play License Key** From Google Play Console  
Add Ad Mob **-Test-** Unit IDs from Google Developers Website  
and add **com.android.vending.BILLING** to the Extra Permissions  
also add this to my **Target.cs** file:

```auto
    if (Target.Platform == UnrealTargetPlatform.Android)
    {
        ExtraModuleNames.Add("OnlineSubsystemGooglePlay");
        ExtraModuleNames.Add("OnlineSubsystem");
        ExtraModuleNames.Add("AndroidAdvertising");
    }

```

But no thing work Neither the **show ad banner** nor **load Interstitial AD and show** worked, and the Game crashed when the time for Ad to be shown on my Android device  
**This is some crash log from logcat:**

```auto
  2696 11158 E crkg : Phenotype API error. Event: # fers@aa4af5e9, EventCode: GET_EXP [CONTEXT service_id=51]
  2696 11158 E crkg : crin: 29505: No config packages for log source, or config package not registered
  2696 11158 E crkg : at crlc.c(:com.google.android.gms@240812038@24.08.12 (190400-608507424):79)
  2696 11158 E crkg : at crla.h(:com.google.android.gms@240812038@24.08.12 (190400-608507424):3)
  2696 11158 E crkg : at crkg.g(:com.google.android.gms@240812038@24.08.12 (190400-608507424):18)
  2696 11158 E crkg : at crkg.f(:com.google.android.gms@240812038@24.08.12 (190400-608507424):11)
  2696 11158 E crkg : at bjyd.fO(:com.google.android.gms@240812038@24.08.12 (190400-608507424):1)
  2696 11158 E crkg : at bjym.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):100)
  2696 11158 E crkg : at edos.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):21)
  2696 11158 E crkg : at alab.c(:com.google.android.gms@240812038@24.08.12 (190400-608507424):50)
  2696 11158 E crkg : at alab.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):76)
  2696 11158 E crkg : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  2696 11158 E crkg : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
  2696 11158 E crkg : at alfp.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):8)
  2696 11158 E crkg : at java.lang.Thread.run(Thread.java:1012)
  2696 11158 W AsyncOperation: operation=GetExperimentTokensOperationCall, opStatusCode=29505 [CONTEXT service_id=51]
  2696 11158 W AsyncOperation: OperationException[Status{statusCode=No config packages for log source, or config package not registered, resolution=null}]
  2696 11158 W AsyncOperation: at crkg.g(:com.google.android.gms@240812038@24.08.12 (190400-608507424):48)
  2696 11158 W AsyncOperation: at crkg.f(:com.google.android.gms@240812038@24.08.12 (190400-608507424):11)
  2696 11158 W AsyncOperation: at bjyd.fO(:com.google.android.gms@240812038@24.08.12 (190400-608507424):1)
  2696 11158 W AsyncOperation: at bjym.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):100)
  2696 11158 W AsyncOperation: at edos.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):21)
  2696 11158 W AsyncOperation: at alab.c(:com.google.android.gms@240812038@24.08.12 (190400-608507424):50)
  2696 11158 W AsyncOperation: at alab.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):76)
  2696 11158 W AsyncOperation: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  2696 11158 W AsyncOperation: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
  2696 11158 W AsyncOperation: at alfp.run(:com.google.android.gms@240812038@24.08.12 (190400-608507424):8)
  2696 11158 W AsyncOperation: at java.lang.Thread.run(Thread.java:1012)

```

**I noticed that when package it some google classes missing, I tried to solve this but I couldn’t, How Can I solve it?:**

 ![Missing Class](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/f/1/5f14b53ecca15fc1361a80150031e5b8dc7be1e7.png)

**And when I Upload My Game To The Testers for Closed Test on Google Play Console there is an Error appeared on Experimental report, How Can I Solve it?**

 ![Google Play Console](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/d/8/fd86dcb6d95ae31dda3937cc05754cab6039ff1f.png)

\*\*

> Also I Have many other Questions:

\*\*

1. Must I implement Firebase or any API on Google Cloud For Admob?

2. where can I find module directory to edit Build.gradle with this code and Must I edit it to work with Admob ?

```auto
dependencies {
  implementation 'com.google.android.gms:play-services-ads:23.0.0'
}

```

1. Where should I add AdMob app ID on My Project like this?

```auto
<manifest>  
<application>   
<!-- Sample AdMob app ID: ca-app-pub-3940256099942544~3347511713 --> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>  
</application></manifest>

```

1. Should I add any other code in my \_\_\_\_\_.build.cs file?

> **Sorry for this long post and so grateful for your help!**

---

<div class="post-metadata">

**Author:** ![BP\_SpawnGato](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bp_spawngato/32/977690_2.png) [@BP\_SpawnGato](https://forums.unrealengine.com/u/BP_SpawnGato)\
**Post date:** [September 14, 2024, 2:22pm UTC](https://forums.unrealengine.com/t/implementing-admob-on-unreal-engine-5-1-1/1785402/2 "2024-09-14T14:22:01Z")

</div>

Hello! I asked a lot of the same questions youre asking on another thread and have not recieved an answer either. Did you ever get this to work?

---

<div class="post-metadata">

**Author:** ![Bdissa](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bdissa](https://forums.unrealengine.com/u/Bdissa)\
**Post date:** [February 17, 2025, 8:55pm UTC](https://forums.unrealengine.com/t/implementing-admob-on-unreal-engine-5-1-1/1785402/3 "2025-02-17T20:55:32Z")

</div>

First off, check out this page. It tells you where to add your app ID.

[Google AdMob Blueprint Plugin Setup - Codeible](https://codeible.com/view/videotutorial/8k92mQRVWseK67IjfOMg;title=Google%20AdMob%20Blueprint%20Plugin%20Setup)

Also, make sure that you are initializing the google ads using the “initialize google mobile ads” node when you first start up your app. If you do not see it, make sure the google admob plugin is enabled and restart.

Hope this helps.
