# Configure RTBSDK

### Minimum iOS Version

RTBSDK's minimum iOS deployment version is **11.0.**

### 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://ios-sdk-rtb.gravite.net/references/documentation/rtbsdk/rtbsdkmanager) instance.

#### 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 `RTBLogLevel.info`.

* 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 `isChildDirected` to true if the app supports child-directed (COPPA) or not. Default value is **nil**.

### SDK Version

Use this getter value to get the current SDK version


---

# Agent Instructions: 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:

```
GET https://aatkit.gitbook.io/rtbsdk-ios-integration/start/setup/configure-rtbsdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
