Android : Integrate admob using Google Play Services

Platform  – Mac Osx 10.9.4

Tools Used –

Eclipse ADT

– Google Services

Android Nexus Emulator

From August 1, 2014, the Play Store will stop accepting new or updated apps that use the standalone Google AdMob SDK

So here are the steps to integrate Admob in your project using Google Play Services.

Install Google Services

Open terminal, go to adt directory ->

adt-bundle-mac-x86_64/sdk/tools

Run the command – 

android sdk

Now under Extras menu select Google Play Services and install the packages.

sdk manager

SDK Manager

 

Import Google Play Services library

– File -> Import -> Existing Android Code Into Workspace -> Browse
– Navigate to directory  – adt-bundle-mac-x86_64/sdk/extras/google then select google_play_services.
– Check ‘Copy Projects into workspace’ then click Finish.

 

Import Google Play Services library into project

– Select properties by Right click on your project then select ‘Android’.
– Click Add select google play services hit Ok.
– Click ‘Apply’ then Ok.
google libraries

 

 

Update your project source code

Follow the instructions given in official site about updating the code :

https://developers.google.com/mobile-ads-sdk/docs/admob/android/play-migration

Thats it. Clean up the build and Run the Emulator.

 

 

 

4 Comments Add Yours

  1. Meghan

    Hello There. I found your blog using msn. This iis
    a very well written article. I will be sure to bookmark it and come back to read more of your useful info.
    Thwnks for the post. I will definitely comeback.

    Reply
  2. our website

    I just want to mention I am just beginner to blogs and truly savored your web page. Probably I’m want to bookmark your blog . You definitely have remarkable articles and reviews. Appreciate it for revealing your web site.

    Reply
  3. openvz

    I have learn a few excellent stuff here. Certainly worth bookmarking for revisiting. I surprise how much attempt you put to create the sort of excellent informative web site.|

    Reply

Leave a comment