Android Question Please add a Firebase admob tutorial..


Licensed User
Hi Erel..

For beginners like myself, the information is so scattered that it is hard to understand.

Please add a Firebase admob entry to the B4X video tutorial.
Last edited:


Licensed User
Please DO NOT
- change the font-size as it only make it difficult to read.
- DO NOT write everything BOLD.

Use the default-size like in this post and only mark parts of it in bold.
Upvote 0


Licensed User
After a few trial and error, I succeeded in adding Firebase Admob to my app.
I want others to be able to refer Write the order of work.

1.Set the package of Build Configurations of B4A IDE.
(Required when registering an app on the Firebase console.)

2.Add the app from the Firebase console.

3.Download the json file from the Firebase console and copy it to the b4a project folder.

4.In the Manifest Editor From the bottom line Add the following syntax
AddManifestText(<activity android:name=""
AddPermission (android.permission.ACCESS_NETWORK_STATE)
AddPermission (android.permission.INTERNET)
CreateResourceFromFile(Macro, FirebaseAdMob.FirebaseAds)
AddApplicationText(<meta-data android:name=""
android:value="@Integer/google_play_services_version" />)

5.Add FirebaseAdMob from the library manager of B4A IDE. (I used version 1.55)

6.Set the private Sign key in the IDE menu.

Insert Erel's code in the link.

8.Run(F5) - Release Mode


Thanks for the advice.
Upvote 0


Licensed User
actually you can ignore step 2 & 3 if your only concern is earning with the ads and using only the admob console.

the ad unit id is that ca-app-pub-... number under the name you gave your ad unit under the ad units menu of your app
Upvote 0