Nimbuzzmasters forum
nwlve HI   GUEST nwlve
WELCOME TO NIMBUZZ MASTERS FORUM
PLEASE   REGISTER

TO
Dzs HAVE FULL ACCESS TO THE FORUM AND BE ABLE TO DOWNLOAD STUFF Dzs
Grp
STAY WITH US THANK YOU
Forum management ©️
Mzs
Nimbuzzmasters forum

The forum of the nimbuzz forums


You are not connected. Please login or register

 
 

ANDROID STUDIO ADMOB INTERSTITIAL AD TUTORIAL

Message (Page 1 of 1)

!redlove!
 
Designer
Designer

Posted on Sun Jul 08, 2018 3:05 pm

 

*
POPULAR

AdMob is a multi platform mobile ad network that allows you to monetize your android app. By integrating AdMob you can start earning right away. It is very useful particularly when you are publishing a free app and want to earn some money from it.


Integrating AdMob is such an easy task that it takes not more than 5mins. In this article we’ll build a simple app with two screen to show the different types of ads that AdMob supports


> Interstitial Ad
Interstitial ads occupies full screen of the app. Basically they will shown on a timely basis, between screen transition or when the user is done with a task. Usually we can see these ads in games displaying Ad when a level is completed

[size=32]Creating Ad Units[/size]

Note: AdMob admin interface changes quite often. The below steps to create Ad Unit IDs might differ time to time.
1. Sign into your AdMob account.
2. Create a new App by giving the package name of the app you want to integrate AdMob. Once the App is created, you can find the APP ID on the dashboard which looks like ca-app-pub-XXXXXXXXX~XXXXXXXXX.
3. Select the newly created App and click on ADD AD UNIT button to create a new ad unit.
4. Select the ad format and give the ad unit a name.
5. Once the ad unit is created, you can notice the Ad unit ID on the dashboard. An example of ad unit id look like ca-app-pub-066XXXXXXX/XXXXXXXXXXX
Create as many ad units required for your app.
 see screenz

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen20ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen21ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen22ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen23
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen24ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen25
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Screen26



After creating ad unit id go to android studio
Creating a New Android Studio Project
Open Android Studio and create a new project by clicking on File -> New -> New Project.
Enter project name, and company domain application.example.com (We have used our company domain i.e nimbuzzmasters.com. Similarly you can use yours).
Click Next and choose appropriate android version.
Click Next and select an ad Activity.

see screens


ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Hm4juSQ

start a android studio project
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL YDChMYZ

next
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL 7Gj38bU

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL KxNBZlE

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL RuHOYkg.
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL GQHJNaO

Open MainActivity.java and modify the code as shown.

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL GBegwDO

example
Code:
MobileAds.initialize(this,
            "ca-app-pub-3940256099942544~3347511713");

next open strings.xml

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL 2SejWK7


paste your ad unit id  like  ca-app-pub-3940256099942544/1033173712

next

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL RvbfHOu

run app

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL Vjwwl1O
select your device   
your application automatically instaled in your selected device

ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL DmucFYh


ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL VBydCpu


Nimbuzzmasters

 How do I change my rank?
 I have received a spamming or abusive e-mail from someone on this board!
 How do I join a Usergroup?
 How do I post a topic in a forum?

DO U HAVE ANY DOUBTS LIKE THIS?
CLICK HERE TO READ MASTERS FAQ
Or  add me !redlove!@nimbuzz.com
ANDROID STUDIO  ADMOB INTERSTITIAL AD TUTORIAL 11710


View user profile http://Www.hackersw0rld.malware-site.www


THE JOKER
 
Supper mod
Supper mod

Posted on Sun Jul 08, 2018 3:50 pm

 
Tanks bro



Keep post android  studio tutorials  thx



View user profile


Hisham=~-------
 
Member
Member

Posted on Sat Jul 21, 2018 5:59 pm

 

*
POPULAR

Bro Plz post more tutorials.



View user profile


#4

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Similar topics

-

» IE9 and Selenium

Permissions in this forum:
You cannot reply to topics in this forum


  • Total Posts:
  • Total Members:
  • Newest Member:
  • Most Online: Most users ever online was 540 on Tue Jan 19, 2016 9:39 pm

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests
Users browsing this forum: None