Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Android 

Ads won't enable on my Android app - Used Unity to make the app and Admob for ads

I have made an app for android and have tried to enable ads at the bottom of the screen, similar to Flappy Birds/Piano Tiles ad placement but the problem is that it keeps saying "these are tests ads" and do not actually run real ads. Does anyone know what's going on here?

All the SDK is up to date.

Admob Plugin git hut says this: Added test device info
Google is quite strict with invalid ad requests and can block an account
if detects impressions or clicks that are supposed not to be. Plugin now
adds the emulator flag to be excluded from Ad request and, there is also
a new flag, called isTestDevice. When this flag is TRUE, the AdMob's
device id is calculated and set into the AdRequest to be able to test
the application without any concern with admob..
https://github.com/nabrozidhs/unity_admo...7c731833f5

Do i turn flag is TRUE to false? Not sure how to do it if so.

Screenshots:
Spoiler (Click to View)
[Image: jfYkbmv.gif]
the screenshot provided doesn't really tell anything, but anyways, isTestDevice should be TRUE if you want to see how the ads fit in, but it won't earn you anything. When deploying the app you should set it to FALSE.

The reason why this exists is because if you set it to false and compiled it over and over again testing the app and various parts of it, admob might suspect you of being a view bot for the ads and ban you.
(Aug 22, 2014 09:45 PM)Rаziel Wrote:  the screenshot provided doesn't really tell anything, but anyways, isTestDevice should be TRUE if you want to see how the ads fit in, but it won't earn you anything. When deploying the app you should set it to FALSE.

The reason why this exists is because if you set it to false and compiled it over and over again testing the app and various parts of it, admob might suspect you of being a view bot for the ads and ban you.
Hmm, okay thank you for that but the problem is i don't know how to set it to false..
[Image: jfYkbmv.gif]
(Aug 22, 2014 11:17 PM)KING KING Wrote:  Hmm, okay thank you for that but the problem is i don't know how to set it to false..

do you even call createBanner then lol?
I haven't used admob for unity yet, only adcolony, so can't really help you step by step.
(Aug 22, 2014 11:37 PM)Rаziel Wrote:  do you even call createBanner then lol?
I haven't used admob for unity yet, only adcolony, so can't really help you step by step.

There is already a banner... but it only displays test ads. All that we want is for the test ads to change to real ads. The positioning of the banner is all right.

Here is another screenshot, it says createBanner: Spoiler (Click to View)
[Image: jfYkbmv.gif]
(Aug 23, 2014 12:20 AM)KING KING Wrote:  There is already a banner... but it only displays test ads. All that we want is for the test ads to change to real ads. The positioning of the banner is all right.

Here is another screenshot, it says createBanner: Spoiler (Click to View)

This is what I meant. Here is where you said "true" to isTestDevice.

http://pokit.org/get/?bd45c4dd1a61744a36...f63fe8.jpg

change the last param to false and it should work.
(Aug 23, 2014 12:30 AM)Rаziel Wrote:  This is what I meant. Here is where you said "true" to isTestDevice.

http://pokit.org/get/?bd45c4dd1a61744a36...f63fe8.jpg

change the last param to false and it should work.

Ahh! Thanks a lot for your help, this looks like it's going to work now :)
+3
[Image: jfYkbmv.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[WTB] by onlinebashMay 23, 2026 01:39 AM 8 229 May 23, 2026 01:39 AM
Last Post: BuyerFlow
[Looking] by АнастасияDec 13, 2025 07:37 PM 3 140 Dec 13, 2025 07:37 PM
Last Post: Анастасия
[Looking] by ogtony911Sep 19, 2025 03:40 AM 1 150 Sep 19, 2025 03:40 AM
Last Post: ogtony911