0

I am using Vungle SDK 5.1.0.

In Manifest:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

[...]

<activity android:name="com.vungle.publisher.VideoFullScreenAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"/>

    <activity android:name="com.vungle.publisher.MraidFullScreenAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"/>

    <activity android:name="com.vungle.publisher.FlexViewAdActivity"
    android:configChanges="keyboardHidden|orientation|screenSize|screenLayout|smallestScreenSize"
    android:theme="@android:style/Theme.Translucent.NoTitleBar.Fullscreen"/>

In my first Activity:

final VunglePub vunglePub = VunglePub.getInstance();

[...]

vunglePub.init(this, "XXXXX", new String[] { "PLACEMEXXXXX" }, new VungleInitListener() {

        @Override
        public void onSuccess() {
        }
        @Override
        public void onFailure(Throwable e){

        }
    });

[...]

@Override
protected void onPause() {
    super.onPause();
    vunglePub.onPause();
}

@Override
protected void onResume() {
    super.onResume();
    vunglePub.onResume();
}

In my Main-Activity:

final VunglePub vunglePub = VunglePub.getInstance();
final AdConfig globalAdConfig = vunglePub.getGlobalAdConfig();

[...]

    @Override
protected void onPause() {
    super.onPause();
    vunglePub.onPause();
}

@Override
protected void onResume() {
    super.onResume();
    vunglePub.onResume();
}

If I try to call

vunglePub.playAd("PLACEMEXXXXX", globalAdConfig);

I get noting. No Ads. And ideas how I can resolve my problem?

SilverBlue
  • 239
  • 2
  • 13
  • The auto-cached of my PLACEMENTXXXXX is true. "Note that for the auto-cached placement, you don’t need to call loadAd because the SDK will automatically load an ad after initialization. We recommend choosing most viewed placement as your auto-cached selection. " – SilverBlue Jul 13 '17 at 18:47

1 Answers1

0

I am Gabor from Vungle. Is your app set to test mode in our dashboard? If yes, please switch to active mode and try again. Give it 30 minutes to be sure the app is really in active mode.

If you app is in active mode already, please contact us at tech-support@vungle.com with your Vungle APP ID and placement ID, so we can have a deeper look for you.

Thanks

Gabor