Bidapp Ads
  • 🎁Ab_dout
  • Integration
    • iOS
      • Getting started
      • Additional Settings
      • App Policy Settings
      • Serverless Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • SKAdNetwork
      • SwiftUI
    • Android
      • Getting started
      • Additional Settings
      • App Policy Settings
      • Serverless Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • Jetpack Compose
  • PLUGINS
    • Kotlin Multiplatform
      • Getting started
      • Android Platform Setup
      • iOS Platfrom Setup
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
    • Unreal Engine
      • Getting started
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
      • MREC
    • Unity
      • Getting started
      • Android
      • iOS
      • App Policy Settings
      • Interstitial Ads
      • Rewarded Ads
      • Banner Ads
Powered by GitBook
On this page
  • Network SDK key
  • Network adTag for a desired ad format

Was this helpful?

  1. Integration
  2. Android

Serverless Settings

Bidapp SDK gives you the ability to manage ad network waterfall using your own server or manually by providing initialization keys and adTags identifiers for different ad formats through our API's.

Network SDK key

Different networks have different naming conventions for their identification credentials that need to be passed to the network SDK when it starts. For example: - Applovin Max uses SDK key; - Liftoff uses AppId; - Unity uses gameId; - Chartboost uses AppID and AppSignature;

We have created a unified interface to simplify networks configuration.

To specify the initialization key for a desired ad network you can use the following code snippet:

BIDConfiguration bidConfig = new BIDConfiguration();
bidConfig.setSDKKey(
    String key,
    BIDNetworkId networkId,
    String signature
);
val bidConfig = BIDConfiguration()
bidConfig.setSDKKey(
    key : String,
    networkId : BIDNetworkId,
    signature : String
)

Network adTag for a desired ad format

To specify adTag for a desired ad network and ad format you may use the following code:

The naming conventions for "adTag" can vary across different networks, and it might alternatively be referred to as "zone" or "placement."

BIDConfiguration bidConfig = new BIDConfiguration();
bidConfig.setAdTag(
    String adTag,
    BIDNetworkId networkId,
    AdFormat adformat,
    double ecpm
);
val bidConfig = BIDConfiguration()
bidConfig.setAdTag(
    adtag : String?,
    networkId : BIDNetworkId,
    adformat : AdFormat,
    ecpm : Double
)

The eCPM values that you pass to the functions above will be used to determine the position of the ad network in the specified adForamt Waterfall.

PreviousApp Policy SettingsNextInterstitial Ads

Last updated 1 year ago

Was this helpful?