Hello Andro Devs
Today I am here with my very first guide on this community with a demanding topic (i guess ) that how you can set up AdMob ads in your app.
Step 1:- Creating project
Creating a project is very simple.
First, u need to click on this Create a new project Button
After, u will see this
Just enter the name of your project and you are good to go.
Step 2:- Creating Admob Account
Now we will have to create an admob account in order to get our ad unit ids and add them to our app.
Go to:- https://admob.google.com/
And Signup to AdMob account.
Step 3:- Adding our app to AdMob
Our next step will be adding a new app to AdMob.
So to add click to apps and click Add Your First App Button
Set up your app credentials. Make sure to check android option and my app has not been listed on supported app store so i will check no.
At this time, AdMob supports the Amazon Appstore, OPPO App Market, Samsung Galaxy Store, VIVO App Store, and Xiaomi GetApps.
Set up your app name
Our app has been created now so we will click on the done button
Step 4:- Creating ad unit ID
Now under app overview, you will see Add Ad Unit button . Click on that to create ad unit id
Now, select any of the ad types for me I will ad Admob banner and AdMob interstitial
Now give your ad unit id a name and click Create ad unit button
You will see this screen now jus click done and your ad unit is now created
Step 6:- Find App Id And Use In App
Select Your App ( For App Id )
Coping App Id
Click on Setting
Paste App Id Here
Step 7:- Setting up Admob Banner ads in app
Now we will be setting up our app to show Admob ads.
Drag and drop admob banner component to your app like this
Now for the sake of this guide, i am enabling test mode for admob banner
Now the rest of the process is in the blocks section.
Before we run into setting up ads block i want to introduce you with banner ad size offered by Admob. So, the following are the adsize offered by AdMob
Now we will start setting up ads.
Now try To loads ads on SDK Initialises And also Set Appid on Block Section before Adload
After the banner ad loaded I am showing alert notice using notifier:-
Step 8:- Setting up Interstitial And Rewarded ads
All the things go same in this step as it was in step 5 and 6 from creating an ad unit id to load ads .
Here are the procedure to show:-
Interstitial:-
Rewarded:-
Step 9:- Setting up Rewarded Interstitial Ad
Step 10:- Setting up App Open Ad
Set Ad unit id And Orientsion
You can set Two type Of orintesion
Show App Open Ad
You can Also Set Other Ad Like This
I will also try to add video for the same
Please Build An Apk for testing Admob Ads Not working on Comanion
Apk:- Coming Soon…
Aia:-
admob_tutorial.aia (4.1 KB)
Ad type Used in this aia–
- Banner
- App Open
- Reward Video
- Interstitial
- Reward Interstitial
Thanks for reading Any suggestions or edits are welcomed. If u have learned something from this guide, click that heart-shaped button to make it red