An open API service indexing awesome lists of open source software.

https://github.com/alenaak/ads-implementation-android

This Android application demonstrates the implementation of various types of Google AdMob ads. The app consists of five buttons, each triggering a specific type of ad.
https://github.com/alenaak/ads-implementation-android

admob admob-banner ads android android-app android-application android-studio google googleads interstitial-ads nativeads rewarded-ads rewardedinterstitialads views

Last synced: 6 months ago
JSON representation

This Android application demonstrates the implementation of various types of Google AdMob ads. The app consists of five buttons, each triggering a specific type of ad.

Awesome Lists containing this project

README

          

# **ADs IMPLEMENTATION - ANDROID**
This Android application demonstrates the implementation of various types of Google AdMob ads. The app consists of five buttons, each triggering a specific type of ad using AdMob's test ad IDs.

---
### **Note:**

This project uses test AdMob IDs. For production purposes, generate your own AdMob IDs by visiting the AdMob console.

## **Features**
The app showcases the following types of ads:

1. **Banner Ad**
- A rectangular ad displayed at the top or bottom of the screen.
2. **Interstitial Ad**
- A full-screen ad displayed at natural transition points in the app.
3. **Rewarded Ad**
- An ad that rewards users with in-app items for watching it completely.
4. **Rewarded Interstitial Ad**
- Combines the interstitial ad's full-screen format with the rewarded ad's benefits.
5. **Native Ad**
- An ad that matches the app's look and feel, blending seamlessly into the UI.

---

## **Screenshots**

### Main Screen
Main Screen

### Banner Ad
Banner Ad

### Interstitial Ad
Interstitial Ad

### Rewarded Ad
Rewarded Ad

### Rewarded Interstitial Ad
Rewarded Interstitial Ad

### Native Ad
Native Ad

---

## **Dependencies**
Add the following dependency to your `build.gradle` file:

```groovy
dependencies {
implementation 'com.google.android.gms:play-services-ads:22.0.0' // Update to the latest version
}
```

## **Setup Instructions**
1. Clone the repository:

```bash
git clone https://github.com/yourusername/Ads-Implementation-Android.git
```

2. Open the project in Android Studio.

3. Add your AdMob App ID to the AndroidManifest.xml:

```

```

4. For each ad, provide the respective unit ID. You can replace the test unit IDs with your own production unit IDs when setting up the ads in the app.

5. Build and run the application on a physical device or emulator.

## **Contact**
If you have any questions or suggestions, feel free to open an issue or contact me directly.