how to download google play services sdk and google ads sdk

927 views
Skip to first unread message

Adnan Jafri

unread,
Aug 1, 2016, 1:30:09 PM8/1/16
to Google Mobile Ads SDK Developers
Please tell me that how can i download sdks for google ads development.In my sdk manager there is no google play services sdk so plz tell me how can i download these sdks.

Vu Chau (Mobile Ads SDK Team)

unread,
Aug 1, 2016, 2:29:22 PM8/1/16
to Google Mobile Ads SDK Developers
Hi Adnan,

Google Play services should be available for download in your SDK Manager.  Try looking under the "Extras" section if you haven't.  

Once you have Play services, check out this section on how to add Firebase (with which the SDK is integrated) into your app.

If you prefer using the standalone SDK (without Firebase), use the 'com.google.android.gms:play-services-ads:9.2.0' dependency in your Gradle.

Vu Chau
Mobile Ads SDK Team

Michael Walter

unread,
Aug 4, 2016, 9:57:19 AM8/4/16
to Google Mobile Ads SDK Developers
Hi Vu,

I know that , according to Google , the develop of Android apps via Eclipse is no longer state of the art . But I completed nearly 95% on Eclipse with my app development now and would like to integrate AdMob . I currently can't make the transfer of my project to Android Studio. It is  a C++ / NDK / makefile-project / graphic via  SDL2, unfortunately not the standard case which is treated in available tutorials . -  So where do I download the google playservice lib? How do I integrate it into eclipse ? And how do I load and show interstitial ads ( Admob account is ready ). - Or alternatively : How do I migrate my baby to Android Studio ?


I'm thankful for every help.

Michael


Vu Chau (Mobile Ads SDK Team)

unread,
Aug 4, 2016, 5:02:06 PM8/4/16
to Google Mobile Ads SDK Developers
Hi Michael,

I don't have expertise with the NDK, but as far as integrating the SDK with Eclipse and getting started, I could walk you through the process.

If you have downloaded Google Play services, you will find the framework split into smaller .aar chunks, each corresponding to a separate SDK from Google (Maps, Locations, etc.).  Grab the Ads portion, and use Gradle to integrate it into your project in Eclipse.

Using Gradle will significantly simplify the process so that you don't have to modify the .aar files manually.  I have found the following links to be helpful in getting started:
While this process requires installing extra plugins into your existing IDE environment, it is a more bullet-proof way to get the aar integrated.  Should there be any error in the process, you will be notified by Gradle.

If you do decide to upgrade to Android Studio, simply input compile 'com.google.firebase:firebase-ads:9.4.0' in Gradle to download and integrate the SDK. 

To load and display interstitial in your C++ project, check out this tutorial.

Let us know if you have any questions,

Vu Chau
Mobile Ads SDK Team

Anonymous User

unread,
Aug 6, 2016, 4:00:56 PM8/6/16
to Google Mobile Ads SDK Developers
http://stackoverflow.com/questions/20982533/how-to-download-older-google-play-services

from there you can download gogole_play_services_library for eclipse

Michael Walter

unread,
Aug 10, 2016, 10:23:23 AM8/10/16
to Google Mobile Ads SDK Developers
Hi Vu,

thank you very much for your tips. It'll take me some time to walk that through. I'll let you know what finaly worked for me.
At the moment it is still unclear to me  how it is possible to use gradle and makefile-generated jni-libs in one project in eclipse.

I had hoped there would be maybe an example Project C++/JNI/AdMob or Firebase without gradle, which I can simply open in eclipse and see how all has to be setup.

Alternatively do you know tutorials, how to get a jni-project from eclipse to android studio?
Simply using the import-function of Android Studio doesn't work.

Thx in advance,

Michael Walter

Michael Walter

unread,
Aug 10, 2016, 10:28:27 AM8/10/16
to Google Mobile Ads SDK Developers
Thank you, that was helpful. But I realized that I still need a little more than only play-service, because I have to request and show my ads out of C++. Do you have tips for me where I can learn how that works ?

Vu Chau (Mobile Ads SDK Team)

unread,
Aug 10, 2016, 1:39:02 PM8/10/16
to Google Mobile Ads SDK Developers
Hi Michael,

Thanks for the feedback.  We don't have the exact instructions on importing a JNI project from Eclipse to Android Studio, but I will ask around to see if we can compile something for you!

For post-integration procedures, we have a tutorial for getting started with Firebase using C++.  In there, you will find the steps for requesting and loading banner and interstitial ads.

Vu Chau
Mobile Ads SDK Team

Michael Walter

unread,
Aug 10, 2016, 2:28:19 PM8/10/16
to Google Mobile Ads SDK Developers
Hi again,

I've just realized that firebase has a pricing section, which means I asume it isn't for free. ;)
Is there another way (and with a good tutorial) to use AdMob with C++ which doesn't generate extra costs?

Michael

Message has been deleted

Vu Chau (Mobile Ads SDK Team)

unread,
Aug 10, 2016, 5:00:24 PM8/10/16
to Google Mobile Ads SDK Developers
Hi Michael,

While Firebase has multiple pricing tiers (in fact many of its components are free), the Mobile Ads SDK (which ships with Firebase) is completely free of charge.  You shouldn't have to pay anything when you are using the ads portion of Firebase.  

Vu Chau
Mobile Ads SDK Team

Michael Walter

unread,
Aug 10, 2016, 5:42:16 PM8/10/16
to Google Mobile Ads SDK Developers
OK I understand. Thanks a lot.
Reply all
Reply to author
Forward
0 new messages