DT Exchange Mediation API

這個套件提供 DT Exchange (Digital Turbine) 中介服務轉接程式,適用於 Google Mobile Ads (GMA) React Native SDK,並支援 React Native New Architecture (TurboModules)。

用量

設定 DT Exchange 的使用者隱私權和同意聲明設定:

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

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

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

變數
DTExchangeMediation
DT Exchange 的中介服務隱私權設定。

變數


Const DTExchangeMediation

DTExchangeMediation: {
  clearLgpdConsentData(): void;
  clearUSPrivacyString(): void;
  setLgpdConsent(wasConsentGiven): void;
  setUSPrivacyString(usPrivacyString): void;
}
DT Exchange 的中介服務隱私權設定。