Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / CreateAdvert, just quick confirmation

Author
Message
jlahtinen
14
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 2nd Jul 2013 16:20
So the last parameter should be 0 in the final product?

It seems like there is ads no matter if the test parameter is 0 or 1, what's the difference?


Definition

CreateAdvert( type, horz, vert, test )

Parameters

type - reserved, must be 0
horz - The horizontal position of the ad, 0=left, 1=center, 2=right
vert - The vertical postion of the ad, 0=top, 1=center, 2=bottom
test - Set to 1 to receive a non
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 2nd Jul 2013 16:41
In the production version, the final parameter should be 1.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
jlahtinen
14
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 2nd Jul 2013 17:00
Quote: "In the production version, the final parameter should be 1."


Thank you, I was about the make the opposite.
Funnell7
12
Years of Service
User Offline
Joined: 8th Sep 2011
Location: UK, England
Posted: 2nd Jul 2013 19:48
Quote: "In the production version, the final parameter should be 1."


AL, are you sure about that? I'm actually using CreateAdvertEX (but I assume it would be the same) and the last parameter (test) is set to '0'. Funnily enough, I received our fist payment from AdMob today so it definitely works this way.

The description also makes it sound as though you need to set '1' for test only...
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 2nd Jul 2013 20:00
It should be 0 before you release it, not 1.
jlahtinen
14
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 2nd Jul 2013 20:00
So it is 0 afterall?

It could more clearly stated in the help.
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 2nd Jul 2013 20:03
Yeah the help seems incomplete and doesn't explain the test flag at all. I'm not entirely sure that it even matters when using AdMob as that flag was originally created for InnerActive and may not even be implemented for AdMob.

However, I receive ad clicks and revenue by setting it to 0.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 2nd Jul 2013 20:07
I was soooo wrong. I am having the kind of day that anything I say or do is just not right.

Of course it should be zero.

Cheers,
Ancient Lady
AGK Community Tester and AppGameKit Master
jlahtinen
14
Years of Service
User Offline
Joined: 26th Oct 2009
Location: Finland
Posted: 2nd Jul 2013 20:27 Edited at: 2nd Jul 2013 21:35
No harm done. I'm pretty sure I received clicks when it was 1.

But it's hard to tell, because of AdMob's update delay.


By the way. Is it just me or are ads disabled in every custom rom? I recall you had to install adblocker app for rooted phones, but there isn't one in either of my rooted phones.

Login to post a reply

Server time is: 2024-05-03 23:58:53
Your offset time is: 2024-05-03 23:58:53