컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
다음은 Platforms API를 시작하기 위한 대략적인 프로세스입니다.
- 새 Google Cloud 프로젝트 만들기 (또는 기존 프로젝트 사용)
- Google Cloud 프로젝트에서 서비스 계정을 만들고 계정 관리자를 통해 Google에 계정을 전송하여 애드센스 계정에 추가합니다.
- Google Cloud 프로젝트에 AdSense Platform API를 사용 설정합니다. 이 페이지는 허용 목록에 있는 프로젝트에만 표시됩니다.
- 서비스 키 만들기
- Google의 OAuth 라이브러리를 사용하여 액세스 토큰 생성
- HTTP 요청을 사용하여 애드센스 플랫폼 API 호출
1~5단계는 API 호출 인증 페이지에 설명되어 있으며 API는 각 페이지에 설명되어 있습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
[[["이해하기 쉬움","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"]],[],[[["CustomChannel is a resource representing a custom channel, providing a way to segment ad revenue based on specific criteria."],["It has fields like `name`, `reportingDimensionId`, `displayName`, and `active` for identification and configuration."],["You can manage CustomChannels using methods like create, delete, get, list, listLinkedAdUnits, and patch to control their lifecycle and relationships with ad units."],["Refer to the provided links for detailed information on each method and field."]]],["To utilize the Platforms API, first, establish a Google Cloud project and create a service account, sending it to Google. Then, enable the AdSense Platform API for the project and generate a service key. Use Google's OAuth libraries to obtain an access token. Finally, make HTTP requests to call the AdSense Platform APIs. These APIs enable creating, getting accounts, adding event data, adding sites, and requesting site reviews. Steps to generate the service key and authentication are available at [Authenticating API calls](/adsense/platforms/api/authenticating-api-calls).\n"]]