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
);

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
);

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.

Last updated