Hi all.
i see today google made a native ads for AdMob, this is already on GooglePlay Services and its easy(by admob) to use.
you can use ads on listview with this now.
with high eCPM
https://support.google.com/admob/answer/6240809
https://support.google.com/admob/answer/6239795
https://github.com/clockbyte/admobadapter
The code to call this is like
https://developers.google.com/admob/android/native
Someone here know add this to b4a and can make a tutorial or lib pls?
thx all
i see today google made a native ads for AdMob, this is already on GooglePlay Services and its easy(by admob) to use.
you can use ads on listview with this now.
with high eCPM
https://support.google.com/admob/answer/6240809
https://support.google.com/admob/answer/6239795
https://github.com/clockbyte/admobadapter
The code to call this is like
https://developers.google.com/admob/android/native
B4X:
AdLoader adLoader = new AdLoader.Builder(context, "ca-app-pub-3940256099942544/2247696110")
.forAppInstallAd(new OnAppInstallAdLoadedListener() {
@Override
public void onAppInstallAdLoaded(NativeAppInstallAd appInstallAd) {
// Show the app install ad.
}
})
.forContentAd(new OnContentAdLoadedListener() {
@Override
public void onContentAdLoaded(NativeContentAd contentAd) {
// Show the content ad.
}
})
.withAdListener(new AdListener() {
@Override
public void onAdFailedToLoad(int errorCode) {
// Handle the failure by logging, altering the UI, etc.
}
})
.withNativeAdOptions(new NativeAdOptions.Builder()
// Methods in the NativeAdOptions.Builder class can be
// used here to specify individual options settings.
.build())
.build();
Someone here know add this to b4a and can make a tutorial or lib pls?
thx all