パフォーマンスの測定
Reports
サービスを使用して、パフォーマンス
統計情報をご覧ください。
詳細については、metrics
のドキュメントをご覧ください。
利用可能な指標の完全なリストです。
要件
レポート マネージャーが必要
ロールが必要です。
アカウントにレポート マネージャーのロールを付与するには、次のコマンドを使用します。
accounts.update
~
reportingManager
フィールドを true
に設定します。レポートマネージャーの役割は
これは、Merchant Center における「パフォーマンスと分析情報」のロールと同等です。
accounts.update
は Account
リソース全体を置き換えます。accounts.get
を使用して以下を行います。
完全な Account
リソースを取得してから、
accounts.update
リクエストをスキップして、情報を失うことがないようにします。
クエリの例
次のクエリは、すべてのテーブルで impressions
、clicks
、ctr
を取得します。
過去 30 日間の一定期間における
商品の数も確認できますこのリクエストを行うには、
次の Merchant Center クエリ言語ステートメントを
reports.search
メソッド:
SELECT
metrics.impressions,
metrics.clicks,
metrics.ctr
FROM MerchantPerformanceView
WHERE segments.date BETWEEN '2020-12-01' AND '2020-12-30'
実行
[実行] をクリックして、API Explorer でサンプルを試します。[
[Run] に移動し、
リクエスト URL を入力します。クエリを変更できます。クエリ全体を 1 行で入力し、
API Explorer を使用します。
セグメントも
よりきめ細かなパフォーマンスレポートを作成できます
詳しくは、サービスガイドをご覧ください。
Reports
サービスで商品を取得してフィルタします。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-20 UTC。
[null,null,["最終更新日 2024-09-20 UTC。"],[[["The `Reports` service allows you to retrieve performance metrics, such as impressions, clicks, and click-through rate (CTR), for your account."],["To access this service, you must have the Reporting manager role (equivalent to the Performance and insights role in Merchant Center), which can be assigned using the `accounts.update` method."],["A comprehensive list of available metrics can be found in the `metrics` documentation, and you can use Merchant Center Query Language to create customized reports."],["For more detailed analysis, you can segment your metrics and further explore report functionalities through the provided guides on segmentation and products."]]],["The `Reports` service retrieves performance metrics, requiring the Reporting manager role. This role is enabled by setting `reportingManager` to `true` using `accounts.update`. To retain data, use `accounts.get` beforehand. `reports.search` uses Merchant Center Query Language, as demonstrated in a sample query that fetches `impressions`, `clicks`, and `ctr` for a given date range, and allows to run it in the API Explorer. Additionally, metrics can be segmented for detailed reports.\n"]]