How to Use Admob Ads| Guide

Hello,
In this Short Guide, we will show you the steps required to Setup Working Admob Ads in your Android App. This Guide is applicable for all type of Admob Ads (Banners, Interstitials, and Rewarded Ads)

In order to Use Admob Ads, You need the Core Component: AdmobMobileAds. Failing to add this will result in Runtime Errors.

The AdmobMobileAds Component has the following properties.
Capture
DirectedForChildren: (True|False) If the Ads are directed towards Children, useful for those who make apps for the younger audience.
TargetAge:(Optional) Make the Ads more relevant by specifying the age of the end-user.

The AdmobMobileAds Component Also Contains an event Called SdkInitialized. It is useful to know when the SDK Is Initialized.
component_event

IMPORTANT!
Your Admob AppId has to be added in the Screen1 Properties.
Capture

This Guide Will Help you find your Admob AppId: https://support.google.com/admob/answer/7356431?hl=en

The Required Steps are now Complete!
You can now Drag and Drop any Admob Component(Banner, Interstitial or Rewarded) and Monetize Your app.

All the Admob Components contain 2 Main Properties:

  • Consent: If the user has provided consent to use their personal data. Applicable only for EU Users. You can use the AdsConsentForm Component to create a Consent Form to display and receive consent from the user.

Check out this Guide to learn how to use the AdsConsentForm Component: Coming Soon…

  • TestMode: Useful for testing Ads in the Companion or in test devices. Always Enable Testing Mode when you are testing your app.

Bonus: Here is an Implementation Guidance by Admob to be Compliant with Admob Policies and get better performance from your ads: https://support.google.com/admob/answer/2936217?hl=en

-Niotron

3 Likes