# 7. Ads Setup

{% hint style="success" %}
You can skip this setup for now and can configure it later. We have enabled AdMob ads by default with test ad unit IDs. You can enable/disable ads from the admin panel.
{% endhint %}

We have added 4 types of ads.

> 1. **Banner Ads**: At the bottom of the article details and all articles views screens.
> 2. **Interstitial Ads**: This is a full screen ad. An interstitial ad will be shown when users open any post and meets your click counts. You can setup the click count from the Admin Panel > Ads. If you set count 3 then an full screen ads will be shown when users click on 3 posts.
> 3. **Inline Native Ads:** Inline native ads in between post list. You can set post interval from the Admin Panel > Ads.
> 4. **Inline Custom Ads:** Same as native ads but you can create and customize your own ads. This is not from AdMob. It's totally custom. You can create as many custom ads and the app will randomly pick one ad for each placement. You can create 3 types of custom ads. One is like a banner which will have only the title and action URL. Others with only images and the final one is like native ads with title, image, and action button.

{% hint style="info" %}
The app prioritizes custom ads first. That means if both Native and Custom ads are enabled, native ads will be ignored. You need to choose one between native and custom ads.
{% endhint %}

{% hint style="danger" %}
You can control ads from the admin panel. We have added an option to turn off/on ads at any time you want. Don’t enable ads on the admin panel if you have not enabled ads in the app.
{% endhint %}

{% hint style="warning" %}
We have used Admob ads by default with test unit IDs. To test the ads, you should test with the test unit IDs. Before releasing the app for production, make sure you have changed the app IDs and ad unit IDs with yours. Admob is applied by default. So you don’t have to do anything before releasing.
{% 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://doc.newshour.mrb-lab.com/app-setup/7.-ads-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.
