A/B Testing CPM Floor Ads Bidding

We suggest running several A/B tests (but one at a time) to studios to see revenue increase.

Requirements

  • The Standard Ad Unit IDs should be populated.

  • The CPM Floor Ad Unit IDs should be populated.

All A/B Test Parameters (Case Sensitive):

Initialization

1) First, review your project and do one of the following steps:

2) Choose one type of below A/B test types, then follow the corresponding link below:

1) Automatic Initialization With Lion Remote Configs Package

Lion Remote Configs package will initialize remote configs values. So you just need to update your Remote Config System Dashboard by following these documentations: A/B Tests With Remote Configs Documentations

2) Manual Initialization With Custom Remote Configs Methods

If you’re not using the Lion Remote Configs package, you’ll need to manually pass the remote config parameters into the code below and call it immediately after the remote configs have been fetched:

//All Default RC Keys
private const string USE_OLD_LION_ADS_RC_KEY = "Is_old_lionads_system";
private const string USE_CPM_FLOOR_AD_IDS_KEY = "Use_cpm_floor_ad_ids";
private const string CPM_FLOOR_SETTINGS_KEY = "Cpm_floor_settings";
private const string CAN_INTER_REPLACE_REWARDED_KEY = "Can_inter_replace_rewarded";

Settings = new LionAdsRemoteConfigSettings()
    {
        IsUseOldLionAds = //PASS DEFAULT OR FETCHED VALUE HERE, By Default: True
        IsUseCPMFloorAdIds = //PASS DEFAULT OR FETCHED VALUE HERE, By Default: True
        CPMFloorSettings = //PASS DEFAULT OR FETCHED VALUE HERE, By Default: string.Empty()
        CanInterstitialReplaceRewarded = //PASS DEFAULT OR FETCHED VALUE HERE, By Default: True
    };
    
    //Initialize LionAds.ManualInitialization(Settings);
    LionAds.ManualInitialization(Settings);

For full code sample please see: LionAdsRemoteConfigs.cs in the Lion Ads packages.

Ads Bidding System Experiment (A/B Test)

Firebase A/B Testing Sample

If you want to check if your CPM Floor Bidding system works correctly or analyze the benefits you should run this experiment. You need to generate two keys for this process.

Requirements

  • The “Enable A/B CPM Floor Bidding Experiment” option must be set to true.

  • You need Control Ad Unit IDs to run an A/B test experiment for Ads Bidding System. (If you don’t have them, please request it from your studio manager.)

Remote Config keys to use:

Use_cpm_floor_ad_ids (boolean)

Is_old_lionads_system. (boolean)

Sample Data:

Ads Bidding Experiment Sample Data

Enabling CPM Floor Ad Units Setting:

Use_cpm_floor_ad_ids = true Is_old_lionads_system = false

Enabling Control Ad Units Setting:

Use_cpm_floor_ad_ids = false Is_old_lionads_system = false

Enabling Default Ad Units Setting:

Use_cpm_floor_ad_ids = false or true Is_old_lionads_system = true

  • So if Is_old_lionads_system is true, it uses only Default Ad IDs.

Coefficients Experiment (A/B Test)

These coefficients (multipliers) are already available in your Lion Ads Settings. However, if you plan to perform an A/B test, you’ll need to provide the Ad Unit ID and its corresponding coefficient data in a properly formatted JSON file. Please refer to the sample below:

Remote Config key: Cpm_floor_settings (JSON) Sample Data:

Sample Json Data For Cpm_floor_settings
[{"AdUnitID":"6dd14d0cc03515ab","CPMFloorMultiplierWaterfall":[3,2.5,2,1.8,1.5]},{"AdUnitID":"5ee2d4708357c9f4","CPMFloorMultiplierWaterfall":[1.5,1.3,1.2,1.1,1,0.9,0.8]},{"AdUnitID":"dd97199fe7275224","CPMFloorMultiplierWaterfall":[]},{"AdUnitID":"56cd8ddaf9557b17","CPMFloorMultiplierWaterfall":[3,2.5,2,1.8,1.5]},{"AdUnitID":"ee8af5b3221540a6","CPMFloorMultiplierWaterfall":[1.5,1.3,1.2,1.1,1,0.9,0.8]},{"AdUnitID":"59544aafed5a8be5","CPMFloorMultiplierWaterfall":[]},{"AdUnitID":"04b473b95a6b5156","CPMFloorMultiplierWaterfall":[3,2.5,2,1.8,1.5]},{"AdUnitID":"68297a33b99c1952","CPMFloorMultiplierWaterfall":[1.5,1.3,1.2,1.1,1,0.9,0.8]},{"AdUnitID":"d869ddb0f1ba8c83","CPMFloorMultiplierWaterfall":[]},{"AdUnitID":"449d4d75c5a2d742","CPMFloorMultiplierWaterfall":[3,2.5,2,1.8,1.5]},{"AdUnitID":"3b6f674731423d4a","CPMFloorMultiplierWaterfall":[1.5,1.3,1.2,1.1,1,0.9,0.8]},{"AdUnitID":"bc1522861d2c3209","CPMFloorMultiplierWaterfall":[]}]

Interstitial / Rewarded Replacement Experiment (A/B Test)

At times, Interstitial Ads may generate higher revenue than Rewarded Ads. In such cases, we display Interstitial Ads in place of Rewarded Ads.

Remote Config key: Can_inter_replace_rewarded (boolean) Sample Data: true/false

A/B Tests With Remote Configs Documentations

Firebase Remote Configs

Balancy Remote Configs

Last updated