admob

  1. melonZgz

    Android Question admob ads content, google play families policy and the use of tagForChildDirectedTreatment

    Hello friends. I have been trying to update one of my games without much success, since Google has rejected my update several times, always claiming the content of the ads. Finally yesterday they removed the game from the store. A game with almost 1M downloads The problem is that it's a game...
  2. shadowdevfr

    Android Question Maven artifact not found even if it's installed through the sdk manager

    Hi! I've been using b4a for a while, but this is my first forum post. This time i'll assume I'm pretty much stuck. I'm integrating admob to my app. I added everything into the manifest, but still, an error is appearing on compiling and refreshing libraries. "Maven artifact not found...
  3. amidgeha

    Android Question How to implement AppOpenAds

    I updated B4A Sdk Manager with all recommended items and downloaded FirebaseAdMob2. Still not clear how to show AppOpenAds in normal B4A app and not B4XPages app
  4. ibkme

    Android Question how to mute ads on my app using this code from google [MobileAds.setAppMuted(true);] ??

    Hello, I want a way to mute Admob ads, ((Video reward ads, and Interstitial ads...etc)) on my app. I read this topic from Google: https://developers.google.com/admob/android/global-settings , but I don't know how to integrate this code into my own application using Android Studio. Is there...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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...
  13. 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...
  14. 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
  15. 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...
  16. 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.
  17. 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!
  18. 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...
  19. 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!
  20. 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...
Top