[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: 99
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Skype: badthai
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#16 Post by Lightworker » Wed Jan 20, 2016 7:37 pm

I am going to take a crack at it.

Hseo
Regular
Posts: 28
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 » Thu Jan 21, 2016 5:47 am

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: 99
Joined: Sun Dec 13, 2015 2:06 pm
Projects: Detroit.exe
Skype: badthai
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#18 Post by Lightworker » Wed Feb 17, 2016 4:03 pm


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

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#19 Post by lyminh99 » Wed Mar 09, 2016 12:27 pm

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 » Sat Apr 30, 2016 8:26 am

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 » Mon May 02, 2016 3:36 pm

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 » Tue May 03, 2016 10:06 am

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 » Sat May 07, 2016 1:32 am

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 » Sun May 08, 2016 4:40 pm

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 » Mon May 09, 2016 9:27 pm

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 » Thu May 19, 2016 1:10 pm

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 » Tue Aug 16, 2016 8:19 am

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 » Tue Sep 13, 2016 1:03 am

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 » Sun May 28, 2017 11:57 am

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
Completed: Pasajero de los sueños
Projects: ¿Y este USB?
Deviantart: lakirly
itch: lakirly
Location: Argentina
Contact:

Re: [UPDATED] tutorial: Attaching Admob to RenPy

#30 Post by kirlySenpai » Thu Sep 27, 2018 12:13 pm

Hello, is this method still working?

Post Reply

Who is online

Users browsing this forum: No registered users