AdPlacementSettings
AdPlacementSettings | Description |
---|---|
enableDebug() |
Enable debug logging for Teads inApp SDK. |
enableLocation() |
Enable location for Teads inApp SDK. |
useLightEndScreen() |
Allow Teads inApp SDK to display the end screen with light color. |
userConsent(subjectGdpr: String, consent: String, tcfVersion: TCFVersion , cmpSdkId: Int) |
The GDPR consent and status, should match the IAB specifications. |
setUsPrivacy(usPrivacy: String) |
The CCPA consent string, should match the IAB specifications. |
setGppConsent(consent: String, sectionIds: String) |
The GPP consent and applicable section ids, should match the IAB specifications. |
disableCrashMonitoring() |
Disable crash monitoring that collects crashes on Teads SDK by default. |
addPlacementExtra(key: String, value: String) |
Add the given extra to your placement settings data. |
hideBrowserUrl() |
Hide the website url in the internal browser only. The url is visible by default. |
toolBarBackgroundColor(color: int) |
Set the given toolbar background color on the browser. |
setMediaScale(mediaScale: MediaScale) |
Set how the MediaView fits on its container. Works for images only on inFeed native creatives. |
AdRequestSettings
AdRequestSettings | Description |
---|---|
pageSlotUrl(url: String) |
Provide context for brand safety purposes. |
enableValidationMode() |
Enable the Validation Tool mode. |
addExtra(key: String, value: String) |
Add the given extra to your request settings data. |
TeadsMediationSettings
TeadsMediationSettings | Description |
---|---|
enableDebug() |
Enable debug logging for Teads inApp SDK. |
enableLocation() |
Enable location for Teads inApp SDK. |
useLightEndScreen() |
Allow Teads inApp SDK to display the end screen with light color. |
userConsent(subjectGdpr: String, consent: String, tcfVersion: TCFVersion , cmpSdkId: Int) |
The GDPR consent and status, should match the IAB specifications. |
setUsPrivacy(usPrivacy: String) |
The CCPA consent string, should match the IAB specifications. |
setGppConsent(consent: String, sectionIds: String) |
The GPP consent and applicable section ids, should match the IAB specifications. |
disableCrashMonitoring() |
Disable crash monitoring that collects crashes on Teads SDK by default. |
hideBrowserUrl() |
Hide the website url in the internal browser only. The url is visible by default. |
toolBarBackgroundColor(color: int) |
Set the given toolbar background color on the browser. |
pageSlotUrl(url: String) |
Provide context for brand safety purposes. |
enableValidationMode() |
Enable the Validation Tool mode. |
addPlacementExtra(key: String, value: String) |
Add the given extra to your placement settings data. |
addExtra(key: String, value: String) |
Add the given extra to your request settings data. |
setMediationListenerKey(key: Int) |
Used to retrieve the TeadsAdapterListener. |
setMediaScale(mediaScale: MediaScale) |
Set how the MediaView fits on its container. Works for images only on inFeed native creatives. |