타겟팅 설정하기
1
오디언스 타겟팅
1. 타겟팅 생성
2. 사용자 ID 설정
Adrop.instance().setConfig({
appKey: 'YOUR_APP_KEY',
uid: 'YOUR_UID'
})3. 사용자 프로퍼티 설정
const userProperties: UserProperties | null = {
adid: 'YOUR_ADID', // Android: Advertising ID, iOS: IDFA
birth: 'YOUR_BIRTH', // 생년월일 (YYYY, YYYYMM, YYYYMMDD)
gender: 'M', // M: 남자, F: 여자, U: 알 수 없음
locale: 'ko_KR' // ISO 639
timeZone: 'Asia/Seoul' // ISO 8601
YOUR_CUSTOM_PROPERTY: 'YOUR_CUSTOM_PROPERTY_VALUE'
}
const appProperties: AppProperties | null = {
appName: 'YOUR_APP_NAME' // 앱 이름
appVersion: 'YOUR_APP_VERSION' // 앱 버전
appBundleVersion: 'YOUR_APP_BUNDLE_VERSION' // 앱 번들 내부 버전
}
Adrop.instance().metrics
.setUserProperties(userProperties)
.setAppProperties(appProperties)
.commit()
.then(...)
.catch(...)Last updated