Skip to content

Prebid Mobile SDK

Adagio can be integrated into mobile apps using the Prebid Mobile SDK. Explore the supported formats and follow the implementation steps to begin monetizing your app inventory.

Here is the list of the different formats that Adagio supports for the Prebid Mobile SDK.

PlatformFormatSupported
AppBanner✅
AppNative✅
AppVideo (Instream & Outstream)✅

To set up Prebid Mobile SDK with Adagio start with the following steps:

Implement Prebid Mobile SDK

Configure your Global Settings

NameValue
Account IDPublisher ID provided by Adagio (eg: 1002)
Server Hosthttps://mp.4dex.io/pbs/openrtb2/auction
Status Endpointhttps://mp.4dex.io/healthcheck
// The Publisher ID provided by Adagio (eg: 1002)
PrebidMobile.setPrebidServerAccountId("1002");
// Adagio Server Host
PrebidMobile.setPrebidServerHost(Host.createCustomHost("https://mp.4dex.io/pbs/openrtb2/auction"));
// Adagio Status Endpoint
PrebidMobile.setCustomStatusEndpoint("https://mp.4dex.io/healthcheck");

Configure your AdUnits

Each AdUnit must be configured with a character string, called Config ID, along with its dimensions (width and height).

adUnit = new BannerAdUnit("CONFIG ID", WIDTH, HEIGHT);

Test your implementation

Send requests to Adagio to test your implementation by including the following line. You’ll receive a test ad that won’t be counted.

PrebidMobile.setPbsDebug(true);