# 7.2 Admob Setup for iOS

{% hint style="danger" %}
You shouldn't use the android values here.&#x20;
{% endhint %}

{% hint style="warning" %}
Follow these steps only for production (release):
{% endhint %}

* From your AdMob account, create an app for iOS. You will get an **app id** for iOS.
* Create 3 ad units. One banner, One Interstitial, and One Rewarded video.
* Now, go to the **ios/Runner/Info.plist** file and change the AdMob app(iOS) with yours.

<div align="left"><figure><img src="/files/J6conx4C1bwZsdULihQi" alt=""><figcaption></figcaption></figure></div>

* Go to the **lib/configs/ad\_config.dart** file and change the **appIdiOS**, **interstitialAdUnitIdiOS**, **rewardedVideoAdUnitIdiOS** & **bannerAdUnitIdiOS** with your values.


---

# 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.quizhour.mrb-lab.com/app/7.-ads-setup/7.2-admob-setup-for-ios.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.
