StefanoAccorsi Member Licensed User Longtime User Aug 15, 2016 #1 Hi there. Please, as usual, excuse me for my "noobing" This is the first time I'm tring to use AdMod and, obviously, the first time I'm tring to configure it in B4A. I followed the tutorials, all went ok: now in my app (still not released!) I can see the test-ads-banner. But ... how to switch to the "real one"? I mean: I registered in Firebase as suggested, but there's a key or something I've to put in my app? I mean something to substitute this line of code: Code: BannerAd.Initialize2("BannerAd", "ca-app-pub-3940256099942544/6300978111", BannerAd.SIZE_SMART_BANNER) anyway I can't find it in my Firebase control panel ... (Manifest will follow: I'm not on that PC right now ...) Thank you!
Hi there. Please, as usual, excuse me for my "noobing" This is the first time I'm tring to use AdMod and, obviously, the first time I'm tring to configure it in B4A. I followed the tutorials, all went ok: now in my app (still not released!) I can see the test-ads-banner. But ... how to switch to the "real one"? I mean: I registered in Firebase as suggested, but there's a key or something I've to put in my app? I mean something to substitute this line of code: Code: BannerAd.Initialize2("BannerAd", "ca-app-pub-3940256099942544/6300978111", BannerAd.SIZE_SMART_BANNER) anyway I can't find it in my Firebase control panel ... (Manifest will follow: I'm not on that PC right now ...) Thank you!
Erel B4X founder Staff member Licensed User Longtime User Aug 15, 2016 #2 Moved to the questions forum. You need to register with AdMob: https://www.google.com/admob/ Upvote 0
StefanoAccorsi Member Licensed User Longtime User Aug 18, 2016 #3 Hi @Erel, I registered myself in admod. Then submitted the app in Play Store and waited for it to be deployed. When published, I returned into admob site and created a new app ("monetize" section) linking it to my app freshly published in Play Store. AdMod gave me two IDs: app-ID and another one ("ID unità pubblicitaria" I don't know how to translate it from italian ...) The last one has a syntax like "ca-app-pub-nnnnnnnnnnnnnnnn/" so numbers then "/" then nothing else. I used this one in the line of code above: Code: BannerAd.Initialize2("BannerAd", "ca-app-pub-xxxxxxxxxxxxxxx/", BannerAd.SIZE_SMART_BANNER) but no more banner ... Thank you. Upvote 0
Hi @Erel, I registered myself in admod. Then submitted the app in Play Store and waited for it to be deployed. When published, I returned into admob site and created a new app ("monetize" section) linking it to my app freshly published in Play Store. AdMod gave me two IDs: app-ID and another one ("ID unità pubblicitaria" I don't know how to translate it from italian ...) The last one has a syntax like "ca-app-pub-nnnnnnnnnnnnnnnn/" so numbers then "/" then nothing else. I used this one in the line of code above: Code: BannerAd.Initialize2("BannerAd", "ca-app-pub-xxxxxxxxxxxxxxx/", BannerAd.SIZE_SMART_BANNER) but no more banner ... Thank you.
Erel B4X founder Staff member Licensed User Longtime User Aug 19, 2016 #4 It doesn't look correct. It should look like the id in the first post. Example: Upvote 0
StefanoAccorsi Member Licensed User Longtime User Aug 20, 2016 #5 Erel said: It doesn't look correct. It should look like the id in the first post. Example: Click to expand... Thank you, you were right but the ID AdMod gives you while registering is somehow incomplete! Through the control panel I opened my app page and found the right code. Upvote 0
Erel said: It doesn't look correct. It should look like the id in the first post. Example: Click to expand... Thank you, you were right but the ID AdMod gives you while registering is somehow incomplete! Through the control panel I opened my app page and found the right code.