Categories: ANDROID APP

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



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: https://bit.ly/2Y8KOFL

Check out the article, that includes all links and used code:
https://tutorials.eu/integrate-admob-in-your-android-app-in-kotlin/

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: https://goo.gl/rBFh3x

source

linda

Recent Posts

The Ultimate Guide to YouTube to MP4 Converters

A YouTube to MP4 conversion software is a software or on-the-web tool designed to download…

2 days ago

Unox Equipment: A Chef’s Companion

Cooking is an art, and each artist needs the right equipment to bring their masterpiece…

2 days ago

Comparing Electric Scooters: Features and Performance

Hey there, scooter enthusiast! Whether you're a seasoned rider or just thinking about zipping around…

2 days ago

Discovering Affordable Massage Services throughout Busan

Hey there, massage fans! If you're in Busan and also searching for a way to…

2 days ago

Guide to Aroma Massage Services in Busan

Hey there! If you're planning a trip to Busan, or if you're already here and…

2 days ago

Is Instant Famous Worth It? A Detailed Review of Their Follower Services

Are you looking for ways to get more followers on your social media accounts to…

3 days ago