PC SOFT
ONLINE REPOSITORY
FOR WINDEVWEBDEV AND WINDEV MOBILE

Home |  | Sign in | English US
Different types of AdMob ads (2025)
Published by Rubén Sánchez Peña
in the category Various
New features



Description
This project implements the realization of examples of the different types of AdMob ads using the latest versions of Google libraries:

- Banner
- Interstitial
- Rewarded
- Rewarded Interstitial

The Interstitial, Rewarded and Rewarded Interstitial types have examples with user activity and without user activity (AUTO modes).

The libraries used in the examples are:

com.google.android.gms:play-services-ads:23.6.0

com.google.android.ump:user-messaging-platform:3.1.0

AdMob currently requires that the permission granted by the user to display ads be renewed every 13 months. Therefore, the examples check the user's consent each time an ad is requested to be displayed. If the permission has not yet been granted or has expired, the consent is requested again.

In the case of the Banner ad type, an internal window has been implemented that must be placed in each window where you want to display the ad. In the rest of the types of ads you simply have to call a function that performs the whole process.

In the examples we have used the identifiers of test ads. These identifiers must be replaced by the AdMob identifiers of the ads in the app. The actual app identifier must also be indicated in the manifest (attribute com.google.android.gms.ads.APPLICATION_ID).

The example is for WM28 (so that it can be studied by more users) although I currently use it in WM2025.
Illustrations, screen shots
none
none
User reviews
(To evaluate this resource, click 'Write a review')
No review or comment? Be the first one!
ABOUT
RATING:
00No rating
DOWNLOADS:
15
PUBLISHED:
January 25, 2025
VERSION:
1.0.0.0
CONCERNS:
WINDEV Mobile
Minimum version: WM28
SIZE:
2.4 MB