Cirilla Documentations

  1. Home
  2. Docs
  3. Cirilla Documentations
  4. AdMob
  5. Set up AdMob app and create ad units

Set up AdMob app and create ad units

To set up for Android, you need to add an Android app and create ad units.

Add an Android app

  1. In the AdMob console, click ADD APP from the Apps menu.
  2. When you’re asked Have you published your app on Google Play or the App Store?, click NO.
  3. Enter AdMob inline ads in the app name field, and select Android as the platform.
e4d968797610c8c0.png
  1. Enabling user metrics is not necessary to complete this codelab. However, we recommend that you do because it allows you to understand user behavior in more detail. Click ADD to complete the process.
5204925f5c652b41.png

Create ad units

To add ad units:

  1. Select AdMob inline ads app from Apps menu in the AdMob console.
  2. Click the Ad units menu.

Banner

1. Click ADD AD UNIT.
2. Select Banner as the format.
3. Enter android-inline-banner in the Ad unit name field.
4. Click CREATE AD UNIT to complete the process.

The banner unit you will used in the next step

It usually takes a few hours for a new ad unit to be able to serve ads.

Update AndroidManifest.xml (Android)

Open file: cirilla_ads/android/app/src/main/AndroidManifest.xml and change to your AdMob app ID

Was this article helpful to you? Yes No

How can we help?