Android Question Please add a Firebase admob tutorial..

Discussion in 'Android Questions' started by NamDongKyun, Jun 26, 2019.

  1. NamDongKyun

    NamDongKyun Member 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: Jun 26, 2019
  2. DonManfred

    DonManfred Expert 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.
  3. NamDongKyun

    NamDongKyun Member Licensed User

    yes ..
    Font size changed..
    DonManfred likes this.
  4. asales

    asales Well-Known Member Licensed User

  5. NamDongKyun

    NamDongKyun Member 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.
  6. NamDongKyun

    NamDongKyun Member Licensed User

    Let me ask you one more question. The actual AdUnitID to use Where can I find it?
  7. sorex

    sorex Expert 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
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice