Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
AdColony Plugin for iOS (video ads network) — Gideros Forum

AdColony Plugin for iOS (video ads network)

NascodeNascode Guru
edited January 2013 in Plugins
Hello guys,

Here is AdColony plugin for iOS, check it out on my repo https://github.com/nascode/gideros_adcolony_ios

You could find information about this ads network here http://adcolony.com/

You could find Android version by @zaniar here http://www.giderosmobile.com/forum/discussion/2335 the LUA API is similar in both plugins
have fun with our games~
http://www.nightspade.com
+1 -1 (+8 / -0 )Share on Facebook

Comments

  • video ads wowwww......

    :)
  • @Nascode Admob plugin for iOS, please.. :P
    Coming soon
  • hgvyas123hgvyas123 Guru
    edited January 2013
    Hi @Nascode,@zaniar and @all

    one question how i am going to earn through this adcolony i mean if i force the user to watch the video then after completion of video i had earned?

    or user also needs to download the game or complete any action



    :)
  • @hgvyas123 just let user see the vids and you will earn money

    Likes: hgvyas123

    have fun with our games~
    http://www.nightspade.com
    +1 -1 (+1 / -0 )Share on Facebook
  • hgvyas123hgvyas123 Guru
    edited February 2013
    Hi @nascode

    i am trying to implement this in my project but i cant see any video and i am getting this in xcode

    2013-02-15 14:06:41.913[844:907] ADCOLONY 2.0.1 [info] AdColony library version: 2.0.1.32 production
    2013-02-15 14:06:42.079[844:710b] +[NSData adc_dataWithWeaklyEncryptedBase64EncodedString:]: unrecognized selector sent to class 0x3b864800

    do you have any idea what to do i had added all the frameworks as well as set the flag the only on difference i can see is i have adcolony-ios-2.0.1.32.

    this is my lua code
     
    	require "adcolony"
     
    print("AdColony test")
     
    local ready = true
     
    -- LIST OF EVENTS --
     
     
    adcolony:addEventListener(Event.VIDEO_INITIALIZED, function()
    	print("VIDEO_INITIALIZED")
    end)
     
    adcolony:addEventListener(Event.VIDEO_READY, function()
    	print("VIDEO_READY") -- then show video
    	if not ready then 
    		adcolony:showVideo() 
    	end
    end)
     
    adcolony:addEventListener(Event.VIDEO_NOT_READY, function()
    	print("VIDEO_NOT_READY")
    	ready = false
    end)
     
    adcolony:addEventListener(Event.VIDEO_STARTED, function()
    	print("VIDEO_STARTED")
    end)
     
    adcolony:addEventListener(Event.VIDEO_FINISHED, function()
    	print("VIDEO_FINISHED")
    end)
     
    -- LIST OF API --
     
    -- configure (default id) and prefetch video
    adcolony:configure("appbdee68ae27024084bb334a", "vz4cb456c1fddc4ec4a54581") 
    adcolony:enable(true)
     
    -- show video
    Timer.delayedCall(10000,function()
    	myText:setText("VIDEO")
    	adcolony:showVideo()
     
     
    end)
    plz help and thanks in advance

    :)
  • @hgvyas123 hello, currently i am not in front of my mac, but i will check it with latest Adcolony SDK.

    Have you tried added all required frameworks from Gideros exported xcode again?
    have fun with our games~
    http://www.nightspade.com
  • okey and let me try again

    :)
  • @nascode :-

    it is working now cheers might be i had forgot to add something in previous try

    :)
  • @hgvyas123 glad to know it works for you. V4vc feature is not exposed yet on the plugin, hopefully i could add it in the future

    Likes: hgvyas123

    have fun with our games~
    http://www.nightspade.com
    +1 -1 (+1 / -0 )Share on Facebook
  • hello. i'm also trying to implement this new SDK 2.2
    I followed the walkthrough but i keep on getting the same exception
    ADCOLONY 2.2.2 [*** ERROR ***] Disabling AdColony due to exception: +[NSData adc_dataWithWeaklyEncryptedBase64EncodedString:]: unrecognized selector sent to class
    am i doing something wrong?
  • @dev_noob sorry i have not tested the plugin with latest sdk yet

    but have you tried to follow the guide on my GitHub precisely? For iOS we must make adcolony lib compiled with arc option enabled.
    have fun with our games~
    http://www.nightspade.com
Sign In or Register to comment.