Questions tagged [adview]

Google Adview is an API to show advertisements from Google Admob / AdSense on smartphones and tablets on the Android, iOS and Windows Mobile platforms.

Google Adview is an API to show advertisements from Google Admob / AdSense on smartphones and tablets on the Android, iOS and Windows Mobile platforms.

Questions tagged with are related to the operation and behaviour of this API.

API homepage

300 questions
0
votes
0 answers

Android Admob showing blank RocketFuel ads often

I have a working AdMob AdView on top of my opengl game. Its working great but I notice that it keeps showing a particular blank ad. I thought it was a bug on my side but then I noticed that the ad is functioning partially. The ad appears to be a…
DMTishler
  • 501
  • 1
  • 6
  • 12
0
votes
3 answers

AdMob app keeps crashing

My Code: Java: import android.os.Bundle; import android.app.Activity; import android.util.AttributeSet; import android.view.Gravity; import android.view.Menu; import android.widget.LinearLayout; import com.google.ads.AdRequest; import…
user2502514
  • 23
  • 1
  • 7
0
votes
1 answer

Is it possible to save AdView into memory to move it to another activity?

So, the main Activity will include an AdView and when user switches to another activity, instead of creating a new AdView, I want to get previously created AdView and add it to current activity's layout. Is this possible? Setting AdView to a…
frankish
  • 6,738
  • 9
  • 49
  • 100
0
votes
0 answers

AdView on Custom View in Android

I am creating a simple View for a game I am making. I have a Title Screen that I want to show ads on using the AdView. in my constructor I have this: public TitleView(Context context) { super(context); myContext = context; titleGraphic…
0
votes
2 answers

android - adview is empty in the bottom of the listView

I need to implement AdMob's AdView in the bottom of the Activity with the ListView. I added AbView to my layout sucessfully. My layout file looks like this:
Rikki Tikki Tavi
  • 3,089
  • 5
  • 43
  • 81
0
votes
1 answer

Android: ANR when creating AdView

For the past week I started getting a lot of ANR reports related to AdMob, AdView creation. I didn't change anything in my code though. I'm creating it in my Activity onCreate() method like this: this.adView = new AdView(this, AdSize.SMART_BANNER,…
user1026605
  • 1,633
  • 4
  • 22
  • 58
0
votes
4 answers

Alignment of Buttons with AdView

I have a Layout for Android app with few buttons in it. I am trying to set an Ad at the bottom of the page. Please refer to my layout below:
Sid
  • 582
  • 3
  • 7
  • 28
0
votes
2 answers

Runtime error "Couldn't find class com.google.ads.adView"

I'm trying to include ad mob ads to my activity. I did search about this on this site so I did: input code from https://developers.google.com/mobile-ads-sdk/docs/admob/fundamentals?hl=uk#android imported the newest .jar into /lib included the same…
rommex
  • 43
  • 1
  • 5
0
votes
4 answers

How to create an admob adView dynamically?

I have an admob adView set up and I need to create it dynamically due to a bug in the latest release of course. I want the ad on the bottom of the screen, and I have a LinearLayout which is set to the bottom BUT there are is a restrictions which…
0
votes
2 answers

AdView Code that USED to work, no longer works, 1 day later

I have no idea what's going on, with zero changes to my code, and 1 day later, I'm now getting no Admob ads being displayed (previously worked flawlessly) and I am getting this error: E/Ads(775): JS: Uncaught ReferenceError: AFMA_getSdkConstants is…
AutoM8R
  • 3,020
  • 3
  • 32
  • 52
0
votes
1 answer

adView banner error

I am using an adMob banner in my application but when I run it, I got an errors as bellow: 12-17 12:32:19.098: E/Trace(1244): error opening trace file: No such file or directory (2) 12-17 12:32:19.727: D/dalvikvm(1244): GC_FOR_ALLOC freed 55K, 3%…
Android Developer
  • 1,039
  • 1
  • 9
  • 33
0
votes
2 answers

Managing adView from another class

I have an application. There are classes. For example i have these classes: -MainActivity.java -AppName.java -GameScreen.java -GamePlayScreen.java I have advertise coded in MainActivity.java as following, public class MainActivity extends…
Ozan Atmar
  • 270
  • 1
  • 3
  • 11
0
votes
2 answers

Android replace an existing view with an admob ad

I'm implementing ads in my android app. They work fine, but it takes them a few seconds to pop up which then resizes my layout elements. I want to have the layout elements pre-resized even before the ad is loaded so they don't shift once it is. Is…
Andrew
  • 1,890
  • 3
  • 16
  • 35
0
votes
3 answers

AdMob simple tutorial doesn't work

I'm in an early process of developping a game for Android and I'm trying to incorporate an ad banner using AdMob. I have downloaded the sample straight from the tutorial on the official site, so I guess that whatever I'm doing wrong here has to be…
Amit Farkash
  • 329
  • 3
  • 16
1 2 3
19
20