How do I integrate admob ads in Android Studio best solution

Get help using Construct 2

Post » Mon Jun 26, 2017 12:17 am

Ok, it's been three weeks now since looking for a solution on monetizing my app created from C2. Because of being outdated, all the tutorials, plugin and services right now to export and monetize your android app are useless. I don't want to get into details but you know what I mean.

Just to share what I think could be the ultimate solution to exporting your game and monetizing it, is by using Android Studio. Why, you may ask, it may be bulky to download and install, But the benefit is, you'll have your very own apk builder on your computer, never again rely on free crappy sevices online like cocoon, phonegap builder and intel xdk.

How I came up with this idea? Because of looking for a solution I turned to youtube and accidentally stumbled upon some tutorials on how to implement admob ads in Android Studio. So I googled if there's a way to get C2 exported game to Android Studio. Luckily, I found this site, and yeah I followed the instruction and it work. I'm now able to build apks effortlessly.

http://www.mobilezdeveloper.com/running-construct-2-games-on-android-devices-with-cordova-and-android-studio/

Now, the only left thing to solve is what code to edit on the Android Studio files to integrate admob in your project app to show ads. Hopefully someone here in the blog is able to know how to make this work and share a tutorial. I'm pretty sure so many C2 users will benefit from this information.
B
46
S
14
G
20
Posts: 86
Reputation: 12,886

Post » Mon Jun 26, 2017 1:12 am

For what i remember, using admob plugin was not very hard, you struggle a bit but get it working... however, i understand your frustration with the "free crap", they make a huge advertise about their services but nothing work without some struggling(sometimes a lot), and the ones who knows how to do the things just hide away and won't share the knewledge, today for example i spent more than 6 hours just trying to make the google play game services work in my apk and it still won't work(at least i learned a lot about google services).

But to your question: The code to edit... well, hard to explain, but i can say that the best solution is to write a cordova plugin for it, android API for admob must be hard for your if you aren't a developer. Since you are using construct2 and want to make an APK, the best solution is to use cordova, and to use admob in your apk you could develop a plugin(as i said it may be hard) or you can find one, maybe the one from cranberrygame? or you can use the construct2 plugin that just use the cranberrygame cordova plugin.

The thing is, construct2 games are web applications, they need a native app(on android, ios, windows, etc.) to run on, cordova already give it to you, you just need to develop a plugin to it, in this case the plugin already exist, just learn how to use it. I'm just talking about cordova because intel xdk and cocoon all relies upon cordova to build the final apk.
B
5
S
2
Posts: 8
Reputation: 443

Post » Mon Jul 31, 2017 3:04 pm

LaroTaio wrote:Ok, it's been three weeks now since looking for a solution on monetizing my app created from C2. Because of being outdated, all the tutorials, plugin and services right now to export and monetize your android app are useless. I don't want to get into details but you know what I mean.

Just to share what I think could be the ultimate solution to exporting your game and monetizing it, is by using Android Studio. Why, you may ask, it may be bulky to download and install, But the benefit is, you'll have your very own apk builder on your computer, never again rely on free crappy sevices online like cocoon, phonegap builder and intel xdk.

[...]

Now, the only left thing to solve is what code to edit on the Android Studio files to integrate admob in your project app to show ads. Hopefully someone here in the blog is able to know how to make this work and share a tutorial. I'm pretty sure so many C2 users will benefit from this information.


I am in a very similar situation. Official AdMob Plugin gives very very low revenue (with RPMs under 30ct...) and I have read many users claiming that the RPM in a C2 app is between 20-40% of the RPMs in Android Studio apps with the AdMob SDK integrated manually. Also, the AdMob Plugin is very slow loading ads (almost 5 seconds to load an interstitial with perfect internet connection!). I don't know if it is scirra's plugin or the Cordova plugin the one that is performing that poorly.

Thus, I want to integrate the AdMob SDK myself in Android Studio, but I am not a programmer and do not know how to do it.

LaroTaio wrote:Hopefully someone here in the blog is able to know how to make this work and share a tutorial. I'm pretty sure so many C2 users will benefit from this information.
+1
B
18
S
5
Posts: 127
Reputation: 1,482


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests