2025년 3월 27일부터 AOSP를 빌드하고 기여하려면 aosp-main
대신 android-latest-release
를 사용하는 것이 좋습니다. 자세한 내용은 AOSP 변경사항을 참고하세요.
AdServices
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Android 13부터 도입된 AdServices 모듈은 온라인에서 사용자의 개인 정보를 보호하고 기업 및 개발자에게 성공적인 디지털 비즈니스를 구축할 수 있는 도구를 제공하는 개인 정보 보호 샌드박스 이니셔티브를 지원합니다.
자세한 내용은 Android 개발자 사이트를 참고하세요.
동기
개인 정보 보호 샌드박스 이니셔티브의 목표는 다음과 같습니다.
- 사용자 정보를 비공개로 유지하는 새로운 기술 개발
- 게시자와 개발자가 온라인 콘텐츠를 무료로 제공할 수 있도록 지원
- 새로운 인터넷 개인 정보 보호 표준 구축을 위해 업계와 협력
모듈 경계
AdServices 아키텍처: 이 모듈은 모듈 경계가 없는 새로운 코드입니다.
코드 위치: packages/modules/AdServices
그림 1은 AdServices 모듈 설정을 보여줍니다.

그림 1. AdServices 모듈 API 디자인

그림 2. AdServices 모듈 설정
패키지의 주요 기능은 APX 형식으로 제공됩니다(com.google.android.adservices
).
개인 정보 보호 API 기능은 APK 형식으로 제공됩니다(com.google.android.adservices.api
).
SDK 런타임 기능은 APK 형식으로 제공됩니다(com.google.android.app.sdksandbox
).
AdServices에 관한 자세한 내용은 다음 페이지를 참고하세요.
종속 항목
- SDKSandbox의 새 sepolicy 도메인
- SDKSandbox의 제한사항: 제한된 스토리지, 인텐트, 브로드캐스트 등
- 잘 정의된 권한, 광고 SDK가 앱에서 권한을 상속받지 않음
- OS 변경사항: 샌드박스 UID 처리
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2024-05-02(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-05-02(UTC)"],[],[],null,["# AdServices\n\nThe AdServices module, introduced in Android 13,\nsupports the Privacy Sandbox initiative that aims to\ncreate technologies that both protect people's privacy online and give companies\nand developers tools to build thriving digital businesses.\n\nMore information is available on the\n[Android Developer site](https://developer.android.com/privacy-sandbox).\n\nMotivation\n----------\n\nThe goals of the Privacy Sandbox Initiative are:\n\n- Build new technology to keep user information private\n- Enable publishers and developers to keep online content free\n- Collaborate with the industry to build to new internet privacy standards\n\nModule boundary\n---------------\n\nAdServices architecture: This is all new code with no module boundary.\n\nCode location: `packages/modules/AdServices`\n\nFigure 1 shows the AdServices module setup.\n\n**Figure 1.** AdServices module API design\n\n**Figure 2.** AdServices module setup\n\nPackage format\n--------------\n\nMain functionality for the package will be available in APEX:\n`com.google.android.adservices`.\n\nPrivacy Preserving APIs functionality will be available in APK\n`com.google.android.adservices.api`.\n\nSDK Runtime functionality will be available in APK\n`com.google.android.app.sdksandbox`.\n\nYou can learn more about AdServices on the following pages:\n\n- [Privacy Sandbox Overview](https://developer.android.com/design-for-safety/ads/introduction)\n- [SDK Runtime Design](https://developer.android.com/design-for-safety/ads/sdk-runtime)\n- [Topics Design](https://developer.android.com/design-for-safety/ads/topics)\n- [FLEDGE on Android Design](https://developer.android.com/design-for-safety/ads/fledge)\n- [Attribution Reporting Design](https://developer.android.com/design-for-safety/ads/attribution)\n\nDependencies\n------------\n\n- New sepolicy domain for SDKSandbox\n- Restrictions for SDKSandbox: limited storage, intents, broadcasts, etc.\n- Well defined permissions; ad SDKs do not inherit permissions from apps\n- OS changes to deal with sandbox UIDs"]]