Get data sharing settings on an account. Data sharing settings are singletons.
HTTP request
GET https://analyticsadmin.googleapis.com/v1beta/{name=accounts/*/dataSharingSettings}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The name of the settings to lookup. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" |
Request body
The request body must be empty.
Response body
A resource message representing data sharing settings of a Google Analytics account.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "name": string, "sharingWithGoogleSupportEnabled": boolean, "sharingWithGoogleAssignedSalesEnabled": boolean, "sharingWithGoogleAnySalesEnabled": boolean, "sharingWithGoogleProductsEnabled": boolean, "sharingWithOthersEnabled": boolean } |
Fields | |
---|---|
name |
Output only. Resource name. Format: accounts/{account}/dataSharingSettings Example: "accounts/1000/dataSharingSettings" |
sharingWithGoogleSupportEnabled |
Allows Google support to access the data in order to help troubleshoot issues. |
sharingWithGoogleAssignedSalesEnabled |
Allows Google sales teams that are assigned to the customer to access the data in order to suggest configuration changes to improve results. Sales team restrictions still apply when enabled. |
sharingWithGoogleAnySalesEnabled |
Allows any of Google sales to access the data in order to suggest configuration changes to improve results. |
sharingWithGoogleProductsEnabled |
Allows Google to use the data to improve other Google products or services. |
sharingWithOthersEnabled |
Allows Google to share the data anonymously in aggregate form with others. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit