Hi Alex here from rebeloper.com and in this video I am going to show you how
you can create an AdMob ad unit ID more specifically a banner AdMob ad unit ID
and we will make another ad unit IDs along the way but before we do that
let's go ahead and sign in to AdMob.
Okay to sign into AdMob go ahead and go to google.com/admob, if you already
haven't done so go ahead and sign up for AdMob go ahead and click on the blue
button. If you have signed in up now it's time to sign in to AdMob. Okay, let's wait
for it to log in and here you have your dashboard. Of course this is my basic
dashboard for teaching purposes but I will go through the main tabs here. Here
you have your Home tab where you can go home and have an overall view of your
apps. Here you have your apps where you can select all of your apps, okay. Here
you have your reports, okay. Here you have your mediation I will
talk about mediation and later on and how you can set it up. And here you have
your campaigns, if you would like to advertise through AdMob and then you can
do that here. Of course you have blocking controls and maybe one of the most
important sections is payments you can set up your payment details and what you
can earn from AdMob ads and of course here you can set up your bank account
and maybe your company details and so on. Of course here you can also manage,
if you want to download and retrieve a download retrieve those funds or maybe
fund another campaign. And of course you have your settings and your feedback, if
you want to give some feedback through the AdMob team. Okay, let's go back to home
for now and we will create a new AdMob app unit ID most specifically first and
foremost a banner ad ID. Before we do that we need to create an app for it. So
let's go over to apps and select add app here. Okay, have you published your app on
Google Play or the App Store of course not so we will select no. And we will
enter our app information for the app name I will choose let's say...
...pretty straightforward for the platform iOS of course and click on the Add
button. Ok! Kere you have your app ID this is app ID of course you may Command+C to
copy it or you just click on this button. Make a note of your new app ID you'll
need it at your apps source code to run AdMob and that is quite true. Now the
next step is to create an ad unit. So go ahead and click on that and as you can
see here we have three choices: a banner ad, interstitial ad or a rewarded video ad.
We will go through each and one of them in this series but first let's
create a banner ad ID. So let's click on select
and here we have some options you may leave it as google optimized but if you
wanted for the automatic refresh select Custom refresh and I usually set it to
30 seconds because that is the minimum amount that google allows to refresh the
ad on the device. That means that after 30 seconds a new ad is displayed
rotary but I will just change that back to Google optimize and of course if you
would wanted to stay the same ad select do not refresh. Next I will add an ad
unit name and that will be 'Bottom you banner'. Okay, make it descriptive as
possible and finally click on save. And now we are
saving and here is your ad unit ID. We will not copy and paste it at this time
because we don't even have an Xcode project yet to put it in but we will
find it later on. Now let's create another ad unit ID and this time around
we will create an interstitial ad. So select that and I will select no cap on
impressions and I will give it an ad unit name of
that is fine. Let's click on save and we have created another ad unit ID this
time an interstitial. And finally we are going to create rewarded video ad ID so
let's create another ad unit and let's click on select and of course I will
name this... Okay, finally let's click on save. And now that we have created all of
the IDS that we need in our Xcode project we are going to select Done. Okay,
and here they are of course you may see that we have our YouTube AdMob named app
selected and we have three let's say ad units that have three ad unit IDs and you
can simply click on these buttons to copy them. We will do that at a later
time. Now next thing you should do is link this whole AdMob app to your
Firebase console and that is here select app overview
and link to Firebase. You will see a button here and link now. Now you need to
add and specify your iOS bundle ID and this can only be set only once and it
needs to be the same forever. So I will just type in: com.Rebeloper.YouTubeAdMob
like so. Better make sure I will remember
this when I create my Xcode project. O kay now let's click on continue and now it
asks us if we want to link to an existing Firebase project. Well we
don't so we need to create a new Firebase project. And I will give the
name...
and click on continue' again and yep by this action could not be completed you
must accept the terms and conditions. Okay ,where are the terms and conditions
in the Firebase console let's open that now. And I will accept it. Okay, and let's
retry again this will most probably come up only once maybe not for you, if you
have already accepted the Firebase terms and conditions. And let's try again to
retry and create our firebase project. Now Firebase is essential to collect
analytics for your AdMob campaigns and all of your app data. This is why I
always suggest linking AdMob to a Firebase project. Great good stuff! Next
up is to download the Firebase config file. So let's click on that and it will
open up the firebase console and as you can see the new YouTube AdMob Firebase
app has been created and the Google service info.plist file has been created
and downloaded. Now don't sweat it I know it's a little overwhelming but I
will go over each and everything I will explain later on what this Google
service info file is and I will show you why you need to add it to your
Xcode project. For now let's just go back and click on and Done. Good stuff! Now if
you want to find your apps ID I already showed you where you can find
your button banner interstitial and rewarded video ad unit IDs.
Now let's let me show you where you can find your app ID.
Let's go over to apps and then view all apps and now let's just search for it if
there are a lot of apps like I do. And here you have it YouTube AdMob and here
you can click to copy your app ID. Okay, that was a whole lot of IDs and
setup but we have managed to create everything in our AdMob dashboard and in
our firebase console. Okay, hope you like this video I will see
you in the next one where we will dive into creating an Xcode project for our
monetization with AdMob, if you like this video go ahead and give it a thumbs up
and if you want to see more of my videos go ahead and click on the subscribe
button down below and I will see you in the next one!