기술 자료

지원

커스텀 연령 확인 기능 구현

앱에 커스텀 연령 확인 기능을 구현합니다. 사용자 연령 상태를 설정하여 아동 데이터 개인정보 보호법 준수를 지원합니다.
읽는 시간 1분최근 업데이트: 16일 전

퍼블리셔 또는 미디에이션 시스템이 커스텀 연령 확인 솔루션을 구현하는 경우 다음과 같은 API를 사용하여 연령 확인 플래그를 Unity Ads SDK로 전달할 수 있습니다. Unity에서 이 플래그를 수신하면 빌트인 연령 확인 메시지가 나타나지 않습니다.
// If the user is over the specified age limit: MetaData ageGateMetaData = new MetaData("privacy"); ageGateMetaData.Set("useroveragelimit", "true"); Advertisement.SetMetaData(ageGateMetaData);// If the user is under the specified age limit:MetaData ageGateMetaData = new MetaData("privacy");gdprMetaData.Set("useroveragelimit", "false");Advertisement.SetMetaData(ageGateMetaData);