AdMob implementation

I am using another one, Am I using the right blocks?

1 Like

No. You've setup blocks in wrong way. Here is your mistake. Set InitializeSdk function inside Screen initialize event. And you've to load the banner ad to show it inside any layout.

hello, Thank you for correcting me, It's all working fine!!

1 Like

ok, great
and next time it would be nice to provide a link to the extension you are using, so we do not have to guess... thank you

Taifun

1 Like

sorry about that! this is the link to it: [Free] Admob Extension - Add different types of AdMob ads in your application - Extensions - Kodular Community

1 Like

Well, actually it is the same extension from @oseamiya , only taken from the Kodular community this time...
It looks like we have to mark it as outdated also there...

Let us know, if you also get the following error afrer uploading your project to Google Play

Taifun

1 Like

hello, Outdated? but is working! I haven't uploaded will let you now!

1 Like

Hello, I uploaded the app and it had no issues! just that I don't see any ads so far!
Note: Can you please do me a favor an installed the app on your phone just for testing, Because my son installed the app on his phone and it displays weird and on my phone it looks ok, Thus can you do it and send me a screenshot of it? this is the link to it: https://play.google.com/store/apps/details?id=appinventor.ai_oscarmedinasgroup.GamesHunter

1 Like

I can't see any ads into your application.

Same at my end!
When I created the .apk to check, it did show the ad on 1 screen, and then on screen 2 it displayed the test one, but nothing on screens 3, and 4. Thus I uploaded the app to the Play Store to see it all works but It hasn't.
If you don't mind I have screenshots of blocks and components for each screen; is there a mistake there perhaps? Thank you!




Oscar Medina Matiz

1 Like

Blocks are looking ok.

Can it be because I don't have the app-ads.txt on th root of my site?( I can't do it with Bootstrap hosting, yet) Thank you

1 Like

I think no. It should be working without it.

Ok, then Thank you!

Welcome
How are you
I am a beginner app developer*
I used your Admob tool and when I try it on AI Companion I get this error:
A required meta-data tag in your app's AndroidManifest.xml does not exist. You must have the following declaration within the element:
Note: You will not see another error reported for 5 seconds.
What is the solution?
I used the extensions from the following link: [OUTDATED][Free] Admob Extension - Add different types of AdMob ads in your application
Note that English is not my mother tongue, so I used | (Google Translate)

1 Like

Hi, the extension you are using is outdated. You need to look alternative adbmob extensions here:

1 Like

I did not find free replacement accessories in this link

1 Like

Can you help me on this dilemma?
Thank you

1 Like

It isnt feasible by the community members to support something that has been outdated for years. You can watch the tutorials, videos etc mentioned in the topic and can experiment to find the problem.


Just so that I can let you know, you are testing extension in companion, try to build the app instead and you need to learn to include meta-data tag elements to manifest as the error says. You can find details about it in the topic.

But you cannot expect support to be provided to this issue.

1 Like

what about you writing your own extension and providing it for free for the community?

more information about how to create an extension see the App Inventor Extensions document
however that will be more advanced and will require some Java skills...

you might want to consider:

You can start learning all you need to learn to do it, then do it, after long days of trying things, testing and failing, all in your spare time, leaving other things you like to do for this.
Then after all that time and intellect invested, just give it out for free so everyone can make money with it except you.
Sounds awesome right? :thinking: :no_mouth:
(by @Italo)

Taifun

1 Like