webproperties
Overview
Name | webproperties |
Type | Resource |
Id | googleanalytics.analytics.webproperties |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Web property ID of the form UA-XXXXX-YY. |
name | string | Name of this web property. |
childLink | object | Child link for this web property. Points to the list of views (profiles) for this web property. |
selfLink | string | Link for this web property. |
websiteUrl | string | Website url for this web property. |
internalWebPropertyId | string | Internal ID for this web property. |
level | string | Level for this web property. Possible values are STANDARD or PREMIUM. |
permissions | object | Permissions the user has for this web property. |
dataRetentionTtl | string | The length of time for which user and event data is retained. This property cannot be set on insert. |
profileCount | integer | View (Profile) count for this web property. |
accountId | string | Account ID to which this web property belongs. |
updated | string | Time this web property was last modified. |
dataRetentionResetOnNewActivity | boolean | Set to true to reset the retention period of the user identifier with each new event from that user (thus setting the expiration date to current time plus retention period). Set to false to delete data associated with the user identifier automatically after the rentention period. This property cannot be set on insert. |
created | string | Time this web property was created. |
parentLink | object | Parent link for this web property. Points to the account to which this web property belongs. |
kind | string | Resource type for Analytics WebProperty. |
defaultProfileId | string | Default view (profile) ID. |
industryVertical | string | The industry vertical/category selected for this web property. |
starred | boolean | Indicates whether this web property is starred or not. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
management_webproperties_get | SELECT | accountId, webPropertyId | Gets a web property to which the user has access. |
management_webproperties_list | SELECT | accountId | Lists web properties to which the user has access. |
management_webproperties_insert | EXEC | accountId | Create a new property if the account has fewer than 20 properties. Web properties are visible in the Google Analytics interface only if they have at least one profile. |
management_webproperties_patch | EXEC | accountId, webPropertyId | Updates an existing web property. This method supports patch semantics. |
management_webproperties_update | EXEC | accountId, webPropertyId | Updates an existing web property. |