admob

Android Admob Not enough space to show ad

本小妞迷上赌 提交于 2019-12-31 04:28:30
问题 Used the code provided in admob site Here is my xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/background_img" android:orientation="vertical" android:id="@+id/atozlayout" > <GridView android:id="@+id/gridView1" android:numColumns="auto_fit" android:gravity="center" android:columnWidth="55dp" android:stretchMode="columnWidth

Android AdMob without XML

故事扮演 提交于 2019-12-31 04:20:08
问题 I have a massive question to ask as I am really stuck on this and it would be create to get ads on my free application, ok first off I have been following this book Beginning Android games 2011 http://www.apress.com/9781430230427 Now this book implements a very nice and simple game framework which I use (a simpler version can be found here http://www.kilobolt.com/day-5-the-android-game-framework-part-i.html Now this framework doesn't use any type of XML file what so ever, it uses a

admob fillrate = 0

早过忘川 提交于 2019-12-31 03:34:06
问题 i'm using admob for an app i just launched the other day, at first there were no downloads, but with a campaign i'm using now, i've gotten 140 requests yesterday and as of now, 44 and counting... but still, on the old admob website, it says that it isn't active because it has not yet received any ad request. I have another app in the admob list, and it is showing on the old website as a green light. I don't think there is anything wrong with my code, otherwise there wouldn't be any requests,

How to get test ad Banners and test Interstitial ads working for adMob?

旧城冷巷雨未停 提交于 2019-12-31 03:20:29
问题 I am trying to setup adMob ads. I have two questions: 1) Am I using adListener interface correctly? 2) How come I am unable to see ad Interstitials? Lets start with the adListener. As far as what I understood from the instructions, adListener is an interface. So I created an interface. import com.google.ads.AdRequest; import com.google.android.gms.ads.AdView; public interface AdListener { public void onReceiveAd(AdView ad); public void onFailedToReceiveAd(AdView ad, AdRequest.ErrorCode error)

Not able to get ads from admob with mopub

纵饮孤独 提交于 2019-12-31 01:06:29
问题 I've been trying to get ads running on my app for a couple of days now. I have everything setup, line item, banner, admob ID (the one with ca-app....), I got the right mopub Id and everything. However I still get this message: 12-16 20:13:44.984 2778-2778/com.spekz D/skia﹕ GFXPNG PNG bitmap created width:720 height:279 bitmap id is 184 12-16 20:13:44.994 2778-2778/com.spekz D/dalvikvm﹕ GC_FOR_ALLOC freed 55K, 18% free 27700K/33472K, paused 14ms, total 14ms 12-16 20:13:45.004 2778-2778/com

Not able to get ads from admob with mopub

谁说我不能喝 提交于 2019-12-31 01:06:25
问题 I've been trying to get ads running on my app for a couple of days now. I have everything setup, line item, banner, admob ID (the one with ca-app....), I got the right mopub Id and everything. However I still get this message: 12-16 20:13:44.984 2778-2778/com.spekz D/skia﹕ GFXPNG PNG bitmap created width:720 height:279 bitmap id is 184 12-16 20:13:44.994 2778-2778/com.spekz D/dalvikvm﹕ GC_FOR_ALLOC freed 55K, 18% free 27700K/33472K, paused 14ms, total 14ms 12-16 20:13:45.004 2778-2778/com

admob 6.2.1 nullpointer exception

元气小坏坏 提交于 2019-12-31 00:55:08
问题 i have a big problem, i want to integrate admob in my android app but i get a nullpointer exception in the graphical layout when i try to integrate admob in the xml file java.lang.NullPointerException at com.google.ads.AdView.onMeasure(SourceFile:670) at android.view.View.measure(View.java:15172) at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4814) at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1390) at android.widget.LinearLayout.measureVertical

White statusbar when using Admob in activity layout

﹥>﹥吖頭↗ 提交于 2019-12-30 18:56:18
问题 I am using CoordinatorLayout with RelativeLayout for displaying an Ad at the bottom. But what I am getting is white status bar. When I removed the relative layout and adview everything works fine. As I am wrapping CoordinatorLayout inside RelativeLayout what I get is a white status bar. Using API v23 (marshmallow) I also found related question here: Status bar turns white and does not show content behind it The layout I used looks similar to the answer here: https://stackoverflow.com/a

Is it possible to add UIView (Admob) in uitableviewcontroller or in uicollectionviewcontroller

拈花ヽ惹草 提交于 2019-12-30 13:31:09
问题 I want to add admob in uitableviewcontroller or in uicollectionviewcontroller at the bottom of screen. So for that I have to add uiView (GAD BannerView) at the bottom of uitableview controller or uicolleectionview controller. So how can I do this? Actually we can add uiview easily in uiviewcontroller but how can I add this in uitableviewcontroller or uicollectionviewcontroller? 回答1: Yes you can also add Ad Mob in UITableView or UICollectionView . UITableViewController have a one property

Rotate iPad and AdMob to not load again, like iAds

主宰稳场 提交于 2019-12-30 12:15:08
问题 I am implementing iAd and AdMob banners into my app. On the iPad I'm getting some weird issues when the device rotates, specifically with AdMob. With iAds, the banner remains on the bottom of the screen when the device rotates and doesn't reload the ad. With AdMob however, it reloads the banner when the device rotates, even though I'm using the same code. I am creating the ADBannerView and GADBannerView programmatically. iAd code: self.adBanner.hidden = NO; self.adBanner = [[self appdelegate]