# AdMobInterstitial

In this tutorial, we'll show you how to easily monetize your apps using **AdMobInterstitial** component. This component can be used to create AdMob full screen ADs

## Assumption:

You have already created an AdMob AdUnitId. If you haven't, please follow Steps 1-6 from source [HERE](https://quickappninja.zendesk.com/hc/en-us/articles/115000826865-How-to-create-Banner-Admob-Ad-unit-ID-?mobile_site=true).

## Ad Guidance:

Please see AdMob video guide below. It is very important to follow their Terms of Service (ToS) and guide:

<https://support.google.com/admob/answer/6128877?hl=en>

## Setup:

Create a new AppyBuilder project and name it TestAdmobFullScreen

From Monetize category, drag-and-drop AdMobInterstitial onto layout screen

![](/files/-L9Bua7nwEIvxg9QAVoi)

Select this component and for its designer AdUnitId, enter your AdUnitId.&#x20;

***NOTE: For testing, you should use TEST AdUnitId. See link***&#x20;

[***HERE*** ](https://developers.google.com/admob/android/test-ads)

***for these IDs.***&#x20;

![](/files/-L9Bua7pOZ8TOImk9owH)

![](/files/-L9Bua7yYxzMie8XlZpp)

Next, Select Screen1 and set the Screen1 **Sizing** to **Responsive**:

![](/files/-L9Bua8MJQqSFi7UA4Q3)

This component has blocks / events that are shown in image blow. **LoadAd** block is executed automatically on startup. If Ad is successfully loaded, the **AdLoaded** event will be triggered. DO NOT use LoadAd block in this event because it will create an infinite loop. If the Ad fails to load, then **AdFailedToLoad** will be triggered and you can check the Error or message parameters to inspect why Ad was not served

**ShowInterstatialAd** block can be used to display the AD that was last loaded.

**AdClosed** block, gets triggered when AD is closed. In this block, you can use LoadAd block to load the next ad and prepare for next AD display.

![](/files/-L9Bua8uHZfPA-GQo5h6)

The AD can be displayed when changing screens or when user clicks a button. DO NOT encourage user to click in order to display the AD. Please follow Ad Guidance shown above.

### From [iNetAjmer](http://community.appybuilder.com/u/inetajmer) AppyBuilder Member

You can also check the error message that may give some idea about the issue:

![](/files/-L9Bua927QVohe2LPxKH)


---

# 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://help.appybuilder.com/components/reference/monetize/admobinterstitial.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.
