No video

Admob Tutorial 💰 How to add AdMob to your Android App | Google Admob Tutorial (2020)

  Рет қаралды 114,860

tutorialsEU

tutorialsEU

Күн бұрын

🚀 Android & Kotlin Masterclass - Become a serious Android app developer with our best-selling masterclass: bit.ly/3PaKdhS
In this video, you will learn how to add AdMob to your Android App. This is a Google AdMob tutorial in Android Kotlin that will show you how to start monetizing your apps 🤑
Once your Android application is developed and ready to publish and you want to make some money from the application by integrating Google AdMob in it, you need to learn how to do that.
In this video, you will learn how to integrate AdMob in an Android application. By the end of this Admob tutorial you will know how to integrate 3 different ads in android application: Banners ads, Interstitial Ads, and Rewarded Video Ads.
Implement Banner Ads
Banner ads occupy a spot within an app’s layout, either at the top or bottom of the device screen. They stay on screen while users are interacting with the app, and can refresh automatically after a certain period of time.
Add AdView to the layout
The first step toward displaying a banner is to place AdView in the layout for the Activity or Fragment in which you’d like to display it. The easiest way to do this is to add one to the corresponding XML layout file.
Implement Interstitial Ads Android
Interstitial ads are full-screen ads that cover the interface of their host app. They’re typically displayed at natural transition points in the flow of an app, such as between activities or during the pause between levels in a game. When an app shows an interstitial ad, the user has the choice to either tap on the ad and continue to its destination or close it and return to the app.
Rewarded Video Ads Android
Rewarded video ads are full-screen video ads that users have the option of watching in full in exchange for in-app rewards.
Set up event notifications for Rewarded Video Ad
The SDK provides the RewardedVideoAdListener interface, which has methods corresponding to the events in a rewarded video ad’s lifecycle. Have your app define a class that implements this interface and pass it to setRewardedVideoAdListener prior to loading an ad.
The code example in Initialize rewarded video ads already shows how to declare that your class implements RewardedVideoAdListener and set the listener on the RewardedVideoAd object
Forward lifecycle events for Rewarded Video Ad
To forward the parent Activity’s lifecycle events to the RewardedVideoAd object, call the resume(), pause(), and destroy() methods in the parent Activity’s onResume(), onPause(), and onDestroy() methods respectively.
#admob #androidTutorials #GoogleAdmob
🔥🔥 Get my complete Android Masterclass here: bit.ly/2Y8KOFL
Check out the article, that includes all links and used code:
tutorials.eu/i...
tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: goo.gl/rBFh3x

Пікірлер: 128
How to add an app to your AdMob account
6:21
Google AdMob
Рет қаралды 178 М.
1ОШБ Да Вінчі навчання
00:14
AIRSOFT BALAN
Рет қаралды 4,5 МЛН
Nurse's Mission: Bringing Joy to Young Lives #shorts
00:17
Fabiosa Stories
Рет қаралды 13 МЛН
Calyx OS - The next big Android Competitor!?
12:06
Mrwhosetheboss
Рет қаралды 5 МЛН
How to Increase AdMob eCPM for New Apps (Part 1/3)
11:15
App Masters
Рет қаралды 13 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 234 М.
How to implement Google Maps in your Android App.
8:03
tutorialsEU
Рет қаралды 141 М.
CRAZY! 1,000 YouTube Shorts in 17 MINUTES Using AI (Canva + ChatGPT)
17:44
UNITY ADS (+ rewarded ads) - Monetize your mobile games!
18:29
Coco Code
Рет қаралды 130 М.