Chỉ có đầu ra. Tên tài nguyên. Định dạng: accounts/{account}/dataSharingSettings Ví dụ: "accounts/1000/dataSharingSettings"
sharingWithGoogleSupportEnabled
boolean
Cho phép người đại diện hỗ trợ kỹ thuật của Google truy cập vào dữ liệu và tài khoản Google Analytics của bạn khi cần thiết để cung cấp dịch vụ và tìm giải pháp cho các vấn đề kỹ thuật.
Trường này liên kết với trường "Hỗ trợ kỹ thuật" trong giao diện người dùng Quản trị của Google Analytics.
sharingWithGoogleAssignedSalesEnabled
boolean
Cho phép Google truy cập vào dữ liệu tài khoản Google Analytics của bạn, bao gồm cả dữ liệu về mức sử dụng, cấu hình, mức chi tiêu cho sản phẩm của tài khoản và những người dùng có liên kết với tài khoản Google Analytics của bạn, để Google có thể giúp bạn khai thác tối đa các sản phẩm của Google, cung cấp cho bạn thông tin chi tiết, ưu đãi, đề xuất và mẹo tối ưu hoá trên Google Analytics cũng như các sản phẩm khác của Google dành cho doanh nghiệp.
Trường này liên kết đến trường "Đề xuất cho doanh nghiệp của bạn" trong Giao diện người dùng quản trị của Google Analytics.
sharingWithGoogleAnySalesEnabled (deprecated)
boolean
Không dùng nữa. Trường này không còn được sử dụng và luôn trả về giá trị false.
sharingWithGoogleProductsEnabled
boolean
Cho phép Google sử dụng dữ liệu để cải thiện các sản phẩm hoặc dịch vụ khác của Google.
Trường này liên kết với trường "Sản phẩm và dịch vụ của Google" trong Giao diện người dùng quản trị của Google Analytics.
sharingWithOthersEnabled
boolean
Bật các tính năng như thông tin dự đoán, dữ liệu được mô hình hoá và dịch vụ đo điểm chuẩn để có thông tin chi tiết phong phú hơn về doanh nghiệp khi bạn đóng góp dữ liệu đo lường tổng hợp. Dữ liệu mà bạn chia sẻ (bao gồm cả thông tin về tài sản chứa dữ liệu được chia sẻ) sẽ được tổng hợp và loại bỏ thông tin nhận dạng trước khi được dùng để tạo thông tin chi tiết về doanh nghiệp.
Trường này liên kết với trường "Lập mô hình cho nội dung đóng góp và thông tin chi tiết về doanh nghiệp" trong Giao diện người dùng quản trị của Google Analytics.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eGet data sharing settings for a Google Analytics account using an HTTP GET request.\u003c/p\u003e\n"],["\u003cp\u003eThis request requires the account ID as a path parameter and an empty request body.\u003c/p\u003e\n"],["\u003cp\u003eThe response provides a JSON representation of the account's data sharing settings, including various sharing options with Google and others.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is necessary using specific OAuth scopes related to Analytics read or edit permissions.\u003c/p\u003e\n"]]],["This document details how to retrieve data sharing settings for a Google Analytics account. A `GET` request is sent to `https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}`, where `name` specifies the account. The request body must be empty. The response contains a JSON object with fields such as `name`, and boolean values indicating sharing settings (e.g., `sharingWithGoogleSupportEnabled`). Access requires either `analytics.readonly` or `analytics.edit` OAuth scopes.\n"],null,["# Method: accounts.getDataSharingSettings\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DataSharingSettings.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGet data sharing settings on an account. Data sharing settings are singletons.\n\n### HTTP request\n\n`GET https://analyticsadmin.googleapis.com/v1alpha/{name=accounts/*/dataSharingSettings}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|----------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: `accounts/1000/dataSharingSettings` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA resource message representing data sharing settings of a Google Analytics account.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"sharingWithGoogleSupportEnabled\": boolean, \"sharingWithGoogleAssignedSalesEnabled\": boolean, \"sharingWithGoogleAnySalesEnabled\": boolean, \"sharingWithGoogleProductsEnabled\": boolean, \"sharingWithOthersEnabled\": boolean } ``` |\n\n| Fields ||\n|-----------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: \"accounts/1000/dataSharingSettings\" |\n| `sharingWithGoogleSupportEnabled` | `boolean` Allows Google technical support representatives access to your Google Analytics data and account when necessary to provide service and find solutions to technical issues. This field maps to the \"Technical support\" field in the Google Analytics Admin UI. |\n| `sharingWithGoogleAssignedSalesEnabled` | `boolean` Allows Google access to your Google Analytics account data, including account usage and configuration data, product spending, and users associated with your Google Analytics account, so that Google can help you make the most of Google products, providing you with insights, offers, recommendations, and optimization tips across Google Analytics and other Google products for business. This field maps to the \"Recommendations for your business\" field in the Google Analytics Admin UI. |\n| `sharingWithGoogleAnySalesEnabled` **(deprecated)** | `boolean` | This item is deprecated! Deprecated. This field is no longer used and always returns false. |\n| `sharingWithGoogleProductsEnabled` | `boolean` Allows Google to use the data to improve other Google products or services. This fields maps to the \"Google products \\& services\" field in the Google Analytics Admin UI. |\n| `sharingWithOthersEnabled` | `boolean` Enable features like predictions, modeled data, and benchmarking that can provide you with richer business insights when you contribute aggregated measurement data. The data you share (including information about the property from which it is shared) is aggregated and de-identified before being used to generate business insights. This field maps to the \"Modeling contributions \\& business insights\" field in the Google Analytics Admin UI. |\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics.edit`"]]