ID のフィルタリング ガイド
Aggregation Service では、フィルタ ID を利用して、特定の測定値を異なる頻度で処理できるようになりました。フィルタ ID を Aggregation Service 内でジョブの作成時に渡すことができます。
POST createJob
Body: {
"job_parameters": {
"output_domain_blob_prefix": "domain/domain.avro",
"output_domain_bucket_name": "<data_bucket>",
"filtering_ids": [1, 3] // IDs to keep in the query
}
}
このフィルタ実装を使用するには、測定クライアント API(Attribution Reporting API または Private Aggregation API)から開始し、フィルタ ID を渡すことをおすすめします。これらのデータは、デプロイされた集計サービスに渡され、最終的な概要レポートが返されます。このレポートには、期待されるフィルタリング結果が含まれます。
統合レポートのアカウント予算が予算に与える影響が懸念される場合は、レポートのjob_parameters
で指定された ID のフィルタにのみ使用されます。これにより、予算不足エラーが発生することなく、同じレポートに対して異なるフィルタ ID を指定してジョブを再実行できます。
次のフロー図は、Private Aggregation API、Shared Storage API 内でこの機能を使用できる方法と、パブリック クラウドの Aggregation Service まで使用できる方法を示しています。

このフローでは、Attribution Reporting API でフィルタ ID を使用して、パブリック クラウドの集計サービスに転送する方法を示しています。

詳細については、Attribution Reporting API の説明と Private Aggregation API の説明、最初の提案をご覧ください。
詳しくは、Attribution Reporting API または Private Aggregation API のセクションをご覧ください。createJob
エンドポイントと getJob
エンドポイントの詳細については、Aggregation Service API のドキュメントをご覧ください。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-05 UTC。
[null,null,["最終更新日 2024-12-05 UTC。"],[[["The Aggregation Service now allows processing certain measurements at different cadences using filtering IDs."],["Filtering IDs are specified during job creation to control which data is included in the aggregated reports."],["Budgets are only consumed for filtering IDs specified in the job parameters, enabling flexible report generation without budget exhaustion."],["This functionality is integrated with the Attribution Reporting API and Private Aggregation API for flexible data processing."],["Detailed documentation and explainers are available for further information on implementation and usage."]]],["The Aggregation Service now supports processing measurements at different cadences using filtering IDs. These IDs, passed during job creation, specify which data to include. Filtering IDs are initiated via the Attribution Reporting or Private Aggregation APIs. Budget is only consumed for specified filtering IDs, allowing job reruns with different IDs. This process is facilitated through the Private Aggregation and Shared Storage APIs, as well as with the Attribution Reporting API, flowing through to the Aggregation Service.\n"]]