Skip to main content

Configure Firebase With Admob on Android

Admob with Firebase and getting Ad unit Ids

1. Visit Admob and sign up for a new account using your google account. Once you login to your Admob account, you will be displayed a dashboard as shown below. Click on Monetize button to add a new app to your Admob account.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
2. Click on Add your app manually and give it a name and select Android platform as shown below. A new App will be created and App-Id will be displayed.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
3. Next step is to select an Ad format and customizing it the way you want. Firstly we will start with selecting Banner ad format as shown below. After customizing the Banner ad, you need to click on Save button. Once you click on Save button, a new Ad unit will be created with a unique ad-unit Id. Please make a note of this ad-unit Id corresponding to the Banner ad we created just now.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
4. Next step is to link your admob app with the Firebase app you have created in the previous step. Click on Link to Firebase button and enter the package name of your android application. Click on Continue button.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
5. Now select Link to an existing Firebase project and existing Firebase app option as shown below.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
6. Now you will be shown a message indicating that your Admob app is successfully linked with your Firebase project. Click on Done button.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
7. Next step is to create an Interstitial Ad unit and customize it. Click on Create Another Ad Unit button and select Interstitial Ad format.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
8. After customizing the Interstitial ad, you need to click on Save button. Once you click on Save button, a new Ad unit will be created with a unique ad-unit Id. Please make a note of this ad-unit Id corresponding to the Interstitial ad we created just now.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
9. Next step is to create a Native Ad unit and customize it. Click on Create Another Ad Unit button and select Native Ad format.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
10. I have selected the ad size to be Medium and a simple template having install button. After customizing the Native ad, you need to click on Save button.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
11. Once you click on Save button, a new Ad unit will be created with a unique ad-unit Id. Please make a note of this ad-unit Id corresponding to the Native ad we created just now.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android
12. We now have all the 3 Ad unit Ids required for this tutorial. Now if you visit Monetize tab of your Admob dashboard, it will be displayed as shown below.
https://wolaris.blogspot.com | Configure Firebase With Admob on Android

Popular posts from this blog

Single Page Application With Laravel 5.3 And Vue.js 2.1.x

Description: Single Page Application With Laravel 5.3 And Vue.js 2.1.x Single Page Application with Laravel 5.3 and Vue.js 2.1.x. Refer the source code for better understanding. Frameworks and Libraries: - Laravel 5.3 - Vue.js 2.1.x - Vue Router - axios Provides: - CRUD - Single Page Application - Pagination - Sorting by columns - Advance filter - Filter relations - - - Source Code: https://github.com/codekerala/spa-laravel-vuejs - - - You should follow Code .

Laravel 5.4 With Android Firebase Cloud Messaging (FCM)

DOWNLOAD How to Package Aenean lacinia A library that lets you create a beer styled progress view with bubbles and all! (hic). Beer Progress View A cool beer styled progress view with realistic bubbles*. Cheers! Increment progress. Change beer colour. Change wave size. Change bubble colour. (*realism of bubbles not guaranteed) Setup To use BeerProgressView in your projects, simply add the library as a dependency to your build. Gradle dependencies { compile 'uk.co.barbuzz:beerprogressview:0.0.4' } Maven <dependency> <groupId>uk.co.barbuzz.beerprogressview</groupId> <artifactId>beerprogressview</artifactId> <version>0.0.4</version> <type>pom</type> </dependency> Alternatively you can directly import the /library project into your Android Studio project and add it as a dependency in your build.gradle. The library is currently configur...

Apps created on Android

For applications on Android (for beginners) Start - for those of you who love DIY Android and the desire to create their own programs. The study of the application of decisions is not easy, but for a beginner it can be found. Some developers of applications for Android, to provide the tools to create applications for beginners, of course, these tools can be downloaded directly from Google Play on your Android gadget. Here are 5 tools manufacturers Android apps for beginners. 1. Appiventor Basically this program is used by inexperienced developers, and has now received belongs to the Massachusetts Institute of Technology. Tools such as this requires its own understands the language of a program or "coding", but do not worry, because this app also has video lessons. 2. PhoneGap For those of you who are effective using HTML, CSS or JavaScript simply using Fungab. Fungab not only used to create mobile applications for Android, but also for mobile phone application...