> For the complete documentation index, see [llms.txt](https://aatkit.gitbook.io/rtbsdk-android-integration/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aatkit.gitbook.io/rtbsdk-android-integration/start/setup/configure-rtbsdk.md).

# Configure RTBSDK

### Configure RTBSDK

Before loading ads, the app should pass the initial configurations first. This only needs to be done once, ideally at the app launch. You should implement this step as early as possible in order to ensure optimal ad performance.

The configuration is being done via the shared [`RTBSDKManager`](https://gravite-sdk-releases.s3.eu-central-1.amazonaws.com/rtbsdk/android/docs/-r-t-b--s-d-k/com.rtb.sdk/-r-t-b-s-d-k-manager/index.html) instance.

### RTBSDKManager

```kotlin
object RTBSDKManager {

    /**
     * Indicates whether the app is paid or not. Default value is null.
     */
    var isPaid: Boolean? = null

    /**
     * Indicates whether the app is child-directed (supports COPPA) or not. Default value is null.
     */
    var isChildDirected: Boolean? = null

    /**
     * Indicates whether the GDPR consent is required (if the user falls under GDPR jurisdiction). True by default.
     */
    var isGDPRApplies: Boolean = true

    /**
     * Indicates whether the test mode is enabled or not. Default value is false.
     */
    var testModeEnabled: Boolean? = false

    /**
     * Desired log level, as in [android.util.Log] class.
     */
    var logLevel: Int = Log.INFO

    /**
     * Indicates whether the SDK should use the geo location or not. Default value is false.
     */
    var useGeoLocation: Boolean = false

    /**
     * A string represents the current SDK version
     */
    val sdkVersion: String = BuildConfig.SHORT_VERSION_NAME
}
```

### GDPR

Set `isGDPRApplies` to true if the app supports GDPR. Default value is **true**.

### Test Mode

Set `testModeEnabled` to true to enable test mode. Default value is **false**.

### Log Level

Sets the SDK log level. Default is `Log.INFO.`

#### Log Levels

* Verbose

Verbose-level messages are intended to capture **verbose**, **debug**, **info**, **warning** and **error** messages. It’s convenient in an intensive development environment.

* Debug

Debug-level messages are intended to capture **debug**, **info**, **warning** and **error** messages. It’s convenient in a normal development environment.

* Info

Info-level messages are intended to capture **info**, **warning** and **error** messages. Info-level may be helpful but isn’t enough for troubleshooting.

* Warn

Warn-level messages are intended to capture **warning** and **error** messages only.

* Error

Error-level messages are intended to capture **error** messages only.

### Use Geo Location

Set `useGeoLocation` to true to enable the SDK to use the geo location. Default value is **false**.

### Paid App

Set `isPaid` to true if the app is paid. Default value is **nil**.

### Child Directed

Set `isGDPRApplies` to true if the app supports child-directed (COPPA) or not. Default value is **null**.

### SDK Version

Use this getter value to get the current SDK version

###
