Vungle not working at all..

Correct me if I am wrong, but are vungle ads available for corona sdk starter too?

I found this sample app

https://github.com/Vungle/coronaplugin-release/blob/master/samples/main.lua

added my vungle appID and built the .apk via corona simulator, but nothing works at all. It only shows the text “Downloading video ad …” written on line 121 and nothing happens after that.

What am I doing wrong?

Vungle does indeed work for starter as I have just implemented it for my current app.

Can you try the app provided above with your appID and tell me if this sample app works for you?

Yeah am using it with Starter as well with no problems.

Have you set the plug in up right in the your build.settings ?

Dave

I used the app as is… nothing changed in config.lua or build.setting… only added my appID in main.lua… do I need to change anything else ?

Oh right didn’t realise it was a whole app, just thought it was main.lua

Yeah it looks fine in the settings.

Only thing I don’t see in main.lua is where they call the ad ?

EDIT -

Actually they try and call the ad using ad.init listener.

In function functionAdListener print the event.type and see if it matches any of the if statements

Or just call showAd() yourself somewhere.

Dave

Its working now thanks…

Vungle does indeed work for starter as I have just implemented it for my current app.

Can you try the app provided above with your appID and tell me if this sample app works for you?

Yeah am using it with Starter as well with no problems.

Have you set the plug in up right in the your build.settings ?

Dave

I used the app as is… nothing changed in config.lua or build.setting… only added my appID in main.lua… do I need to change anything else ?

Oh right didn’t realise it was a whole app, just thought it was main.lua

Yeah it looks fine in the settings.

Only thing I don’t see in main.lua is where they call the ad ?

EDIT -

Actually they try and call the ad using ad.init listener.

In function functionAdListener print the event.type and see if it matches any of the if statements

Or just call showAd() yourself somewhere.

Dave

Its working now thanks…

Hi, how exactly did you change your main.lua file to get it to work?  I have my app id in there too and can’t seem to get the ads to play either just using the sample file.  I’m not sure where to add the showAd(); in the sample code.  I tried it in a couple places.  Sorry, I’m quite the newbie.

Thanks for any help you can give me.

Sorry, I’m using this sample app:

https://github.com/Vungle/vungle-resources/tree/master/Corona-resources/coronaSampleApp

Hi, how exactly did you change your main.lua file to get it to work?  I have my app id in there too and can’t seem to get the ads to play either just using the sample file.  I’m not sure where to add the showAd(); in the sample code.  I tried it in a couple places.  Sorry, I’m quite the newbie.

Thanks for any help you can give me.

Sorry, I’m using this sample app:

https://github.com/Vungle/vungle-resources/tree/master/Corona-resources/coronaSampleApp