[UPDATED] tutorial: Attaching Admob to RenPy

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Message
Author
Lightworker
Regular
Posts: 104
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Discord: Happiness+#1168
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#16 Post by Lightworker »

I am going to take a crack at it.

Hseo
Regular
Posts: 38
Joined: Thu Sep 24, 2009 10:42 am
Completed: High School Life:HSL
Deviantart: greeeed
Contact:

Re: Tutorial: Attaching Admob to RenPy and earn some money.

#17 Post by Hseo »

i_jemin wrote:
Hseo wrote:Tried to used your code but failed
True to be told, I Can't find build.gradle (Module:

For now, I only know how to show top banner ads but not to interact with it
like in this game
https://play.google.com/store/apps/deta ... JAAAMM.HSL

So, it's only ads in name :oops:

Try Gradle Sync and wait for it ends.
*pic

Did you set project view tab as "Android"??
*pic
Oh, didn't noticed that you are using Android Studio.....
I'll download it and try again, thanks.

Lightworker
Regular
Posts: 104
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Discord: Happiness+#1168
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#18 Post by Lightworker »


lyminh99
Regular
Posts: 38
Joined: Sat Jun 14, 2014 1:09 pm
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#19 Post by lyminh99 »

Can i make the ads with the video that take full screen of the game and there will be countdown to skipable. Almost all of them is ads of some other game. I don't know exactly what is that called though.

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#20 Post by i_jemin »

lyminh99 wrote:Can i make the ads with the video that take full screen of the game and there will be countdown to skipable. Almost all of them is ads of some other game. I don't know exactly what is that called though.
Yes you can.They called "interstitials ads" and "Video ads".

But you can't control them from RenPy script. That mean you can't show interstitials ads after some Acts1, Acts2 end.
You can only show interstitials ads when App is starting.

Thedarkjoa
Regular
Posts: 26
Joined: Mon Mar 03, 2014 11:27 pm
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#21 Post by Thedarkjoa »

Can you make a video tutorial for this?
I keep trying but do not get it :c

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#22 Post by i_jemin »

Thedarkjoa wrote:Can you make a video tutorial for this?
I keep trying but do not get it :c
OK. I will upload a video in this weekend.

Thedarkjoa
Regular
Posts: 26
Joined: Mon Mar 03, 2014 11:27 pm
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#23 Post by Thedarkjoa »

i_jemin wrote:
Thedarkjoa wrote:Can you make a video tutorial for this?
I keep trying but do not get it :c
OK. I will upload a video in this weekend.
I'll be waiting , thanks :)

i_jemin
Regular
Posts: 80
Joined: Sat Apr 11, 2015 3:14 pm
Github: i_jemin
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#24 Post by i_jemin »

uh,after I update Android SDK for latest version.
I got error when I tried to reinstall rapt.
and PyTom said this error will be fixed. so please wait for while.

Thedarkjoa
Regular
Posts: 26
Joined: Mon Mar 03, 2014 11:27 pm
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#25 Post by Thedarkjoa »

I think the solution was this
theCodeCat wrote:I recently had that problem with Android as well.
I think some of the google-play libraries have gotten renamed preventing RAPT from finding them.

I was able to get my Android build to work by:
1. Going into the RAPT android SDK folder (I:\renpy-6.18.3-sdk\rapt\android-sdk-r24.4.1 on my machine)
2. Using the SDK Manager application to download all necessary packages, which includes "Google Play APK Expansion library" and "Google Play Licensing Library"
3. Going into "extras/google" and renaming the "market_apk_expansion" & "market_licensing" folders to "play_apk_expansion" & "play_licensing" respectively.

After renaming those folders RAPT was able to make a build and everything seems to be working.
Hopefully this helps someone :D

maryeliezka
Newbie
Posts: 23
Joined: Sat Sep 10, 2011 4:26 am
Completed: The Ghost on The Shore
Projects: Project Helix
Organization: Project Helix Team
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#26 Post by maryeliezka »

Sorry if this is OOT. But i wonder if it's fine to make game using free resources then attaching admob on it? Is it ok?

User avatar
KeyboardSan
Regular
Posts: 26
Joined: Sun Oct 05, 2014 5:38 am
Completed: A Sweet Meeting, SRZ, Flower Field
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#27 Post by KeyboardSan »

maryeliezka wrote:Sorry if this is OOT. But i wonder if it's fine to make game using free resources then attaching admob on it? Is it ok?
If the resources are public domain or the license on it says 'free for commercial use' then you can use it and attach admob in the game. Also, you will have to give the author of the resource proper credit in the game as he or she has wished in the license.
Image
Image
Visual Novel Role Playing Game

Visit
http://niara.redseed.cc

Twitter: https://www.twitter.com/ayushraj1024
IG: @ayushraj1024

lyminh99
Regular
Posts: 38
Joined: Sat Jun 14, 2014 1:09 pm
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#28 Post by lyminh99 »

i_jemin wrote:
lyminh99 wrote:Can i make the ads with the video that take full screen of the game and there will be countdown to skipable. Almost all of them is ads of some other game. I don't know exactly what is that called though.
Yes you can.They called "interstitials ads" and "Video ads".

But you can't control them from RenPy script. That mean you can't show interstitials ads after some Acts1, Acts2 end.
You can only show interstitials ads when App is starting.
@ i_jemin: it's okay, then how to do that?

Shah9953
Newbie
Posts: 1
Joined: Sun May 28, 2017 11:43 am
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#29 Post by Shah9953 »

I am kinda newbie in programming so I honestly don't know what those codes do..

I tried this on Android Studio, its okay when I just 'build APK'

but when I tried to 'build signed APK' (the one using keystore), the Ads did not run and I also got this error message like on the picture

Can I ask for a little help? Did anyone successfully 'build signed APK' without those error?

Thank you very much for any help
Attachments
sign problem1.png

User avatar
kirlySenpai
Regular
Posts: 33
Joined: Mon May 29, 2017 7:49 pm
Deviantart: lakirly
itch: lakirly
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#30 Post by kirlySenpai »

Hello, is this method still working?

Post Reply

Who is online

Users browsing this forum: No registered users