با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
چندین بعد شامل _ID ، _CODE ، و _NAME هستند، مانند AD_UNIT_ID ، AD_PLACEMENT_CODE ، یا PLATFORM_TYPE_NAME . همه اینها معانی و کاربردهای کمی متفاوت دارند، بنابراین مهم است که هنگام انتخاب ابعاد برای گزارش خود از آنها آگاه باشید.
_ ابعاد شناسه
ابعادی که به _ID ختم میشوند یک شناسه منحصربهفرد تضمینشده برای مقدار را نشان میدهند، در آن بعد، که به یک موجودیت خاص در حساب AdSense اشاره دارد.
اگر نیاز به اطمینان از منحصر به فرد بودن مقادیر ابعاد دارید، از بعد _ID استفاده کنید.
ابعاد _CODE
ابعادی که به _CODE ختم می شوند معمولاً از یک کد منحصر به فرد و مستقل از زبان برای مقدار استفاده می کنند. با این حال، برخی استثناها وجود دارد که در آن مقدار ممکن است فقط برای یک حساب یا مشتری آگهی منحصر به فرد باشد، اگر مقدار به یک موجودیت حساب AdSense اشاره کند.
اگر نیاز به انجام هر نوع رسیدگی خاصی به مقادیر ابعاد دارید و نمی توانید از بعد _ID استفاده کنید، از بعد _CODE استفاده کنید.
ابعاد _NAME
ابعادی که به _NAME ختم میشوند، یک نام قابل خواندن توسط انسان برای مقدار نشان میدهند. در صورت لزوم، این نام با توجه به منطقه در درخواست گزارش ترجمه می شود. اگر بعد به یک موجود در حساب AdSense اشاره کند، از نام تعریف شده توسط کاربر برای آن موجودیت استفاده می کند.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAdSense reporting dimensions like \u003ccode\u003eAD_UNIT_ID\u003c/code\u003e, \u003ccode\u003eAD_PLACEMENT_CODE\u003c/code\u003e, and \u003ccode\u003ePLATFORM_TYPE_NAME\u003c/code\u003e categorize report data by specific attributes.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003e_ID\u003c/code\u003e dimensions provide unique identifiers for specific entities within your AdSense account, ensuring value uniqueness.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003e_CODE\u003c/code\u003e dimensions use language-independent codes, offering a standardized way to categorize data when uniqueness isn't critical.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003e_NAME\u003c/code\u003e dimensions present human-readable, locale-specific names, enhancing report readability and understanding.\u003c/p\u003e\n"],["\u003cp\u003eChoose the appropriate dimension type (\u003ccode\u003e_ID\u003c/code\u003e, \u003ccode\u003e_CODE\u003c/code\u003e, or \u003ccode\u003e_NAME\u003c/code\u003e) based on your reporting requirements and desired level of detail.\u003c/p\u003e\n"]]],["The document outlines three types of dimensions: `_ID`, `_CODE`, and `_NAME`. `_ID` dimensions provide guaranteed unique identifiers for AdSense account entities. `_CODE` dimensions use unique, language-independent codes, though exceptions exist for account-specific entities. `_NAME` dimensions offer human-readable, localized names for values, often reflecting user-defined names in AdSense. Selecting the right dimension depends on whether uniqueness, specific codes, or user-facing names are required.\n"],null,["# Use the Right Dimension\n\nSeveral dimensions include `_ID`, `_CODE`, and `_NAME`, such as\n`AD_UNIT_ID`, `AD_PLACEMENT_CODE`, or `PLATFORM_TYPE_NAME`. These\nall have slightly different meanings and uses, so it's important to be aware of them when selecting\ndimensions for your report.\n\n_ID dimensions\n--------------\n\nDimensions that end in `_ID` display a **guaranteed unique ID** for the value,\nwithin that dimension, which refers to a specific entity in an AdSense account.\n\nIf you need to ensure uniqueness in the dimension values, use an `_ID` dimension.\n| **Some examples:**\n|\n| Dimension: `AD_UNIT_ID` \n|\n| Value format: `\"ca-pub-1234567890123456:1234567890\"`\n|\n| Dimension: `CUSTOM_CHANNEL_ID` \n|\n| Value format: `\"ca-pub-1234567890123456:9876543210\"`\n\n_CODE dimensions\n----------------\n\nDimensions that end in `_CODE` normally use a unique, language-independent code for\nthe value. There are, however, some exceptions where the value may only be unique to an account or\nad client, if the value refers to an AdSense account entity.\n\nIf you need to do any sort of special handling of dimension values and can't use an\n`_ID` dimension, use a `_CODE` dimension.\n| **Some examples:**\n|\n| Dimension: `PLATFORM_TYPE_CODE` \n|\n| Value format: `\"Desktop\"`, `\"HighEndMobile\"`,\n| `\"Tablet\"`, `\"unknown\"`, etc.\n|\n| Dimension: `AD_PLACEMENT_CODE` \n|\n| Value format: `\"AD_UNIT\"`, `\"ca-pub-123456:78910\"`,\n| `\"OTHER\"`, etc.\n\n_NAME dimensions\n----------------\n\nDimensions that end in `_NAME` display a human-readable name for the value. This name\ngets translated according to the locale in the report request, where appropriate. If the dimension\nrefers to an entity in an AdSense account, it will use the user-defined name for that\nentity.\n| **Some examples:**\n|\n| Dimension: `PLATFORM_TYPE_NAME` \n|\n| Locale: `en_US` \n|\n| Value format: `\"Desktop\"`, `\"High-end mobile devices\"`,\n| `\"Tablets\"`, `\"Other devices\"`, etc.\n|\n| Dimension: `PLATFORM_TYPE_NAME` \n|\n| Locale: `es` \n|\n| Value format: `\"Ordenador\"`, `\"Teléfonos móviles de gama alta\"`,\n| `\"Tabletas\"`, `\"Otros dispositivos\"`, etc.\n|\n| Dimension: `CUSTOM_CHANNEL_NAME` \n|\n| Locale: can be any locale \n|\n| Value format: user-defined channel names in the AdSense account\n\nNext steps\n----------\n\n- [Running Large Reports](/adsense/management/reporting/large_reports)\n- [List of Metrics and Dimensions](/adsense/management/metrics-dimensions)"]]