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.
- Host: GitHub
- URL: https://github.com/alenaak/ads-implementation-android
- Owner: Alenaak
- Created: 2024-11-23T12:12:38.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-23T12:59:52.000Z (11 months ago)
- Last Synced: 2025-02-15T16:47:42.388Z (8 months ago)
- Topics: admob, admob-banner, ads, android, android-app, android-application, android-studio, google, googleads, interstitial-ads, nativeads, rewarded-ads, rewardedinterstitialads, views
- Language: Kotlin
- Homepage:
- Size: 2.13 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
### Banner Ad
### Interstitial Ad
### Rewarded Ad
### Rewarded Interstitial 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.