setUserKeyValue static method

Future<void> setUserKeyValue(
  1. String key,
  2. String value
)

Set user-level key-value pair for targeting

User-level key-values are injected into bid requests at server-configured paths. These values are typically user-specific targeting parameters and will be cleared if privacy regulations require removing personal data (COPPA).

Implementation

static Future<void> setUserKeyValue(String key, String value) async {
  await _invokeMethod('setUserKeyValue', {'key': key, 'value': value});
}