- Helper for activating admob
- Example Source Code For Call Method Show Admob
- Calling method on Inheritance Class
- Implement all Admob Version
| Banner and Interstitial | RecyclerView with Banner |
|---|---|
![]() |
![]() |
$version_release = 2.0.0
What's New??
* Remastered Code (Open Beta) *
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
// library google ads
implementation 'com.google.android.gms:play-services-ads:${latest_version}'
// library frogo-admob-helper
implementation 'com.github.amirisback:frogo-admob:2.0.0'
}
<manifest>
<application>
<!-- Sample AdMob App ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-xxxxxxxxxxxxxxxx~yyyyyyyyyy"/>
</application>
</manifest>
class <YourActivity> : FrogoAdmobActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setupAdmob()
}
private fun setupAdmob(){
setBasePublisherID(<Your_Publisher_ID>)
setBaseBannerAdUnitID(<Your_Banner_Unit_ID>)
setBaseInterstialAdUnitID(<Your_Interstitial_Unit_ID>)
setBaseRewardedAdUnitID(<Your_Rewarded_Unit_ID>)
setBaseAdmob()
}
}
fun setupShowAdsInterstitial()
fun setupShowAdsBanner(<Your_Banner_Layout_ID>)
Get Ready For Publish Apps
def debugAdmobPublisherId = "ca-app-pub-3940256099942544~3347511713"
def debugAdmobBanner = "ca-app-pub-3940256099942544/6300978111"
def debugAdmobInterstitial = "ca-app-pub-3940256099942544/1033173712"
def debugAdmobInterstitialVideo = "ca-app-pub-3940256099942544/8691691433"
def debugAdmobRewardedVideo = "ca-app-pub-3940256099942544/5224354917"
def debugAdmobNativeAdvanced = "ca-app-pub-3940256099942544/2247696110"
def debugAdmobNativeAdvancedVideo = "ca-app-pub-3940256099942544/1044960115"
- Just Clone This Project
- branch : master
- branch : before-using-library
-- Pick Your Choice!! --
Very open to anyone, I'll write your name under this, please contribute by sending an email to me
- Mail To [email protected]
- Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
- Example : Github_amirisback_kotlin_admob-helper-implementation
Name Of Contribute
- Muhammad Faisal Amir
- Waiting List
- Waiting List
Waiting for your contribute
- Google Sample Code Click Here
- Test Ads Click Here
- For Get Started Click Here
Please enjoy and don't forget fork and give a star
- Don't Forget Follow My Github Account


