> For the complete documentation index, see [llms.txt](https://lionstudios.gitbook.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lionstudios.gitbook.io/readme/features/ads/how-to-convert-to-lion-ads/bidsmart-v3-to-v4-migration.md).

# Bidsmart V3 to V4 Migration

### Overview

This guide covers the **LionAds v3-to-v4 update changes**. No game code changes are required — the update is entirely in the **remote config JSON** you send.

`LionAdsRemoteConfigHandler.SetRemoteConfig`

### What changed

* Coefficients are now set **separately per ad type**, in `Interstitial` and `Rewarded` blocks, instead of once at the `BidSmart` level.
* `UpCoefBase` / `DownCoefBase` were renamed to `UpCoef` / `DownCoef`, and the implicit `1 +` was removed — each value is now the multiplier it reads as (the old `UpCoefBase: 2.0` is now `UpCoef: 3.0`).
* `FillRateMinimum` and `FailStreakUnderMinimumMax` were **removed** along with the auto-disable mechanism. BidSmart no longer switches itself off, so returning demand is picked up immediately. Use `Enabled: false` as the kill switch.

### Before (V3)

{% code overflow="wrap" lineNumbers="true" %}

```json
{
  "BidSmart": {
    "Enabled": true,
    "UpCoefBase": 2,
    "DownCoefBase": 0.35,
    "FillRateMinimum": 0.3,
    "FailStreakUnderMinimumMax": 10
  }
}
```

{% endcode %}

### After (V4)

{% code overflow="wrap" lineNumbers="true" %}

```json
{
  "BidSmart": {
    "Enabled": true,
    "Interstitial": {
      "UpCoef": 3,
      "DownCoef": 0.83
    },
    "Rewarded": {
      "UpCoef": 3,
      "DownCoef": 0.83
    }
  }
}
```

{% endcode %}

### Field mapping

| Old (V3)                      | New (V4)                                                     | Notes                                             |
| ----------------------------- | ------------------------------------------------------------ | ------------------------------------------------- |
| `Enabled`                     | `Enabled`                                                    | Unchanged. Default `false`.                       |
| `UpCoefBase` (default 2.0)    | `Interstitial.UpCoef` / `Rewarded.UpCoef` (default 3.0)      | Per ad type. The value is now the raw multiplier. |
| `DownCoefBase` (default 0.35) | `Interstitial.DownCoef` / `Rewarded.DownCoef` (default 0.83) | Per ad type.                                      |
| `FillRateMinimum`             | —                                                            | Removed (auto-disable gone).                      |
| `FailStreakUnderMinimumMax`   | —                                                            | Removed (auto-disable gone).                      |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://lionstudios.gitbook.io/readme/features/ads/how-to-convert-to-lion-ads/bidsmart-v3-to-v4-migration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
