SFML community forums

Help => General => Topic started by: IsDaouda on April 04, 2018, 12:14:32 pm

Title: [Android]Use AdMob with SFML
Post by: IsDaouda on April 04, 2018, 12:14:32 pm
Hello everybody,  :)

Is it possible to use Admob with SFML to display ads?

If so, I will be glad that you advise me a tutorial that explains how to implement this module (without using Android studio because I want to use the example of SFML to do the test). I did some research on google but I found nothing concrete.

Thank you in advance for your solutions.  :)
Title: Re: [Android]Use AdMob with SFML
Post by: AlexAUT on April 05, 2018, 06:44:15 am
It is definitely possible, I did it some time ago based on this tutorial:

http://www.dynadream.com/ddweb/index.php/Special_Blog?id=20

AlexAUT
Title: Re: [Android]Use AdMob with SFML
Post by: IsDaouda on April 05, 2018, 07:49:57 pm
Thanks for your help.
I will follow this tutorial to get to my end
Title: Re: [Android]Use AdMob with SFML
Post by: IsDaouda on April 06, 2018, 07:37:35 pm
I managed to integrate Admob with the example of SFML, but when I display the ad I only have a gray box. For so much there is the connection.

Where can the problem come from?

PS: I'm doing the test with the android emulator.
Title: Re: [Android]Use AdMob with SFML
Post by: AlexAUT on April 07, 2018, 08:07:00 pm
Your problem is not really related to SFML, so maybe a admob forum would be a better place to ask.

Have you enabled the test ads? iirc real ads are only shown once you deployed your app.


AlexAUT
Title: Re: [Android]Use AdMob with SFML
Post by: IsDaouda on April 09, 2018, 11:57:10 am
Apartment the standalone Admob SDK used in this tutorial is deprecated (Does not work anymore). Only the Google Pay Services version can be used.