Set up Banners on MoPub for Android
Please ensure you are using a recent version of the MoPub SDK to maximize your revenue potential with things like MRAID 2 and OM SDK. In order to allow MRAID, you’ll need to set us up as a “Non-guaranteed” line item. MFX will respond with the MoPub failover tag when we don’t have an ad so you can still attempt to fill the ad opportunity with the rest of your waterfall.
Step 1: Receive JavaScript Tag
You will receive a JavaScript tag from your account manager similar to the following. Please look over the tag parameters and let us know if there is additional data you can provide.
<script src="https://mfx.mobilefuse.com/js?id=XXXXXX&sizes=%%SIZE%%&bundle=%%BUNDLE%%&ifa=%%ADVERTISING_ID_IFA%%&ifv=%%ADVERTISING_ID_IFV%%&lat=%%LATITUDE%%&lon=%%LONGITUDE%%&pos=XXXXXX&apis=3,5,7&ctx=XXXXXX&dnt=%%DNT%%&age=%%KEYWORD:m_age%%&gender=%%KEYWORD:m_gender%%&ip=%%IPADDRESS%%&ua=%%USERAGENT%%&cb=%%CACHEBUSTER%%"></script>
Step 2: Set up Order
You could optionally choose to utilize an existing one as needed, but we recommend having a MobileFuse order to traffic all your MFX tags in. The result should look something like the following.
Step 3: Set up Line Item
Step 3a: Line Item settings
You’ll need to set up a “Non-guaranteed” line item. Be sure to position the priority in your waterfall as needed. MFX will respond with the MoPub failover when there is no ad, so you can monetize with the rest of your waterfall. Since MoPub does not know how much you will make from MobileFuse, we recommend setting the Rate to your effective RPM for this placement so you can track approximate earnings within MoPub. If you’re an existing publisher, you can pull this from your MobileFuse dashboard. Otherwise, you can check with your account manager for a good estimate.
Step 3b: Ad unit targeting
Be sure to target the proper ad unit that the tag was provided for.
Step 3c: Audience targeting
We ask that you keep audience targeting as broad as possible, with the exception that you add country targeting. Please be sure to target only the supported countries.
Step 4: Set up Creative
Add a new Banner creative, choose HTML, and paste in the VAST tag like below. Be sure to choose the proper dimensions and check the MRAID ad box as well.