Questions tagged [ads]

Use this tag for issues related to handling advertisements programmatically. If using a specific technology such as AdMob or AdSense be sure to add the relevant tag too.

Advertisements are a form of communication for marketing and used to encourage or persuade an audience (viewers, readers or listeners; sometimes a specific group) to continue or take some new action.

Not to be confused with .

3912 questions
15
votes
2 answers

native ads option does not appear in my admob account

I have Admob account , when i want to create new ads it shows me only 3 options : 1) Banner ads 2) Interstitial 3) Reward video Native ads should be there as a fourth option but it does not appear for me. Why? I got this picture from Internet…
j jobe
  • 177
  • 1
  • 8
15
votes
4 answers

Why remove AdMob's addTestDevice() in production?

On this page https://developers.google.com/admob/android/test-ads#add_your_test_device it says Note: Be sure to remove the code that sets these test devices before you release your app. Can anyone explain why? Why can't I leave the line of code…
user8298723
  • 153
  • 1
  • 4
15
votes
5 answers

Admob real ads not showing after publishing it

After I publish my game in google play and download from play store, I'am waiting for my banner ads to come up and unfortunately it doesn't showing up... but when I include the build.adTest(); when I trying the game/app the ads shows. What do you…
paul natividad
  • 161
  • 1
  • 1
  • 6
15
votes
3 answers

Using real AdMob ads in alpha/beta testing

My android application has some admob ads. I am testing my admob in Google Play store Alpha & Beta channel. My question is: Can I use REAL admob ad unit ids when I deploy my app into Google play store Alpha & Beta channels? Does it violate google…
user6265154
  • 353
  • 1
  • 6
  • 19
15
votes
3 answers

How to avoid impression bias when calculate the ctr?

When we train a ctr(click through rate) model, sometimes we need calcute the real ctr from the history data, like this #(click) ctr = ---------------- #(impressions) We know that, if the number of…
Tim
  • 659
  • 1
  • 7
  • 16
14
votes
5 answers

Android: Reusing same View object in different Activities (the case is about ad banners)

I want to reuse the same view object (not the view class, or the xml file, I mean the object in the memory) in different Activities. I almost had this done. The thing is, of course, the context. I tried with the application context. It almost…
Danail
  • 10,443
  • 12
  • 54
  • 76
14
votes
2 answers

Do you need to explicitly call pause, resume, destroy for an AdView?

Is the AdView automatically tied to the activity life cycle or do you have to explicitly call the pause, resume, destroy events? Does it depend on the size of the AdView? I'm using banner ads. I couldn't find a lot of code samples of other people…
Lifes
  • 1,226
  • 2
  • 25
  • 45
14
votes
3 answers

How do I add Advertising in my Android Apps?

Did google provide some special things or how do you add Adv. in your apps?
mullek
  • 2,131
  • 4
  • 17
  • 12
13
votes
3 answers

Adsense with AJAX

I read this, this and this, but I think my situation is different. I don't need to refresh Ads everytime I make an AJAX call. I have a page call it "mypage.php". I load Adsense advertisement into first div, when page is opened. My second div is…
trante
  • 33,518
  • 47
  • 192
  • 272
13
votes
3 answers

Move folder between drives on NTFS and preserve timestamps

Sorry, I know this sounds like a newbie question. But seriously, I'm an experienced developer, and I understand that Windows 7 Pro 64-bit and the like will say, "Oh, if you move an NTFS tree from one drive to another, when I write the children files…
Garret Wilson
  • 18,219
  • 30
  • 144
  • 272
12
votes
1 answer

Warning when building app: "Expected stack map table for method with non-linear control flow."

I have a project on which I worked last year. Recently I started working on it again but wanted to update everything that was possible. I managed to resolve basically all problems except this one. I can't find anything online about this warning. I…
Claudiu Razlet
  • 350
  • 1
  • 5
  • 12
12
votes
4 answers

Is MobFox really as good as they claim?

Currently I have a few android apps running with AdMob. I heard that it is not good so I decided to switch from AdMob. I searched online and found this MobFox claim that they pay 300% more than AdMob, which is pretty cool if it's true. You know they…
Xi 张熹
  • 10,492
  • 18
  • 58
  • 86
12
votes
4 answers

How to determine winning auction prices for ads served to me?

With personal data mining in the news, monetization of this data and ultimately the valuation that Facebook, Google and others enjoy, derives from showing ads. I have what should be a pretty simple question- How much are advertisers actually paying…
Jonah Benton
  • 3,598
  • 1
  • 16
  • 27
12
votes
4 answers

AdSense Ads giving error: Failed to load resource: the server responded with a status of 403 (Forbidden)

I'm trying to display AdSense ads on my website, but for some reason they do not load. I've added the ads a couple of days ago as I've heard it can take a while for them to be displayed, but there is no change up til now. In "Inspect", I can see the…
Thulasi Ram
  • 121
  • 1
  • 1
  • 3
12
votes
3 answers

How "Advertisement server" works?

I am looking for some information about Advertisement servers. Implementation details tracking code generation user data collection serving the ad in response to a click-through Applicable standards Reference material (Please provide links or…
Mahesh
  • 1,754
  • 7
  • 36
  • 54