Home  >  iOS  >  Ver.2.0.0

MPS SDK Code Sample

SampleApp Installation

You can install the SampleApp using the HockeyApp application.

HockeyApp sample application

How to install sample app from HockeyApp

After you logged in the HockeyApp you will see the apps.

Click on ‘Install’

If you install it first time - you’ll see this notification.

To remove this notification go to ‘Settings->General’. Find ‘Profiles & Device Managament’ and click on it.

Choose ‘NBCUniversal Media, LLC’.

Click ‘Trust’
You’ve installed the MPS SDK SampleApp.

SampleApp Usage

You can use the MPS SDK SampleApp to confirm that the SDK is operating correctly. This can be useful for verifying the functionality of your mobile app.

Main page

Set your parameters for the ads you want to view in the SampleApp.

Tap the Make MPS Request button to initialize the session.

Tap the Display Banner Ad button and Display Interstitial Ad button to view the ads that match your sample parameters.

Sandbox page

Tap the Screens button for the ad you want to review.

Use the Interstitial toggle to display interstitial ads instead of banner ads.

Tap the Open Web View button to view the ad in a web view.

Settings page

The MPS Site Configurations section displays the configuration values that were defined in MPS.

The SDK Versions section displays the MPS SDK version and the Google Mobile Ad SDK version that are built into this version of the SampleApp.