DT Exchange Mediation API

This package provides the DT Exchange (Digital Turbine) mediation adapter for the Google Mobile Ads (GMA) React Native SDK, supporting the React Native New Architecture (TurboModules).

Usage

Configure user privacy and consent settings for DT Exchange:

import { DTExchangeMediation } from 'gma-mediation-dtexchange';

// Set LGPD consent (Brazil)
DTExchangeMediation.setLgpdConsent(true);

// Set US Privacy string (CCPA)
DTExchangeMediation.setUSPrivacyString('1---');

Variables
DTExchangeMediation
Mediation privacy settings for DT Exchange.

Variables


Const DTExchangeMediation

DTExchangeMediation: {
  clearLgpdConsentData(): void;
  clearUSPrivacyString(): void;
  setLgpdConsent(wasConsentGiven): void;
  setUSPrivacyString(usPrivacyString): void;
}
Mediation privacy settings for DT Exchange.