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

Ads Interface

1356716

Comments

  • ar2rsawseenar2rsawseen Maintainer
    edited August 2013
    Posted an update, currently Android only, will start implementing same on the ios side, but you can try it out already on Androids ;)

    Android added absolute pixel based positioning
    Android added returning ad position
    Android added returning ad dimensions
    Android set/get method for tweening
    Amazon implemented ad refreshing

    http://giderosmobile.com/labs/ads-interface

    Likes: MobAmuse

    +1 -1 (+1 / -0 )Share on Facebook
  • MobAmuseMobAmuse Member
    edited August 2013
    Can I use chartboost on iOS yet? :)
  • @MobAmuse unfortunately not yet, but probably tomorrow. :)
    BTW saw Dweebs on OUYA Founders play list, congratz :)

    Likes: MobAmuse

    +1 -1 (+1 / -0 )Share on Facebook
  • OK thanks and cheers!

    Your free gifts should be with you soon hopefully :)
  • ar2rsawseenar2rsawseen Maintainer
    edited August 2013
    Updated Ads Interface:
    http://giderosmobile.com/labs/ads-interface

    version 0.7
    IOS added absolute pixel based positioning
    IOS added returning ad position
    IOS added returning ad dimensions
    IOS set/get method for tweening
    IOS added Adcolony
    IOS added Chartboost
    IOS added Heyzap
    IOS added InMobi
    Android and IOS "auto" ad type to get best suitable ad type automatically

    IOS InMobi might not be completely tested and IOS Tapjoy is not yet fully implemented
    +1 -1 (+3 / -0 )Share on Facebook
  • Superb! Shall take a look at weekend thanks.
  • @ar2rsawseen All works great on iOS now too thank you!
  • How to remove leadbolt from ads interface?
    Screenshot_2013-08-24-21-33-29.png
    480 x 800 - 61K
  • unlyingunlying Guru
    edited August 2013
    It is pubiapp.jar . If somebody use ads interface, remove all unused jar files from libs. Especially pubiapp.jar. It isn't a virus, but users scared.
  • Does anybody integrate it to iOS?
    How to pass through this?
    Снимок экрана 2013-08-25 в 0.14.20.png
    919 x 419 - 92K
  • It did not recognize header by default as it was?
  • Looks so. I didn't change anything in files.
  • Now thats interesting.
    How about #import "HeyzapAds.framework/HeyzapAds"
    Actually I just write #import "" and then write H letter inside the ""
    #import "H" and it offers auto completion for header path

    And here is my directory structure if it changes anything
    Screen Shot 2013-08-25 at 8.14.51 PM.png
    1393 x 978 - 287K
  • About Android.
    I have really many crashes in console about heyzap. It works, i can see requests and impressions in console, but crashes still make me worried.

    1)
    java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]]
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:2405)
    at android.app.ActivityThread.access$1500(ActivityThread.java:141)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1332)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:5103)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:525)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.ClassNotFoundException: Didn't find class "com.heyzap.sdk.PackageAddedReceiver" on path: DexPathList[[zip file "/data/app/com.debia.sostavslovo2-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.debia.sostavslovo2-2, /vendor/lib, /system/lib]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:2400)

    2)
    java.lang.RuntimeException: Unable to instantiate receiver com.heyzap.sdk.PackageAddedReceiver: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk]
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:1777)
    at android.app.ActivityThread.access$2400(ActivityThread.java:117)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:130)
    at android.app.ActivityThread.main(ActivityThread.java:3691)
    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:912)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
    at dalvik.system.NativeStart.main(Native Method)
    Caused by: java.lang.ClassNotFoundException: com.heyzap.sdk.PackageAddedReceiver in loader dalvik.system.PathClassLoader[/data/app/com.debia.sostavslovo2-1.apk]
    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    at android.app.ActivityThread.handleReceiver(ActivityThread.java:1768)

    And these type of errors in all apps where i integrate ads interface.
    And one more here:
    3)
    java.lang.NullPointerException
    at com.giderosmobile.android.plugins.ads.Ads$10.run(Ads.java:291)
    at android.os.Handler.handleCallback(Handler.java:608)
    at android.os.Handler.dispatchMessage(Handler.java:92)
    at android.os.Looper.loop(Looper.java:156)
    at android.app.ActivityThread.main(ActivityThread.java:4987)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
    at dalvik.system.NativeStart.main(Native Method)
  • ar2rsawseenar2rsawseen Maintainer
    edited August 2013
    Yes Heyzap seems to be misbehaving lately with lots of different errors and crashes,
    will try to contact them once more to resolve it, but honestly did not yet receive a response for previous queries.

    But thank you for error logs, will definitely help ;)
  • Updated Ads interface:

    http://giderosmobile.com/labs/ads-interface

    version 0.8

    Removed unused SDKs
    Android fixed destroying ad which was already garbage collected/destroyed
    Amazon fixed auto ad
    Amazon fixed precise positioning
    Heyzap Upgraded SDK
    Heyzap removed banner (not supported anymore)


    P.S. Heyzap still seem to misbehave, so please test thoroughly when implementing heyzap in your apps

    Likes: MobAmuse

    +1 -1 (+1 / -0 )Share on Facebook
  • @ar2rsawseen Will that last update above make any difference at all to running Chartboost ads only in android app?
  • noup, refers only to banners

    Likes: MobAmuse

    +1 -1 (+1 / -0 )Share on Facebook
  • OK cool cheers!
  • Updated Ads interface:
    http://giderosmobile.com/labs/ads-interface

    version 0.9

    Added Ads:enableTesting() method
    Automatically hide ads on failing
    Android fixed fallbacking after Amazon Ads
    IOS Updated Heyzap SDK
    Updated Gideros example project
    Upated Ads Interface Usage Matrix
  • unlyingunlying Guru
    edited August 2013
    Ads Interface Usage Matrix
    missing "/" in admob manifest section

    And in AdColony
    every usespermission needs "-"
  • Does anybody uses adcolony on Android? I tried to implement it, but have no luck. I'm not recieve any ads even in test mode. I understand that i'm doing something wrong, but don't know what exactly.

    In main.lua i add

    adcolony = Ads.new("adcolony")
    adcolony:setKey("app00189fbd7fca4782970561", "v4vc09951897bf4846e5968b94")
    adcolony:addEventListener(Event.AD_RECEIVED, function()
    video=1
    end)
    adcolony:addEventListener(Event.AD_ACTION_END, function()
    coins=coins+3
    dataSaver.saveValue("coins", coins)
    end)
    adcolony:addEventListener(Event.AD_FAILED, function()
    video=0
    end)

    and in menu section add button with

    coinbutton:addEventListener("click",
    function()
    if video==1 then
    adcolony:showAd("v4vc", "v4vc09951897bf4846e5968b94 ", true)
    end
    end)

    But "video" never become 1. If i remove check for video==1, application closes on button press.
  • @unlying it should be simply like:
    ads = Ads.new("adcolony")
    ads:setKey("app3eefea4fed0e448e93d1ee", "vza612000e0bdc4bce817e30")
     
    ads:showAd("video", "vza612000e0bdc4bce817e30")
    --or
    --ads:showAd("v4vc", "vza612000e0bdc4bce817e30", "true")
    ads:addEventListener(Event.AD_ACTION_END, function()
    	coins=coins+3
    	dataSaver.saveValue("coins", coins)
    end)
    and
    1) you need to enable v4c in your app's video zone you use by checking Enable Virtual Currency Rewards to Yes and Client Side Only to Yes
    2) you need to provide videozone id (starting with vz) in both cases, and not your V4VC Secret Key (starting with v4vc) which is meant for server side verification
  • unlyingunlying Guru
    edited September 2013
    Can we show ad from another zone with setkey for video zone?
  • Yes you should be able to.
    in fact the purpose of providing video zone in setKey is to set a default videozone, if you don't provide any other in showAd method, but unfortunately, just tested, and it does not seem to work (although described in AdColony docs).
    But using the other videozone is completely fine.
  • After all test adcolony doesn't show me anything except test ads on Android in Russia :(
    Bye Adcolony.
  • About Tapjoy.
    We can't use rewarded options, yes? Only non-rewarded?
    If we can, how to reward user?
  • Same question, any progress on tapjoy offerwall?
  • There are currently some problems I'm trying to solve with AdsInterface implementatin, after that I will think if it is possible or not ;)
Sign In or Register to comment.