> For the complete documentation index, see [llms.txt](https://inspireui.gitbook.io/beonews/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://inspireui.gitbook.io/beonews/advance-customize/admob-config.md).

# AdMob config

This section showing the basic setting for Admob features

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 %}

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHCMUduoBOdZA7aPgW1%2F-LHCNVKIB2VRImk8wo7u%2FScreen%20Shot%202018-07-12%20at%202.25.31%20PM.png?alt=media\&token=391b22ae-9e43-4858-9f3e-0f5f74bf43e4)

{% 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

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHCMUduoBOdZA7aPgW1%2F-LHCO9E1zNanMo16dBFh%2FScreen%20Shot%202018-07-12%20at%202.28.52%20PM.png?alt=media\&token=f1c32a54-57e4-4cdf-8bf0-20da8c08dbeb)

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

![](https://1983211154-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LHBIhMvzFkd_uhi8KQ3%2F-LHCMUduoBOdZA7aPgW1%2F-LHCOI1P3ATaMkk_30W7%2FScreen%20Shot%202018-07-12%20at%202.29.26%20PM.png?alt=media\&token=4c19f94a-2bc7-453a-b957-a5801038b643)

{% 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 %}
