# Admob Setup

### Step 1: Set Up an AdMob Account

1. Go to the [AdMob website](https://admob.google.com/) and log in with your Google account.
2. If you don’t have an AdMob account, follow the prompts to create one.

### Step 2: Create an AdMob App

1. In the AdMob dashboard, click on **Apps** in the sidebar.
2. Click the **Add app** button.
3. Select the platform (iOS or Android) for your app.
4. If your app is already published, select **Yes** and find it in the store. If not, select **No**.
5. Enter the app’s name and click **Add**.
6. Repeat the process for the other platform if you need both iOS and Android apps.

#### Step 2.1: Get the App ID

1. After adding your app, you will be redirected to the app’s dashboard.
2. The **App ID** will be displayed at the top of the screen. It will look like `ca-app-pub-xxxxxxxx~xxxxxxxx`.
3. Note down the App ID for both iOS and Android, they are different.&#x20;

### Step 3: Create an Ad Units (5 in total)

1. In your app’s dashboard, click on **Ad units** in the sidebar.
2. Click the **Add ad unit** button.
3. Select format **Banner** as the ad format
4. Enter a name for your ad unit (e.g., `HomebannerAd`).
5. Click **Create ad unit**.
6. The **Ad Unit ID** will be displayed. It will look like `ca-app-pub-xxxxxxxx/xxxxxxxx`.
7. Note down the Ad Unit ID for both iOS and Android.
8. Repeat the same procress for other formats:\
   \- **Open App Ad**\
   \- Home **Banner Ad**\
   **-** Live **Native Ad**\
   **- Rewarded Video Ad**

<mark style="color:purple;">**Make sure that at the end of this progress, you have  saved for later use**</mark>:

* `iOS AppID`
* `Android App Id`
* **`Ad Unit IDs`**` ``for each Ad formar and for both iOS and Android`


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.booms.live/admob-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
