admob

  1. ArminKh1993

    B4A Library GoogleMobileAds(FirebaseAdmob 2021)

    Hi there;) Ok,I think the time has come to release my library over the new version of Google Mobile Ads SDK. This library is fully compatible with the new version(20.0.0) of GoogleMobileAds SDK. Have a look at it. (https://developers.google.com/admob/android/migration) All changes in the link...
  2. P

    Android Question help! admob size smartbanner

    I received a violation notification from Admob , i've follow the tutorial firebaseadmob library with this code: Sub ads(banner As String) BannerAd.Initialize2("BannerAd", banner, BannerAd.SIZE_SMART_BANNER) Dim height As Int If GetDeviceLayoutValues.ApproximateScreenSize < 6 Then...
  3. K

    Android Question Firebase admob Issue

    Hi All I am having an issue with my app. I am creating a simple B4x Page application, with one page [this has a couple of images and a button. there is also a panel which is the placeholder for the admob to display into. My app will install and run on my phone perfectly until I add...
  4. A

    Android Question [Solved] Admob / advertising id question on how to use

    Reading throught the code snippet on the link below: https://www.b4x.com/android/forum/threads/advertising-id.101050/ I am a little confused if we need to replace the admob unit id with the advertising id or there is no relation between both? I have checked the google link but still confused...
  5. Ivan Aldaz

    B4A Class AdMobConsentFormMultilang

    Hi 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...
  6. S

    Share My Creation click & claim - free bitcoin faucet

    Hi everyone. after several months of work, forum posts, problems solved and money spent, I finally finished my last application in b4x It names 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...
  7. D

    Android Question how change AddReplacement from code?

    Hi i used admob like this: https://www.b4x.com/android/forum/threads/firebaseadmob-admob-ads-integrated-with-firebase-backend.67710/#content also i use this code in manifest for admob: AddReplacement($ADMOB_APP_ID$, ca-app-pub-3940256099942544~3347511713) and i want change this Replacement from...
  8. S

    Android Question Tapping on ads does not work

    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...
  9. A

    Android Question invalid ad request in admob google

    I have the following code Sub Globals '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 End Sub Sub Activity_Create(FirstTime As Boolean) 'Do not forget to load the layout...
  10. BugNot

    Android Question InterstitialAd Disable back button

    Hello, 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? Thank you
  11. Lyndon Bermoy

    Android Question Maven Artifact not found: com.google.firebase/firebase-ads

    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...
  12. D

    Android Question I need to add an advertising code (ADMOB) for kids

    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. Thanks.
  13. M

    Android Question AdMob Stop sending ads

    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? Thanks!
  14. M

    Android Question AdMob not getting ads

    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...
  15. Flavio SOuza

    Android Question Banner Adaptive Admob

    Hello I noticed that on some devices the banner is cutting. That's bad! I wonder if you have how to implement Adaptive Banners on B4A. https://developers.google.com/admob/android/banner/adaptive I've been grateful for the attention. Hugs!
  16. Lucas Eduardo

    Android Question Adaptive Banners

    From code posted by Erel on this thread https://www.b4x.com/android/forum/threads/admob-adaptive-banners.111525/ 1: Code: Sub GetAdaptiveAdSize As AdSize Dim ctxt As JavaObject ctxt.InitializeContext Dim AdSize As JavaObject Dim width As Int = 100%x / GetDeviceLayoutValues.Scale...
  17. LucaMs

    Android Question AdMob - no ads received

    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...
  18. Yeskay

    Android Question How to use FirebaseAds in my app

    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...
  19. Jack Cole

    B4A Class FirebaseAdmob Native Ad Class

    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...
  20. B

    Share My Creation Game Puzzle (League of Legends)

    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. The main difficulty was to establish the dialogue between Javascript and B4A...
Top