Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
Ads Interface - Page 12 - Gideros Forum

Ads Interface

11012141516

Comments

  • I have also tried "interstitial" on iAds and get a crash:

    Looks like some kind of event might be missing? "banner" works fine though.

    *visit(MouseEvent* v)* stack NOT ok begin:0 end:2 delta:0
    *CppLuaBridge::luaEvent* stack NOT ok begin:0 end:2 delta:0
    *enterFrame* stack NOT ok begin:0 end:2 delta:0
    *enterFrame* stack NOT ok begin:0 end:2 delta:0
    2014-04-17 15:14:37.379 martians[6513:907] *** Terminating app due to uncaught exception of class 'nil'
    libc++abi.dylib: terminate called throwing an exception
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    edited April 2014
    Yes, just read through the apple docs again and iad interstitials:
    with ios 6 and lower work only on iPad
    with ios 7 and higher work on iPad and iPhone/iPod

    http://stackoverflow.com/a/20858735/2274511

    So I will implement a check to see what ios version does the device have

    Likes: SinisterSoft

    +1 -1 (+1 / -0 ) Share on Facebook
  • Once the check is in, 'auto' could be a nice way of picking the best option.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    @SinisterSoft unfortunately auto is only for banner sizing
    I can't really choose for the developer either to show banner or interstitial, can I? :D
  • Hmm... maybe then change it to an array ('banner','interstitial') then if one fails it will pick the other? Or have 'best' so pick the one most likely to make $...
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    How can you even mix banner with full screen ad?
    I really can't imagine the situation where you could show one or another :D

    But if you really want to, there is always an AD_FAILED event to fallback to anything else you might want :)
  • I didn't get that event, it just crashed.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • ar2rsawseenar2rsawseen Maintainer
    yes it was with old, version, try out the new one ;)

    Likes: SinisterSoft

    +1 -1 (+1 / -0 ) Share on Facebook
  • Works. :D
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • SinisterSoftSinisterSoft Maintainer
    New advert network - should be a good one...

    https://developers.facebook.com/products/audience-network
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • BBurgess66BBurgess66 Member
    edited May 2014
  • I'm getting the following in the 'GiderosProject' from the download file:

    init.lua:1: module 'ads' not found:
    no field package.preload['ads']
    no file './ads.lua'
    no file '/usr/local/share/lua/5.1/ads.lua'
    no file '/usr/local/share/lua/5.1/ads/init.lua'
    no file '/usr/local/lib/lua/5.1/ads.lua'
    no file '/usr/local/lib/lua/5.1/ads/init.lua'
    no file './ads.so'
    no file '/usr/local/lib/lua/5.1/ads.so'
    no file '/usr/local/lib/lua/5.1/loadall.so'
    stack traceback:
    init.lua:1: in main chunk

    Actually this also occurs in any other project I try to add the 'ad interface' to

    Plz hlp

    Thx
  • ar2rsawseenar2rsawseen Maintainer
    @BBurgess66 you need to actually install the ads plugin, as make a custom Gideros IOS or Android player with preinstalled plugin from the Labs.

    http://docs.giderosmobile.com/deployment.html
    (Device player with plugins)
    Plugin installation instructions are with the plugin files in Gideros labs ;)
  • Good Morning,

    I'm trying to implement Mopub without success. As you already know, Mopub provides ads from third party companies, my questions are:
    - Do I need to implement Chartboost SDK (from ads-interface) if I want to use Chartboost from Mopub? (I've tried it without any success)
    - Is someone using it succesfuly?
    - At the present is there any good alternative to Mopub that allows crosspromotion?

    Thank you!
  • yubaroyubaro Member
    edited July 2014
    Error with Ads Interface:
    java.lang.NullPointerException
    en com.surprise.pluginSdk.fullAd_core.b.b
    @ar2rsawseen, any ideas?
    java.lang.RuntimeException: Unable to resume activity {com.site.game/com.surprise.pluginSdk.fullAd_core.FullAdActivity}: java.lang.NullPointerException
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2124)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2139)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1672)
    at android.app.ActivityThread.access$1500(ActivityThread.java:117)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3687)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:507)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:842)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.NullPointerException
    at com.surprise.pluginSdk.fullAd_core.b.b(Unknown Source)
    at com.surprise.pluginSdk.fullAd_core.b.a(Unknown Source)
    at com.surprise.pluginSdk.fullAd_core.FullAdActivity.onResume(Unknown Source)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1150)
    at android.app.Activity.performResume(Activity.java:3832)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2114)
    ... 12 more
  • ar2rsawseenar2rsawseen Maintainer
    @synchrotrongames for mediation yes usually you also need the third party sdk to implement it, so in most cases there is no need for mediation if both frameworks are supported by AdsInterface, you just fall back through Lua code :)

    @yubaro what is com.surprise.pluginSdk :)
  • yubaroyubaro Member
    com.surprise.pluginSdk ? @ar2rsawseen, I do not know, it must be an implementation of Letang.

    I use admob, random charboost and heyzap.
  • ar2rsawseenar2rsawseen Maintainer
    Problem is that Null Pointer exception is caused by this surprise sdk. Somewhere onResume. Maybe their SDK needed you to pass an activity or something to resume method? Any docs available?
  • yubaroyubaro Member
    They packaged the APK. There is no documentation.
  • ar2rsawseenar2rsawseen Maintainer
    @yubaro then you can try reporting it to them, maybe they will know something about it :)
  • yubaroyubaro Member
    @ar2rsawseen thanks for the advice! :D
  • ar2rsawseenar2rsawseen Maintainer
    Updated ads interface:
    http://giderosmobile.com/labs/ads-interface
    version 1.6
    (IOS and Android)Implemented connectivity check
    (Android)Admob - deprecated admob jar support
    (Android)Admob - removed check for Google Play services
    (IOS and Android)Admob - added additional param to load/showAd for specific ad units
    (Android)Amazon - upgraded sdk
    (Android)Amazon - added interstitial support
    (IOS and Android)Chartboost - upgraded sdk
    (IOS)Admob - upgraded sdk
  • Hey @ar2rsawseen , the Ads update arrived!

    I've replaced the GiderosAndroidPlayer project in Eclipse with the new src's.

    After launch the player I execute my app in the Gideros Studio and it stops with a black screen. I can not see nothing in the log.

    Maybe the ads module has something incorrect or I did something wrong?

    Another question. The changelog the Admob load/show Ad methods have additional parameters. Now we have to call showad("auto", unitID).
    But firstly we have to call admob:setkey(appID), where appID is the "ca-app-pub-XXXXXXXXXXXXXXXX/YYYYYYYYYY". What is the unitID then?

    Many thanks.
    David.

    Likes: dreiko65

    +1 -1 (+1 / -0 ) Share on Facebook
  • ar2rsawseenar2rsawseen Maintainer
    @SimplesApps is there anything in the logcat about black screen? like any errors?

    About admob param, it is optional

    if you use only one single ad unit, you can use setKey method and provide nothing additional in load/showAd

    But if you want to show banner and interstitial, they should have separate ad unit ids, then you can specify the optional param to differentiate them

    Basically if nothing is provided as optional param, then lib looks in what you have set in setKey method.
  • @ar2rsawseen Attached you can find the logcat although the problem is the authority identity declaration for Amazon in the AndroidManifest. It's my fault.

    Please, let me know if the next declaration for Amazon in the manifest is correct:


























    Regarding the unitIDs...

    if I use two ads for the same platform and then I use two unitIDs (one for each of the two showAd method), which id I have to use in the setKey method ?

    txt
    txt
    logcat.txt
    5K
  • ar2rsawseenar2rsawseen Maintainer
    edited July 2014
    All you need to have for amazon ads is:
    <activity android:name="com.amazon.device.ads.AdActivity"
     android:configChanges="keyboardHidden|orientation|screenSize"/>
    About admob, you can even not setting setKey at all and provide those unitIDs as second params to showAd call ;)
  • @ar2rsawseen

    The version of the Google Play Services lib you've included in the Ads Interface is the 5.00.7, if I'm right.

    Google told in the notes for the 4.4 version that the Google Play services library supports even devices that don't have the Google Play store (https://developers.google.com/mobile-ads-sdk/download#downloadplay).

    I'm testing my game with the Google Play Services lib (linked in the Eclipse project) and an Android device (with the Google Play Store installed) and the admod ad failed to be showed with the error "Google Play services is not available".
    What is supposed I have to do?


    Another thing regarding ads. This time is Inmobi...

    Inmobi Publish service is shutting down.
    I'd checked the Inmobi ads and I had problems with the checking system they have.
    And now they have shutting down the service...

    I received the next mail from Inmobi:
    "
    Dear App Publish User,

    Note: You are receiving this email because you are an InMobi App Publish user.

    Since the launch of InMobi App Publish, we've made it easier for thousands of developers to publish their Android apps to multiple app stores across the globe.

    After an amazing journey of enabling app discovery and delivering app downloads for all those who worked with us, we are sad to announce that App Publish is shutting down. Post August 4th 2014, you will not be able to submit any apps through App Publish.

    Please note that with this closure, apps submitted via App Publish will start being unpublished from partner app stores. We are currently in discussions with partner stores to find a way for you to republish your apps directly with them. We hope to have a solution soon, and we will let you know as soon as that happens.

    You will continue to have access to all your reports here. If you have submitted a paid app via App Publish, your payout from each app store will be based on the number of downloads on the day of unpublishing.

    For any support, please reach out to us at apppublish-support@inmobi.com

    We'd like to thank all App Publish users who have supported us on our journey. We hope to provide you with as easy a transition as possible.

    Thank you.
    The App Publish Team
    "

  • ar2rsawseenar2rsawseen Maintainer
    @SimplesApps will recheck that, I finally have a device that does not have Google Play, so will be able to test it ;)

    About inmobi, I think they are shutting down only their publishing part (as in publishing apps in other stores) and not advertising part
Sign In or Register to comment.