Overview
This document introduces you to how to set up MREC and Banner on Mopub dashboard.
MREC
MREC ad is a popular industry standard rectangular ad (300x250), which contains video and help increase user engagement.
Create a unit
- Please select the Format Medium rectangle when you create the unit
Create a network
- Navigate to the tabs Networks, then click "New network"
- Select Vungle, add Vungle's App ID and Placement Reference ID
- Navigate to the tabs Segments, click the "Create segment"
- Set Vungle's eCPM to the highest to ensure that Vungle is ranked first in Waterfall during your testing. To ensure that Vungle can deliver ads with a 100% fillrate, please refer to How to set up test mode or add a test device.
- Please refer to Mopub's Banner integration document for more information on the code implementation and please make sure to set AdSize as 300x250 for MREC ads.
<com.mopub.mobileads.MoPubView android:id="@+id/mrec_container" android:layout_width="300dp" android:layout_height="250dp" >
Banner
A static or animated advertisement on the screen.
Create a unit
- Please select the ad type Banner when you create a unit
Create a network
- Navigate to the tabs Networks, then click "New network"
- Select Vungle,Add Vungle's App ID and Placement Reference ID
- Navigate to the tabs Segments, click the "Create segment"
- Please set Vungle's eCPM to the highest to ensure that Vungle is ranked first in Waterfall during your testing. To ensure that Vungle can deliver ads with a 100% fillrate, please refer to How to set up test mode or add a test device.
-
Please refer to Mopub's Banner integration document for more information on the code implementation and please make sure to set AdSize to the sizes 320x50, 300x50, 728x90 which supported by Vungle.
<com.mopub.mobileads.MoPubView android:id="@+id/banner_container" android:layout_width="320dp" android:layout_height="50dp" > <com.mopub.mobileads.MoPubView android:id="@+id/short_banner_container" android:layout_width="300dp" android:layout_height="50dp" > <com.mopub.mobileads.MoPubView android:id="@+id/long_banner_container" android:layout_width="728dp" android:layout_height="90dp" >