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
instance.
RTBSDKManager
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
Last updated