This class shows the consent form required for ads in EEC countries and UK in several languages (see Consts in Class_Globals). It's almost a clone of the Google Consent form.
Code is B4X, written for B4A. For the moment I don't use B4J or B4I, but I guess it's not much effort to adapt this...
after several months of work, forum posts, problems solved and money spent, I finally finished my last application in b4x
It name Click & Claim, and it is a free faucet for android.
The feature that distinguishes this app from the others, in addition to working, is that it saves...
i used admob like this:
also i use this code in manifest for admob:
and i want change this Replacement from...
I have gone through the hoops to implement AdMob ads with the FirebaseAdMob library. I have ads displaying in the app and the AdMob dashboard shows some impressions, so it seems to be implemented correctly. However, tapping on the ads has no effect - there is a flash on the ad background...
I have the following code
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim AdView1 As AdView
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout...
I've problem with back button...
When an admob Interstitial ad is displayed, if you press the back button, you can close the ad before the ad countdown ends.
I tried with a timer but the activity pauses and the timer does not work.
How do I fix this?
Hi everyone, I am developing an app with adds so that I can monetize it in Google Playstore since I am broke due to covid-19. I followed all the tutorial based on Firebase admobs. But I encounter an error from opening the b4a file which says Maven Artifact not found...
I need to add an advertising code (ADMOB) for kids,
I saw an example from 2016 and added.
But I see adult banner ads. Is it okay to see adult ads?
An intermediate ad for children I need a code in full.
hi, i recently used admob.
I created one Native ad, it started working some days ago.
Today i created other two native ads, after that i stopped receving the ads, even the first one i created some days ago (the event doen't trigger..)
It is normal? is an admob behaviour?
Hi everyone one, i'm trying to learn how to use AdMob, there are too many updates in the forums that creates some confusion.
I found out this awesome example from @asales but when i change the ID's nothing works anymore.
What i've done:
Went on Firebase to create a new project, downloaded the...
I noticed that on some devices the banner is cutting.
I wonder if you have how to implement Adaptive Banners on B4A.
I've been grateful for the attention.
From code posted by Erel on this thread https://www.b4x.com/android/forum/threads/admob-adaptive-banners.111525/
Sub GetAdaptiveAdSize As AdSize
Dim ctxt As JavaObject
Dim AdSize As JavaObject
Dim width As Int = 100%x / GetDeviceLayoutValues.Scale...
I have developed 2 test (AdMob) projects; neither of them receives ads (always error 3).
Even the apps that I published maybe a couple of years ago and that I haven't updated anymore don't get advs anymore; I would like to know if your apps published or updated only before 2019 still receive...
anyone help me how to integrate firebase admob in my application. i tried several options described in the internet but i can't. my application always getting crash even after i added firebaseadmob lib 1.60 in my app.
my application getting crashed after i added the following
1. in manifest i...
Across the forum, there are pieces of code that you can put together to make native ads work. I put everything together into a class that saves me a lot of time, and hopefully you will find it helpful also.
This example uses a pre-built layout and uses the Unified Native Ad for the type of...
Hello from France, I share with the community my first hybrid application construct with B4A.
The main game is embedded in a webview placed in the main activity.
And I used Firebase Admob library in a second activity.
I'm going to set AdMob Native ads in my app.
These ads must be displayed after each panel in the scroll but only at the end of the scroll is displayed:(
where is the problem ?
please guide me;)
#Region Activity Attributes
I have implemented Admob ads into one of my apps it's been more than 4 days and I still can't see any ads, is anyone else experiencing this issue? I don't believe I'm missing anything, I have spent hours checking and making sure I followed the implementation instructions and I can't seem to find...
I set this up for a new App I've created.
The test reward ad showed and I thought it was all done and dusted, but now I'm not so sure that it is working any more - maybe due to sdk and b4a updates and my having misread or missed some of the requirements.
My own reward ad wasn't showing - I had...
¿Alguien tiene un pequeño ejemplo de como mostrar un banner de Admob?
He bajado varios ejemplos pero ninguno me funciona. Unos requieren modificar el Manifiest, otros requieren una api superior a...
Pero nada me funciona.
Les agradeceré un ejemplo que funcione. Entiendo que el ejemplo...