コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Platforms API の使用を開始する大まかな手順は次のとおりです。
- 新しい Google Cloud プロジェクトを作成します(または既存のプロジェクトを使用します)
- Google Cloud プロジェクトでサービス アカウントを作成し、アカウント マネージャー経由で Google に送信して、AdSense アカウントに追加する
- Google Cloud プロジェクトで AdSense Platform API を有効にします(このページは許可リストに登録されたプロジェクトにのみ表示されます)。
- サービスキーを作成する
- Google の OAuth ライブラリを使用してアクセス トークンを生成する
- HTTP リクエストを使用して AdSense Platform API を呼び出す
手順 1 ~ 5 については、API 呼び出しの認証のページで説明しています。API については、それぞれのページで説明しています。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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"]]