AdMob Interstitial Ad Tutorial 2021 - Android Studio - Google Ad SDK 20.3.0

Опубликовано: 04 Январь 2025
на канале: Intelligent Coding
3,346
82

This video is showing how to place Interstitial ad in an Android Studio Project, using google AdMob SDK 20.3.0
Showing how to place the full screen ads between 2 activities.
Solving the loading ad problem while using Back Button of devise.
At the following you will see how to limit the full screen ads to show them by every 2 clicks on the button.
I also have some suggestions in the end of video about showing interstitial ad with timer.

Downloading the project codes from GitHub:
https://github.com/Morteza-Habib/Full...

-- TIMESTAMPS --
00:00 intro of Interstitial Ad Tutorial.
00:34 The Android app made for implementing full screen ad.
02:39 App configuration and adding Google Ad SDK 20.3.0
04:24 Adding App Unit ID and user permission to AndroidManifest file.
08:05 Initializing AdMob SDK.
09:38 Preparing Ad Unit ID for testing
10:33 Load an Interstitial ad.
14:15 Set the FullScreenContentCallback.
16:08 Opening another Activity after closing the full screen ad.
16:50 Showing the interstitial ad.
18:44 Test#1 - Run the project and get app configuration error for missing multiDexEnabling.
20:13 Test#1 - Run the project and see the ad is not loading while using Back Button.
21:55 Solving the ad loading problem while using Back Button.
23:11 Test#2 - Run the project - Ad loading problem is solved.
24:19 Testing the ad with video ad.
25:07 Test#3 - Showing video ad for testing.
26:23 Showing the ad by every 2 or 3 clicks on the button.
28:45 Test#4 - Run the project - showing the ad every 2 clicks.
30:45 Improvement for showing the ad by every 2 or 3 clicks on the button
33:11 Test#5 - Run the project - showing the ad every 2 clicks.
34:50 Requesting an ad in case of getting failed to load.
37:14 Test#6 - Run the project - Requesting for new ad in case of error.
38:49 Suggestion about AdMob Policies and NOT using timer to show Interstitial ads.