B4A Library FirebaseAdMob v1.6

Status
Not open for further replies.

Computersmith64

Well-Known Member
Licensed User
Longtime User
Just wondering why this library update was required? I was already using firebase-ads v18.2.0 & added:

B4X:
<meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
to the manifest - which all seemed to work fine. Are there other changes that necessitated the new FirebaseAdMob library?

- Colin.
 

iz0ndg

Active Member
Licensed User
Longtime User
Is it normal that, after following the instructions for using the FirebaseAdMob v1.6 library, I recompiled the app, I get 99% of the time the error code 3? (1 of 100 advertising appears).
The old app, which is also on the PlayStore, works.
 

Computersmith64

Well-Known Member
Licensed User
Longtime User
Is it normal that, after following the instructions for using the FirebaseAdMob v1.6 library, I recompiled the app, I get 99% of the time the error code 3? (1 of 100 advertising appears).
The old app, which is also on the PlayStore, works.
I wondered about that too. I had the same issue with a test build of an app on one of my devices, but the ads worked ok on a different device with the same build. I thought it was a bit strange.

- Colin.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
to the manifest - which all seemed to work fine. Are there other changes that necessitated the new FirebaseAdMob library?
Yes. Google instructs developers to call:
B4X:
Dim MobileAds As MobileAds
MobileAds.Initialize

Is it normal that, after following the instructions for using the FirebaseAdMob v1.6 library, I recompiled the app, I get 99% of the time the error code 3? (1 of 100 advertising appears).
The old app, which is also on the PlayStore, works.
It looks like Google is more aggressive in preventing ads from being displayed during development.
 

asales

Expert
Licensed User
Longtime User
I want to test the B4A 9.50 beta, but I have several apps with ads and I don't want update it now.

I can use this version 1.60 with the old version of Firebase (< 18.1.1), without made the modifications?

Or I need install the B4A 9.50 and replace the internal FirebaseAdmod 1.60 with the previous version 1.55?
 

skaliwag

Member
Licensed User
Longtime User
It looks like Google is more aggressive in preventing ads from being displayed during development.

This is driving me nuts.
How are we supposed to check if ads are working correctly if Google won't serve them during development?
 

Balint

New Member
Licensed User
Hi Guys,

Can you help me, please?
I receive the following error message.
 

Attachments

  • Error.JPG
    39.5 KB · Views: 319
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…