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.

Supported Formats

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

Platform
Format
Supported

App

Banner

App

Native

App

Video (Instream & Outstream)

Implementation steps

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

1

Implement Prebid Mobile SDK

Access Prebid's documentation:

https://docs.prebid.org/prebid-mobile/prebid-mobile-getting-started.html

2

Configure your Global Settings

Name
Value

Account ID

Publisher ID provided by Adagio (eg: 1002)

Examples

// 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");
3

Configure your AdUnits

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

We usually recommend creating a unique Config ID for each adUnit in your app. This enables to manage bidders and their inventory parameters independently.

Examples

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

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.

Once the test is confirmed, you can remove this line.

 PrebidMobile.setPbsDebug(true);

Last updated

Was this helpful?