# SuperAwesome

To pass specific SuperAwesome options:

* Create an instance of [AATAdNetworksOptions](https://ios-sdk.aatkit.com/references/documentation/aatkit/aatadnetworksoptions) including your [AATSuperAwesomeOptions](https://ios-sdk.aatkit.com/references/documentation/aatkit/aatsuperawesomeoptions).
* Provide this instance to the [AATConfiguration](https://ios-sdk.aatkit.com/references/documentation/aatkit/aatconfiguration) while initialising AATKit.
* AATKit will automatically forward the specified options to the SuperAwesome SDK during ad loading.

{% tabs %}
{% tab title="Swift" %}
```swift
let conf = AATConfiguration()
...
let superAwesomeOptions = AATSuperAwesomeOptions()
superAwesomeOptions.rewardedVideoOptionsOptions = .init(closeButtonAtEnd: closeButtonAtEnd,
                                                        orientation: orientation,
                                                        closeButtonState: closeButtonState,
                                                        parentalGateEnabled: parentalGateEnabled,
                                                        bumperPageEnabled: bumperPageEnabled,
                                                        bumperPageCustomAppName: bumperPageCustomAppName,
                                                        bumperPageLogo: bumperPageLogo)
superAwesomeOptions.bannerOptions = .init(parentalGateEnabled: parentalGateEnabled,
                                          bumperPageEnabled: bumperPageEnabled,
                                          bumperPageCustomAppName: bumperPageCustomAppName,
                                          bumperPageLogo: bumperPageLogo,
                                          isBackgroundTransparent: isBackgroundTransparent)
superAwesomeOptions.interstitialAdOptions = .init(orientation: orientation,
                                                  closeButtonState: closeButtonState,
                                                  parentalGateEnabled: parentalGateEnabled,
                                                  bumperPageEnabled: bumperPageEnabled,
                                                  bumperPageCustomAppName: bumperPageCustomAppName,
                                                  bumperPageLogo: bumperPageLogo)
conf.adNetworksOptions = AATAdNetworksOptions(superAwesomeOptions: superAwesomeOptions)
...
AATSDK.initAATKit(with: conf)
```
{% endtab %}

{% tab title="Objective-C" %}
```objectivec
AATConfiguration *conf = [[AATConfiguration alloc] init];
...
BannerOptions *bannerOptions = [[BannerOptions alloc] initWithParentalGateEnabled:ParentalGateEnabled bumperPageEnabled:bumperPageEnabled bumperPageCustomAppName:bumperPageCustomAppName bumperPageLogo:bumperPageLogo isBackgroundTransparent:isBackgroundTransparent];
InterstitialAdOptions *interstitialOptions = [[InterstitialAdOptions alloc] initWithOrientation:Orientation closeButtonState:closeButtonState parentalGateEnabled:parentalGateEnabled bumperPageEnabled:bumperPageEnabled bumperPageCustomAppName:bumperPageCustomAppName bumperPageLogo:bumperPageLogo];
RewardedVideoOptions *rvOptions = [[RewardedVideoOptions alloc] initWithCloseButtonAtEnd:CloseButtonAtEnd smallClickEnabled:smallClickEnabled closeButtonWarningEnabled:closeButtonWarningEnabled orientation:orientation closeButtonState:closeButtonState parentalGateEnabled:parentalGateEnabled bumperPageEnabled:bumperPageEnabled bumperPageCustomAppName:bumperPageCustomAppName bumperPageLogo:bumperPageLogo];
AATSuperAwesomeOptions *superAwesomeOptions = [[AATSuperAwesomeOptions alloc] initWithBannerOptions:bannerOptions interstitialAdOptions:interstitialOptions rewardedVideoOptionsOptions:rvOptions];
conf.adNetworksOptions = [[AATAdNetworksOptions alloc] initWithAppNexusOptions:nil
                                                                  feedAdOptions:nil
                                                                   adMobOptions:nil
                                                                     dfpOptions:nil
                                                                datonomyOptions:nil
                                                            superAwesomeOptions:superAwesomeOptions
                                                              graviteRTBOptions:nil
                                                               displayIOOptions:nil
                                                             metaBiddingOptions:nil];
...
[AATSDK initAATKitWith:conf];
```
{% endtab %}
{% endtabs %}
