# Vungle callback not running but ads are showing

**URL:** <https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680>\
**Category:** Vungle\
**Created:** [August 14, 2016, 4:13pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680 "2016-08-14T16:13:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 14, 2016, 4:13pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/1 "2016-08-14T16:13:23Z")

</div>

I cannot get the vungle plugin to ever run the callback code even though ads are being played.

Here is my setup for vungle.

local function vungleAdListener( event )

&nbsp; &nbsp; print(“VUNGLE ADS LISTENER!!!”)

&nbsp; &nbsp; if ( event.type == “adStart” and event.isError ) then

&nbsp; &nbsp; &nbsp; &nbsp; – Ad has not finished caching and will not play

&nbsp; &nbsp; &nbsp; &nbsp; ads:setCurrentProvider( “admob” )

&nbsp; &nbsp; &nbsp; &nbsp; ads.show( “interstitial” )

&nbsp; &nbsp; elseif ( event.type == “adStart” and not event.isError ) then

&nbsp; &nbsp; &nbsp; &nbsp; – Ad will play

&nbsp; &nbsp; &nbsp; &nbsp; globals.rewarded\_video\_available = false

&nbsp; &nbsp; elseif ( event.type == “cachedAdAvailable” ) then

&nbsp; &nbsp; &nbsp; &nbsp; – Ad has finished caching and is ready to play

&nbsp; &nbsp; &nbsp; &nbsp; globals.rewarded\_video\_available = true

&nbsp; &nbsp; elseif ( event.type == “adView” ) then

&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; gutils.get\_extra\_time()

&nbsp; &nbsp; elseif ( event.type == “adEnd” ) then

&nbsp; &nbsp; &nbsp; &nbsp; – The ad experience has been closed- this

&nbsp; &nbsp; &nbsp; &nbsp; – is a good place to resume your app

&nbsp; &nbsp; end

end

ads.init( “vungle”, globals.vungle\_key, &nbsp;vungleAdListener )

This hadn’t been an issue in the past. Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![anon81347429](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/7ea924/32.png) [@anon81347429](https://forums.solar2d.com/u/anon81347429)\
**Post date:** [August 15, 2016, 12:40am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/2 "2016-08-15T00:40:33Z")

</div>

Same here!&nbsp;

---

<div class="post-metadata">

**Author:** ![zoltan](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/z/ad7895/32.png) [@zoltan](https://forums.solar2d.com/u/zoltan)\
**Post date:** [August 15, 2016, 10:06am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/3 "2016-08-15T10:06:30Z")

</div>

The callback is not firing for me either. I launched the Vungle [sample app](https://github.com/Vungle/Corona-Plugin) and the callback is not firing there either so the buttons never change from waiting to ready to play. It did work a few weeks ago though.

Tested on Samsung Galaxy Tab Active and iPhone 5s.

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 15, 2016, 5:38pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/4 "2016-08-15T17:38:26Z")

</div>

I should mention I’m only seeing this with android as that’s all I’m testing on.

---

<div class="post-metadata">

**Author:** ![pau7](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@pau7](https://forums.solar2d.com/u/pau7)\
**Post date:** [August 16, 2016, 9:19am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/5 "2016-08-16T09:19:52Z")

</div>

Hello,

I have the same issue. Two weeks later we publish some apps with ads and the plugin was working as expected. Yesterday I tried to add vungle ads to other apps and is not working. Is it possible that the apps that were already published and working may be broken!? It can be a major issue as we could have thousands of users angry. We would appreciate a fast answer. Thank you.

Pau Ors.

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 16, 2016, 1:20pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/6 "2016-08-16T13:20:30Z")

</div>

I believe your existing app is working fine. I noticed when running a copy of my game built 5 days ago that the callback was working fine, leading me to believe its an issue with the plugin code that is now being pulled in on build.

---

<div class="post-metadata">

**Author:** ![rob](https://forums.solar2d.com/user_avatar/forums.solar2d.com/rob/32/4_2.png) [@rob](https://forums.solar2d.com/u/rob)\
**Post date:** [August 16, 2016, 1:39pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/7 "2016-08-16T13:39:31Z")

</div>

Has any one contacted Vungle?

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 16, 2016, 2:02pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/8 "2016-08-16T14:02:55Z")

</div>

Nope. I haven’t at least.

---

<div class="post-metadata">

**Author:** ![pau7](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@pau7](https://forums.solar2d.com/u/pau7)\
**Post date:** [August 16, 2016, 7:46pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/9 "2016-08-16T19:46:31Z")

</div>

Hello,

I’ve sent a request to vungle and a bug report to Corona. No answer yet. I’ll keep you informed.

Pau Ors.

---

<div class="post-metadata">

**Author:** ![Tom](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/t/3d9bf3/32.png) [@Tom](https://forums.solar2d.com/u/Tom)\
**Post date:** [August 16, 2016, 11:03pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/10 "2016-08-16T23:03:29Z")

</div>

Vungle committed a new plugin four days ago and introduced some bugs. They are the only ones who can fix it.

---

<div class="post-metadata">

**Author:** ![pau7](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@pau7](https://forums.solar2d.com/u/pau7)\
**Post date:** [August 17, 2016, 1:41pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/11 "2016-08-17T13:41:45Z")

</div>

Hello,

People at Vungle are working on it. It seem they were aware of this bug. They asked me for some information about the app. Hopefully they will solve it soon.

Pau Ors.

---

<div class="post-metadata">

**Author:** ![akifumi.shinagawa](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@akifumi.shinagawa](https://forums.solar2d.com/u/akifumi.shinagawa)\
**Post date:** [August 17, 2016, 4:21pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/12 "2016-08-17T16:21:33Z")

</div>

Hi All,

Sorry for the late reply. I am Aki from Vungle.

We have been working on this issue as the first priority at a moment.

Please allow me to notify back to this thread as soon as we verify this issue.

Sorry for the inconvenience,

Thanks,

-aki

---

<div class="post-metadata">

**Author:** ![stanga](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/s/3ec8ea/32.png) [@stanga](https://forums.solar2d.com/u/stanga)\
**Post date:** [August 17, 2016, 4:50pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/13 "2016-08-17T16:50:46Z")

</div>

We’re having the same issue…

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 18, 2016, 1:04am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/14 "2016-08-18T01:04:38Z")

</div>

Ok, any chance to revert the plugin to the previous version in the meantime? That would be helpful if possible.

---

<div class="post-metadata">

**Author:** ![akifumi.shinagawa](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/a/ba8739/32.png) [@akifumi.shinagawa](https://forums.solar2d.com/u/akifumi.shinagawa)\
**Post date:** [August 18, 2016, 4:15pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/15 "2016-08-18T16:15:00Z")

</div>

Hi All,

Thanks for your patience.

We updated our Plugin with the fix in Corona repository. Please try it.

Sorry for the inconvenience,

Thanks,

-aki

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 19, 2016, 12:09am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/16 "2016-08-19T00:09:22Z")

</div>

Seems like it is working now. Thanks!

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 19, 2016, 3:44am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/17 "2016-08-19T03:44:23Z")

</div>

Well, I am getting the callbacks now, but seems something is still up. I dont recieve any “adView” phase callbacks. These were useful because they actually told me if the user watched the ad or not. I am getting these other 3 callbacks in the corona docs though just not the adView.

Getting these:

[adStart](https://docs.coronalabs.com/plugin/vungle/init.html#TOC)

[adEnd](https://docs.coronalabs.com/plugin/vungle/init.html#TOC)

[cachedAdAvailable](https://docs.coronalabs.com/plugin/vungle/init.html#TOC)

&nbsp;

&nbsp;

Not getting this:

[adView](https://docs.coronalabs.com/plugin/vungle/init.html#TOC)

name “adsRequest” provider “vungle” type “adView” isError false totalAdSeconds the total length of the video in seconds secondsWatched the length of the longest view by the user, in seconds isCompletedView true&nbsp;if the user watched 80% of the video;&nbsp;false&nbsp;otherwise

Is this happening for anyone else?

---

<div class="post-metadata">

**Author:** ![zoltan](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/z/ad7895/32.png) [@zoltan](https://forums.solar2d.com/u/zoltan)\
**Post date:** [August 19, 2016, 7:26am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/18 "2016-08-19T07:26:39Z")

</div>

Yep, same here. I am not notified of any adView event, while the other 3 are firing.

Also it would be useful to get the totalAdSeconds property with the adStart and/or adEnd phases as well, it that’s possible.

---

<div class="post-metadata">

**Author:** ![pau7](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/p/c0e974/32.png) [@pau7](https://forums.solar2d.com/u/pau7)\
**Post date:** [August 23, 2016, 9:10am UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/19 "2016-08-23T09:10:29Z")

</div>

Hello,

It’s working on my projects and all events are fired, even the adView.

---

<div class="post-metadata">

**Author:** ![kevinlboehme](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecccb3/32.png) [@kevinlboehme](https://forums.solar2d.com/u/kevinlboehme)\
**Post date:** [August 23, 2016, 1:15pm UTC](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680/20 "2016-08-23T13:15:42Z")

</div>

Yea, seems all is working now.

[Next page](https://forums.solar2d.com/t/vungle-callback-not-running-but-ads-are-showing/340680.md?page=2)
