Hack Forums
[Android] Ads won't enable on my Android app - Used Unity to make the app and Admob for ads - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Marketplace (https://hackforums.net/forumdisplay.php?fid=105)
+--- Forum: Auxiliary (https://hackforums.net/forumdisplay.php?fid=453)
+---- Forum: Buyers Bay (https://hackforums.net/forumdisplay.php?fid=44)
+---- Thread: [Android] Ads won't enable on my Android app - Used Unity to make the app and Admob for ads (/showthread.php?tid=4409769)



Ads won't enable on my Android app - Used Unity to make the app and Admob for ads - KING KING - Aug 22, 2014

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_admob_android/commit/1ec39fe1e94faedf5f0c45bcd8db8c7c731833f5

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

Screenshots:
Spoiler (Click to View)


* - Rаziel - Aug 22, 2014

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.


* - KING KING - Aug 22, 2014

(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..


* - Rаziel - Aug 22, 2014

(Aug 22, 2014 11:17 PM)King Zendle 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.


* - KING KING - Aug 23, 2014

(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)


* - Rаziel - Aug 23, 2014

(Aug 23, 2014 12:20 AM)King Zendle 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/?bd45c4dd1a61744a365c71977cf63fe8.jpg

change the last param to false and it should work.


* - KING KING - Aug 23, 2014

(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/?bd45c4dd1a61744a365c71977cf63fe8.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