admob

AdActivity leak on AdMob (SDK 7.0) for Android

馋奶兔 提交于 2019-12-23 09:27:35
问题 I have memory leaks regarding Interstitial ads of AdMob with AdActivity object. Whenever an ad is shown, AdActivity object count in the memory increments by 1. I inspect all changes via MAT after explicit GC calls. I use the latest versions of everything. At first, I thought that this is related to how I implemented my UI or project, but creating a fresh and empty project shows the same leak. This leak has also existed in the previous Admob SDK (Google Play Services) and now it exists in

AdMob interstitial ad only shown once

江枫思渺然 提交于 2019-12-23 08:34:54
问题 LogCat shows the error message "Tried to launch a new AdActivity with a different ad manager", when the ad should get opend for the second or third time within one session. I am starting the interstitial ad through an intent in the on resume method of my apps main screen: @Override public void onResume() { super.onResume(); if(this.getIntent().hasExtra("show_ad")) { if(this.getIntent().getExtras().getBoolean("show_ad")) { showInterstitialAd(); } } } public void showInterstitialAd() {

AdMob interstitial ad only shown once

[亡魂溺海] 提交于 2019-12-23 08:34:34
问题 LogCat shows the error message "Tried to launch a new AdActivity with a different ad manager", when the ad should get opend for the second or third time within one session. I am starting the interstitial ad through an intent in the on resume method of my apps main screen: @Override public void onResume() { super.onResume(); if(this.getIntent().hasExtra("show_ad")) { if(this.getIntent().getExtras().getBoolean("show_ad")) { showInterstitialAd(); } } } public void showInterstitialAd() {

Admob Ads not displaying iOS

旧时模样 提交于 2019-12-23 07:59:06
问题 I have a banner ad and an interstitial ad. They are appearing when I use the adUnitID's for testing purposes that AdMob gives you, but neither of them are showing when I use live ads. The banner just doesn't appear at all. When the interstitial ad appears, it is just completely black. The adUnitID's are correct. The ads on my other apps are currently appearing just fine. The problem occurs both when I use the iOS simulator and my device. Any ideas? var interstitial: GADInterstitial! func

Admob - no ad to show

好久不见. 提交于 2019-12-23 07:26:08
问题 Hello I try to make some example program showing ads on Android phone, and I try to test it on Emulator of v2.2 Everything in code seems to be fine, but AdListener in debugger says that: Response message is zero or null; onFailedToReceiveAd( No ad to show). Is there any way for it to be my fault? Did anyone encounter same problem? Heres the code Manifest: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.AdTest" android

Place AdMob ad at the bottom of tableview controller - swift

删除回忆录丶 提交于 2019-12-23 06:58:08
问题 I've been trying to implement Admob on swift and everything is good, but i run out of problem because I'm using custom table view cell and "Table view controller" as the main swift file, so when i am dragging the BannerView into the storyboard which is the table view controller, the ad actually appear in the first cell of the table view ! instead i need to load it at the button of the tableview controller not inside the cells ? @IBOutlet weak var bannerView: GADBannerView! override func

IONIC 3 - Admob Free not displaying Ads when testing is false

瘦欲@ 提交于 2019-12-23 06:57:04
问题 I have a problem with Ionic 3 when trying to display ads with Admob Free plugin. My Ads will only show in test mode (isTesting: true). If I set it to false or comment the line, no Ads ... This is my code: showBannerAd(){ const bannerConfig: AdMobFreeBannerConfig = { id:'BANNER-ID', autoShow: true, isTesting: false } this.adMob.banner.config(bannerConfig); this.adMob.banner.prepare().then(()=>{ //this.adMob.banner.show(); }).catch(err => console.log(err)); } If I uncomment the line this.adMob

Not enough ad space when add admob in HTML5Webview

三世轮回 提交于 2019-12-23 05:43:24
问题 now i am working to create an android application that this application use HTML5Webview for play video. I download HTML5webview from this https://code.google.com/p/html5webview/ Now, i want to add admob banner in this application. But, i have a problem when do it. My ads not show because "Not enough ad space". SS Error Message : http://prntscr.com/3lk1t0 In Html5web view, the layout use FrameLayout. I think, the problem is about layout. I search other reference to add admob in FrameLayout,

Not enough ad space when add admob in HTML5Webview

柔情痞子 提交于 2019-12-23 05:41:12
问题 now i am working to create an android application that this application use HTML5Webview for play video. I download HTML5webview from this https://code.google.com/p/html5webview/ Now, i want to add admob banner in this application. But, i have a problem when do it. My ads not show because "Not enough ad space". SS Error Message : http://prntscr.com/3lk1t0 In Html5web view, the layout use FrameLayout. I think, the problem is about layout. I search other reference to add admob in FrameLayout,

Admob Integration into Android Application

这一生的挚爱 提交于 2019-12-23 05:12:33
问题 I started programming Android apps about a year ago but have never integrated the Admob ad into an app. To get started, I used the Android SDK Manager (Jan, 2015) to update the Tools, Documentation, SDK platform, samples, APIs, and Extras (Android Support Library and Google Play Services) to the latest revisions. It looks like the old AdMob 6.4.1 is no longer used and has been replaced with the Google Play Services. Based on the Google Mobile Ads documentation [ htpps://developer.android.com