# Gravite RTBSDK

To pass specific Gravite RTBSDK options:

* Create an instance of [AATAdNetworksOptions](https://android-sdk.aatkit.com/references/-a-a-t-kit/com.intentsoftware.addapptr/-a-a-t-kit-ad-network-options/index.html) including your [GraviteRTBOptions](https://android-sdk.aatkit.com/references/-a-a-t-kit/com.intentsoftware.addapptr/-gravite-r-t-b-options/index.html).
* Provide this instance to the [AATConfiguration](https://android-sdk.aatkit.com/references/-a-a-t-kit/com.intentsoftware.addapptr/-a-a-t-kit-configuration/index.html) while initialising AATKit.
* AATKit will automatically forward the specified options to the Gravite RTBSDK during ad loading.

{% hint style="info" %}
If the MRAID creative has close button and `forceCloseButtonForMraid` is true, the MRAID creative would have 2 close buttons.
{% endhint %}

{% tabs %}
{% tab title="Java" %}
```java
AATKitConfiguration conf = new AATKitConfiguration(this);
AATKitAdNetworkOptions networkOptions = new AATKitAdNetworkOptions();
// [...]
GraviteRTBOptions graviteOptions = new GraviteRTBOptions(false);
// [...]
networkOptions.setGraviteRTBOptions(graviteOptions);
conf.setAdNetworkOptions(networkOptions);
```
{% endtab %}

{% tab title="Kotlin" %}
```kotlin
val conf = AATKitConfiguration(this)
val networkOptions = AATKitAdNetworkOptions()
// [...]
val graviteOptions = GraviteRTBOptions(false)
// [...]
networkOptions.graviteOptions = graviteOptions
conf.adNetworkOptions = networkOptions
```
{% endtab %}
{% endtabs %}
