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
12
votes
5 answers

WhatsApp deep link to a specific mobile number

So, a friend of mine told me they have been using Facebook ads to post a deep link to send a whatsapp message and ask for the information about the ad via whatsapp. Bad news: this friend is not very tech savvy so that's all he knows. Now, the…
Cristóbal Galindo
  • 121
  • 1
  • 1
  • 3
12
votes
4 answers

Custom ads on admob android studio based on keyword

I have searched online but had not luck so far in my research, I have set up admobs in my android app and now I only want relevant ads to show up based on keyword that I set. My app is based on toys, so I only want ads related to toys to show …
Henry
  • 1,042
  • 2
  • 17
  • 47
12
votes
1 answer

Manage ads inside a Single Page Application

I m developing a Single Page Application (SPA). So, I use to refresh the page's HTML's content dynamically using Ajax requests. I'd like to register to the DoubleClick for Publishers program, but I m wondering if my SPA is able to integrate…
Rotan
  • 577
  • 6
  • 16
12
votes
2 answers

AdvertisingIdClient getAdvertisingIdInfo hangs forever

I'm trying to get advertising ID from Google Play services API. Here is a sample code: ... import com.google.android.gms.ads.identifier.AdvertisingIdClient; import com.google.android.gms.common.GooglePlayServicesNotAvailableException; import…
timba
  • 241
  • 2
  • 9
12
votes
4 answers

Programmatically close an interstitial ad

I want to make sure that interstitial ads on Android, using the Android AdMob SDK, can be closed. After some research, it seems to me that this is not possible due to the ad being a separate activity. What I want to do is close the ad after 5…
Driss Bounouar
  • 3,182
  • 2
  • 32
  • 49
12
votes
4 answers

IFrame buster files - what's their purpose?

Looking at a few advertising companies (DoubleClick, Atlas), I've come across the concept of iframe buster files, that are hosted on the same host as the ad publisher (one example: http://www.adopstools.com/ibusters/atlas/atlas_rm.htm, and there's a…
Alex Yarmula
  • 10,477
  • 5
  • 33
  • 32
12
votes
3 answers

AdMob - "Invalid or non-existent app url" while creating an ad

I am trying to create a house-ad campaign for my Android application, but unfortunately encountered a problem while providing an URL. Please find error message below: There were problems with your submission. Invalid or non-existent app url What is…
12
votes
2 answers

HTML element for ad?

Is there any authoritative information on the web concerning which HTML element to chose for an advertisement banner? I considered
11
votes
2 answers

Removing Ad's with in-app-purchase

I'm searching for a tutorial or an explanation on how to remove advertisement in my application with in-app purchase? I will put some ads with ad-mob in my app but I also want, that the user can disable the ads when he pays a little donation. Do you…
Informatic0re
  • 6,300
  • 5
  • 41
  • 56
11
votes
2 answers

AdRequest "This method should only be accessed from tests or within private scope"

I have seen that recently a new warning has appeared in mi project in the following line: AdRequest adRequest = new AdRequest.Builder().build(); The warning is in "new AdRequest.Builder().build();" This is the warning: This method should only…
sacacorchos
  • 163
  • 9
11
votes
3 answers

How does a web beacon(web bug) work?

Can anybody explain exactly how a web beacon works? I know they're generally used by advertising platforms but i can't really find a good explanation on how they're working. I know that cookies aren't accessible cross-domain. A web beacon is an…
Dan Dinu
  • 32,492
  • 24
  • 78
  • 114
11
votes
1 answer

Don't update app: Fix the policy violation with your app

The application worked fine for half a year, I tried to upload an update, everything was as usual, but the console received "We have determined your app contains code to facilitate Ad Fraud", although I almost did not change anything. The only…
Binary
  • 421
  • 4
  • 12
11
votes
4 answers

How to display ads within a collection view

I'm trying to add some banner ads randomly inside my collectionView. Each collectionView cell would be a basic image (black square here to make things easier) populated dynamically from an array (let's say it's a really long array and call it…
user7098356
11
votes
1 answer

Open instagram ad link in default mobile browser

We are creating Instagram ad for the product (from ads manager panel) . It contains the link to the webpage , where one of the steps is that you need to upload the picture. Problem here is that ad is opened in some kind of "instagram" browser, not…
Kripton
  • 123
  • 1
  • 8
11
votes
2 answers

I cannot get my Admob in house ads to display in my mobile apps

I cannot get my Admob in house banner ads to display in my mobile apps. I had the understanding that impression goal ads were to be served first. Therefore, I created a few impression goal campaigns set the impression goal very high and my ads…
Amy Menolascino
  • 111
  • 1
  • 4