Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
Pivot
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
レポート レスポンスに表示されるディメンションの列と行について説明します。
| JSON 表現 |
{
"fieldNames": [
string
],
"orderBys": [
{
object (OrderBy)
}
],
"offset": string,
"limit": string,
"metricAggregations": [
enum (MetricAggregation)
]
} |
| フィールド |
fieldNames[] |
string
レポート レスポンスに表示される列のディメンション名。"dateRange" を含む期間列を生成します。レスポンスの各行の、期間列のディメンション値は、リクエストの対応する期間を示します。
|
orderBys[] |
object (OrderBy)
ピボットでのディメンションの順序を指定します。最初のピボットでは、OrderBys によって Row と PivotDimensionHeader の順序が決定されます。後続のピボットでは、OrderBys によって PivotDimensionHeader の順序のみが決定されます。これらの OrderBys で指定するディメンションは、Pivot.field_names のサブセットである必要があります。
|
offset |
string (int64 format)
開始行の行数。最初の行は行 0 としてカウントされます。
|
limit |
string (int64 format)
このピボットで返す行数です。limit パラメータが指定されていない場合、最大 10,000 行が返されます。この API では、指定した行数に関係なく、リクエストごとに最大 100,000 行が返されます。
|
metricAggregations[] |
enum (MetricAggregation)
指定された metricAggregations を使用して、このピボットのディメンション別に指標を集計します。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["This defines the structure of visible dimension columns and rows in a report response. Key components include: `fieldNames` for dimension names; `orderBys` to define dimension ordering; `offset` to specify the starting row number; `limit` to control the number of rows returned (up to 10,000 if unspecified, max 100,000 per request); and `metricAggregations` to aggregate metrics by dimensions. It determines the report's visual layout and data organization.\n"]]