Search in sources :

Example 1 with Host

use of org.prebid.mobile.Host in project prebid-mobile-android by prebid.

the class XandrNativeInAppGAMDemoActivity method setupNativePremium.

private void setupNativePremium() {
    Host custom = Host.CUSTOM;
    custom.setHostUrl("https://ib.adnxs.com/openrtb2/prebid");
    PrebidMobile.setPrebidServerHost(custom);
    // 1601
    PrebidMobile.setPrebidServerAccountId("9325");
    // 22650327
    NativeAdUnit nativeAdUnit = new NativeAdUnit("18491617");
}
Also used : Host(org.prebid.mobile.Host) NativeAdUnit(org.prebid.mobile.NativeAdUnit)

Aggregations

Host (org.prebid.mobile.Host)1 NativeAdUnit (org.prebid.mobile.NativeAdUnit)1