不可用的Vungle广告 [英] Vungle ads not available

查看:810
本文介绍了不可用的Vungle广告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当试图播放的Vungle广告,我总是得到消息广告不可用:无缓存或流式广告从方法 onAdUnavailable( )

When trying to play Vungle ads, I'm always getting the message Ad unavailable: No cached or streaming ad available from the method onAdUnavailable()

什么是我百思不得其解的是,它的使用的工作,现在没有。它仍然工作在安装了旧版本我的应用程序的设备,但是当我现在建立它,它只是说,广告是不可用的。

What's puzzling me is that it used to work and now it doesn't. It still works on devices where the old version of my app is installed, but when I build it now, it just says ads are unavailable.

我实施的Vungle按照其本身的基本指令:

I'm implementing Vungle as per their very basic instructions:

final VunglePub vunglePub = VunglePub.getInstance();

@Override
protected void onCreate (Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    vunglePub.init(this, APP_ID);
    vunglePub.setEventListener(vungleListener);
}

private final EventListener vungleListener = new EventListener() {

    @Override
    public void onVideoView(boolean isCompletedView, int watchedMillis, int videoDurationMillis) {
        // Called each time a video completes. isCompletedView is true if the video was not skipped.
    }

    @Override
    public void onAdStart() {
        // Called before playing an ad
    }

    @Override
    public void onAdEnd() {
        // Called when the user leaves the ad and control is returned to your application
    }

    @Override
    public void onCachedAdAvailable() {
        // I don't get this any more
        Log.i("vungle","cachedAdAvail");
    }  

    @Override
    public void onAdUnavailable(String arg0) {
        //I get this when I try to play the ad
        Log.i("vungle","Ad unavailable: "+arg0);
    }

};  

public void playVungleAd() {
    vunglePub.playAd();
}

APP_ID 是正确的(当我使用了不正确的ID,我得到一个特定的错误),和互联网连接可用设备(AdMob插页式广告的运作上正常以及在一般的网络)。

APP_ID is correct (when I use an incorrect id, I get a specific error), and internet connection is available on the device (AdMob interstitial ads work properly as well as internet in general).

我不知道该怎么尝试了,我的想法。

I don't know what to try any more, I'm out of ideas.

推荐答案

看起来您对我们的SDK(3.X)的新版本之一。有您可以检查以下几点:

Looks like you're on one of the new versions of our SDK (3.x). There are a few things you can check:


  1. 请确保您包括我们的服务在您的清单中,<一个href=\"https://github.com/Vungle/vungle-resources/blob/master/Android-resources/android-dev-guide.md#3-update-androidmanifestxml\" rel=\"nofollow\">https://github.com/Vungle/vungle-resources/blob/master/Android-resources/android-dev-guide.md#3-update-androidmanifestxml

如果您最近升级到3.1.0版本(或更高),有需要一些额外的步骤,<一个href=\"https://github.com/Vungle/vungle-resources/blob/master/Android-resources/android-dev-guide.md#additional-steps-for-sdk-version-310-or-higher\" rel=\"nofollow\">https://github.com/Vungle/vungle-resources/blob/master/Android-resources/android-dev-guide.md#additional-steps-for-sdk-version-310-or-higher

If you've recently upgraded to version 3.1.0 (or higher), there are some additional steps required, https://github.com/Vungle/vungle-resources/blob/master/Android-resources/android-dev-guide.md#additional-steps-for-sdk-version-310-or-higher

我知道你说你有正确的AppID,但只是要确定,请使用破折号(不报告API ID),在应用程序的页面左上角的一个红色

I know you say you have the correct AppID, but just to be sure, use the one in red in the upper left of your app's page on the dash (not the reporting API ID)

如果您仍然有问题,随时tech-support@vungle.com给我们发电子邮件!

If you're still having issues, feel free to email us at tech-support@vungle.com!

这篇关于不可用的Vungle广告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆