기술 자료

지원

커스텀 연령 확인 기능 구현

Implement a custom age gate in your app. Set user age status to support compliance with child data privacy laws.
읽는 시간 1분

퍼블리셔 또는 Mediation 시스템이 커스텀 연령 확인 솔루션을 구현하는 경우 다음과 같은 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);

커스텀 연령 확인 기능 구현 • Unity Grow • Unity Docs