جرِّب خادم MCP لخدمة "إحصاءات Google". يمكنك تثبيت التطبيق من
GitHub والاطّلاع على
الإعلان لمعرفة المزيد من التفاصيل.
Comparison
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
تُحدِّد مقارنة فردية. ستتضمّن معظم الطلبات مقارنات متعددة لكي يقارن التقرير بين المقارنات.
تمثيل JSON |
{
"name": string,
// Union field one_comparison can be only one of the following:
"dimensionFilter": {
object (FilterExpression )
},
"comparison": string
// End of list of possible types for union field one_comparison .
} |
الحقول |
name |
string
تؤدي كل مقارنة إلى إنشاء صفوف منفصلة في الاستجابة. في الاستجابة، يتم تحديد هذه المقارنة بهذا الاسم. إذا لم يتم تحديد اسم، سنستخدم الاسم المعروض للمقارنات المحفوظة.
|
حقل الربط one_comparison يمكن أن يكون نوع واحد من قيم المقارنة one_comparison أحد القيم التالية فقط: |
dimensionFilter |
object (FilterExpression )
مقارنة أساسية
|
comparison |
string
مقارنة محفوظة يتم تحديدها من خلال اسم مورد المقارنة. على سبيل المثال، comparisons/1234.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eJSON representation defines individual comparisons, often used in reports to compare multiple aspects.\u003c/p\u003e\n"],["\u003cp\u003eEach comparison has a name for identification and uses either a \u003ccode\u003edimensionFilter\u003c/code\u003e or a saved \u003ccode\u003ecomparison\u003c/code\u003e for defining the comparison logic.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003edimensionFilter\u003c/code\u003e allows for basic comparisons using FilterExpression, while \u003ccode\u003ecomparison\u003c/code\u003e utilizes a saved comparison resource for complex scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe response data will present each comparison in separate rows, identified by their respective names.\u003c/p\u003e\n"]]],["The content defines a comparison structure for reporting. Each comparison has a `name` for identification in the response. A comparison can be defined in one of two ways: by a `dimensionFilter` object, which specifies a basic filter criteria; or by referencing a pre-existing saved `comparison` via its resource name. Multiple comparisons are used together to create a report, each comparison generating separate rows in the output.\n"],null,["# Comparison\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDefines an individual comparison. Most requests will include multiple comparisons so that the report compares between the comparisons.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, // Union field `one_comparison` can be only one of the following: \"dimensionFilter\": { object (/analytics/devguides/reporting/data/v1/rest/v1beta/FilterExpression) }, \"comparison\": string // End of list of possible types for union field `one_comparison`. } ``` |\n\n| Fields ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Each comparison produces separate rows in the response. In the response, this comparison is identified by this name. If name is unspecified, we will use the saved comparisons display name. |\n| Union field `one_comparison`. One kind of comparison value `one_comparison` can be only one of the following: ||\n| `dimension``Filter` | `object (`[FilterExpression](/analytics/devguides/reporting/data/v1/rest/v1beta/FilterExpression)`)` A basic comparison. |\n| `comparison` | `string` A saved comparison identified by the comparison's resource name. For example, 'comparisons/1234'. |"]]