# AdMob config

Open  **App/Common/Config.js** and update the **AdMob** section to change the ID

{% hint style="info" %}
You can control how the banner look like from the Components/AdMob/index.js
{% endhint %}

![](/files/-LHCNVKIB2VRImk8wo7u)

{% hint style="info" %}
Remove the Interstital setting after 3 second after rendering the component (if you don't like the annoy Ads), this just for demo purpose:

`componentDidMount() {` \
&#x20;      `Config.AdMob.isShowInterstital && setTimeout(this.showInterstital, 3000);` \
`}`
{% endhint %}

You can also link your Abmod config to your Firebase dashboard

![](/files/-LHCO9E1zNanMo16dBFh)

{% hint style="danger" %}
**Important**: As the banner config should be "No refresh", otherwise it causes your performance issue on the app.
{% endhint %}

![](/files/-LHCOI1P3ATaMkk_30W7)

{% hint style="info" %}
Document detail about this component:

* <https://github.com/sbugert/react-native-admob>
* <https://docs.expo.io/versions/latest/sdk/admob#__next>
  {% endhint %}


---

# 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://inspireui.gitbook.io/beonews/advance-customize/admob-config.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.
