Android Adrop Metrics 설정하기
Adrop 초기화
// 1. Application Context를 사용하세요.
// 2. production = true 를 사용하세요.
// 3. 특정 국가에서 이 SDK를 사용하고 있다면,
// ISO 3166 alpha-2 국가 코드 array를 전달하세요.
val production = true
val targetCountries = arrayOf<String>()
Adrop.initialize(application, production, targetCountries)// 1. Application Context를 사용하세요.
// 2. production = true 를 사용하세요.
// 3. 특정 국가에서 이 SDK를 사용하고 있다면,
// ISO 3166 alpha-2 국가 코드 array를 전달하세요.
Boolean production = true;
String[] targetCountries = {};
Adrop.INSTANCE.initialize(getApplication(), production, targetCountries);사용자 속성 세팅
val key = "YOUR_PROPERTY_KEY"
val value = "YOUR_PROPERTY_VALUE"
// 프로퍼티 설정 함수
AdropMetrics.setProperty(key, value)
// 현재 디바이스의 프로퍼티를 확인할 수 있는 함수
AdropMetrics.properties()
// UID 설정 함수
AdropMetrics.setUID('YOUR_UID')String key = "YOUR_PROPERTY_KEY";
String value = "YOUR_PROPERTY_VALUE";
// 프로퍼티 설정 함수
AdropMetrics.INSTANCE.setProperty(key, value);
// 현재 디바이스의 프로퍼티를 확인할 수 있는 함수
AdropMetrics.INSTANCE.properties();
// UID 설정 함수
AdropMetrics.INSTANCE.setUID('YOUR_UID')(Advanced) 웹과 앱의 동일한 타겟팅 생성하기
앱 SDK 에서 UID 수집하기
앱 SDK 에서 수집한 타겟팅 데이터 웹에서 사용하기
Last updated