Google AdMob - Mobile development
Google AdMob - Mobile development
Subject :
Hello Everyone, I am going to show how to create an account in Google AdMob and how to generate API keys for Android/iOS, which helps us to display ads in our applications.
Requirements :
We need nothing but a google account, with this you can use google AdMob.
Steps in Brief :
1) Create a account in “AdMob by Google”.
2) Let us discuss different types of ad sizes available to display in Application.
3) Create Application instances for Android application and iOS Applications for any one or two types of banners.
Steps in Detail :
1) Creating an account in “AdMob by Google” :
a) Go to this url in your browser https://www.google.com/admob/
b) Now click on signup button on the left corner.
c) It asks you to login to your google account as this is a product of google. So just sign in.
d) Now you will be redirected in to a page where this asks for your country name, Time zone, currency. And then asks to to accept the terms and conditions just fill and check in the check-box and click on “Create AdMob Account” button.
e) This sends a confirmation email to your account, just open you email and click on the link.
f) This also asks you to select which types of info to send you to your email, just read and select based on your choice, I set everything to “Yes” and click on “Continue to AdMob” button.
g) Bingo…! You have successfully created an admob account. Now you are in you “Home Page”
2) Different Types of ADs and AD sizes :
There are two types of Ads available images and video formats. In this tutorial we are working with Image type of ads, video type also having the same procedures but I am not going to cover that part in this tutorial.
Image Ad Sizes :
There are Three Types of Sizes for Image type Ads. here are the types
1) Banner :
This is like a ribbon. This is selected if our requirement is to provide an ad at the footer or at header part, this does not cover the entire region of the Page. It only uses a portion of the app Page.
2) Interstitial :
This covers the entire page with the ad, So mostly this is displayed as a popup or if you have requirement you can make it a seperate ad page in the app.
3) Rewarded :
This also covers the entire page with the ad like “Interstitial Ad”. This is different from “Interstitial Ad” as it has special functionality that if you have a requirement like to provide rewards to user on “page click” or when he watched a full length video this type is useful.
3) Creating App instances and API keys for Android and iOS Apps :
a) After once you created an account, scroll down the page and click on “Get Started” button.
b) This asks you that whether your app is published to App Store or Play Store, as this is for practice you can just select “no” if you are using it for a published application just select “Yes”. If you press then in later steps it will ask your App URL in the store and if you provide those details then it will get all the required details from the store or else you will be providing manually. So this tutorial will be continued by selecting “No” as option.
c) On selecting “No”, it asks App info start with “App Name” and “Platform(Android or iOS)” we have to create separate API keys for different platforms. By now let us go with android as the process for iOS is also same so you can handle on your own. Here is an example : Name : “TestBannerAndroid” and Platform : “Android”
d)Now click on “Add” Button.
e) This open a page with App API key, next steps to process and asks for two options “Create Ad Unit” or “I’ll do it later” .
f) Just for now select “I’ll do it later” option, This will take you to the “TestBannerAndroid” instance dashboard.
g) Scroll down till you find “Add Unit” Button. Now click this button.
h) If you have navigated to some other place just click on home button. This opens you main home or dashboard page.
i) Here you will find a small side menu, by clicking on “Hamburger icon/ menu icon” side menu increased in width, Here find the “Apps” option this shows a popup, now at the bottom of popup you will find “Add App” and “View All Apps” buttons. “Add App” is to add new app as we already did these steps. Now select “View All Apps” button this will shows all the apps you have created so far. Select the app you want. Now we are going to create “Add Units” .
j) “Add Unit button” takes you to a page where you have three options. They are Banner, Interstitial, Rewarded.
To show an add in your app you have to get “Unit Id”, which by selecting one of the sizes od ad you will get . you can create as many types of sizes and any number of them for one app you have created in your previous steps.
So once these steps ended you will get an “App Id” and Many “Unit Id” s
In your app you can use one app id and many units based on your different adds.
The process of creating “Unit Id” s for the above three types are same so let us create for one of them for example.
k) Select “Banner”. Now in next window this asks for “ad Unit Name” , this can be any of your choice, for here it is “AndroidTestBanner”. If can also go for advanced options here available at just above the “Create Ad Unit” button. If you are doing this for “Paid Marketing”, then you can select what to show, time of refresh(custom in second row of advanced options) and eCPM(to select money bidding so ad client who will pay that amount per Ad click will be send by google to you to show the ad).
l) After selecting the requirements, just click on “Create Ad Unit” button
m) This will show you two id’s the top one you your “App Id” and second one is your “Unit Id” copy them both. Now click on “done” to complete the process or click on “Create Another Add Unit” to create another add. The process is same for other ad Unit types too.
Conclusion :
This is the part of AdMob to display Ads in our application, rest is to be done while developing an app. How to use these “App Id” and “Unit Id” in app development to show Ads in our application will be discussed in another post.
Thank you.
----
With Regards,
Venkata Siva Prasad Reddy Pulagam,
Email: pvsivapr@gmail.com.
Comments
Post a Comment