Vungle ad not showed

Im working on intergrating vungle to my project using sdkbox of cocos2dx on

Android.
i imported successfully without any compile errors.
but the ad were not shown after i called “show()”
just show the “Ad already playing” and “Google Play services is missing.”

messages in DDMS
Here is the error message i can get from ddms
12-29 22:16:48.004: W/VungleDevice(3476): no device ID available
12-29 22:16:48.004: E/VungleProtocol(3476): error sending session start
12-29 22:16:48.004: E/VungleProtocol(3476): com.vungle.publisher.bu:

timeout after 5000 ms
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.env.AndroidDevice.t(vungle:155)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.env.AndroidDevice.a(vungle:66)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.protocol.message.SessionStart$Factory.a(vungle:58)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.protocol.SessionStartHttpRequest$Factory.a(vungle:48)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.protocol.SessionStartHttpTransactionFactory.a

(vungle:23)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.protocol.ProtocolHttpGateway$6.run(vungle:227)
12-29 22:16:48.004: E/VungleProtocol(3476): at

com.vungle.publisher.async.ScheduledPriorityExecutor$a$a.run(vungle:259)
12-29 22:16:48.004: E/VungleProtocol(3476): at

java.util.concurrent.ThreadPoolExecutor.runWorker

(ThreadPoolExecutor.java:1080)
12-29 22:16:48.004: E/VungleProtocol(3476): at

java.util.concurrent.ThreadPoolExecutor$Worker.run

(ThreadPoolExecutor.java:573)
12-29 22:16:48.004: E/VungleProtocol(3476): at java.lang.Thread.run

(Thread.java:856)

Dose this issue only happens on android? or both android and ios

I haven’t tried yet on ios/.

Have you tried our sample app -

https://github.com/sdkbox/sdkbox-vungle-sample
and let us know if it solves your issue.

Best,
Pabitra

Do you have google play service for your project?

nite,no google play service in my project.

Hi @SuperMan_Brother

Please add google play services as dependency to your project, then it should be fine.
check how to add it and make changes to your project.properties files also.

Let me know, if you face any issue.

Best,
Pabitra

Vungle ads are not working for me when i run build on Kindle. Same build is working fine on Android device. Any idea what can be the issue here?

Hello @go4nishu

We will look into that.
Could you let me know which version of Cocos2d-x, Android and SDKBOX are you using… !!
also, is your app crashing !!
or just video ads are not coming up in your Kindle device.

Best,
Pabitra

Hi Pabitra

I am using cocos2d-x version 3.9 & SDKbox 1.5.1.4. Target version for Android is 4.0.
App is not crashing. Just video ads are not coming in Kindle. I have kindle fire HD 6"

FYI : this is Play Store version of the game which is not delivering ads on Kindle
https://play.google.com/store/apps/details?id=com.skycap.cannon.hero.boom

We’ll test it on Kindle and let you know tomorrow.

So after some testing and research I found out that Vungle doesn’t support Kindle, it only works with devices has google play store.
https://support.vungle.com/hc/en-us/articles/203610154-Do-you-support-Amazon-

Also you have to make sure you have google play service reference in your project
Since 1.5.2 SDKBOX will install google play service automatically for you if a plugin depends on it.

Ok. any alternate for Vungle which works well on Kindle Devices?

Maybe chartboost

Can you give more details, thank you

Here is a sample of chartboost that you can try it out.