Resource: Property
A resource message representing a Google Analytics property.
JSON representation |
---|
{ "name": string, "propertyType": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of this property. Format: properties/{property_id} Example: "properties/1000" |
property |
Immutable. The property type for this Property resource. When creating a property, if the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be implied. |
create |
Output only. Time when the entity was originally created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
update |
Output only. Time when entity payload fields were last updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
parent |
Immutable. Resource name of this property's logical parent. Note: The Property-Moving UI can be used to change the parent. Format: accounts/{account}, properties/{property} Example: "accounts/100", "properties/101" |
display |
Required. Human-readable display name for this property. The max allowed display name length is 100 UTF-16 code units. |
industry |
Industry associated with this property Example: AUTOMOTIVE, FOOD_AND_DRINK |
time |
Required. Reporting Time Zone, used as the day boundary for reports, regardless of where the data originates. If the time zone honors DST, Analytics will automatically adjust for the changes. NOTE: Changing the time zone only affects data going forward, and is not applied retroactively. Format: https://www.iana.org/time-zones Example: "America/Los_Angeles" |
currency |
The currency type used in reports involving monetary values. Format: https://en.wikipedia.org/wiki/ISO_4217 Examples: "USD", "EUR", "JPY" |
service |
Output only. The Google Analytics service level that applies to this property. |
delete |
Output only. If set, the time at which this property was trashed. If not set, then this property is not currently in the trash can. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
expire |
Output only. If set, the time at which this trashed property will be permanently deleted. If not set, then this property is not currently in the trash can and is not slated to be deleted. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted.Examples: |
account |
Immutable. The resource name of the parent account Format: accounts/{account_id} Example: "accounts/123" |
PropertyType
Types of Property
resources.
Enums | |
---|---|
PROPERTY_TYPE_UNSPECIFIED |
Unknown or unspecified property type |
PROPERTY_TYPE_ORDINARY |
Ordinary Google Analytics property |
PROPERTY_TYPE_SUBPROPERTY |
Google Analytics subproperty |
PROPERTY_TYPE_ROLLUP |
Google Analytics rollup property |
IndustryCategory
The category selected for this property, used for industry benchmarking.
Enums | |
---|---|
INDUSTRY_CATEGORY_UNSPECIFIED |
Industry category unspecified |
AUTOMOTIVE |
Automotive |
BUSINESS_AND_INDUSTRIAL_MARKETS |
Business and industrial markets |
FINANCE |
Finance |
HEALTHCARE |
Healthcare |
TECHNOLOGY |
Technology |
TRAVEL |
Travel |
OTHER |
Other |
ARTS_AND_ENTERTAINMENT |
Arts and entertainment |
BEAUTY_AND_FITNESS |
Beauty and fitness |
BOOKS_AND_LITERATURE |
Books and literature |
FOOD_AND_DRINK |
Food and drink |
GAMES |
Games |
HOBBIES_AND_LEISURE |
Hobbies and leisure |
HOME_AND_GARDEN |
Home and garden |
INTERNET_AND_TELECOM |
Internet and telecom |
LAW_AND_GOVERNMENT |
Law and government |
NEWS |
News |
ONLINE_COMMUNITIES |
Online communities |
PEOPLE_AND_SOCIETY |
People and society |
PETS_AND_ANIMALS |
Pets and animals |
REAL_ESTATE |
Real estate |
REFERENCE |
Reference |
SCIENCE |
Science |
SPORTS |
Sports |
JOBS_AND_EDUCATION |
Jobs and education |
SHOPPING |
Shopping |
ServiceLevel
Various levels of service for Google Analytics.
Enums | |
---|---|
SERVICE_LEVEL_UNSPECIFIED |
Service level not specified or invalid. |
GOOGLE_ANALYTICS_STANDARD |
The standard version of Google Analytics. |
GOOGLE_ANALYTICS_360 |
The paid, premium version of Google Analytics. |
Methods |
|
---|---|
|
Acknowledges the terms of user data collection for the specified property. |
|
Creates a Google Analytics property with the specified location and attributes. |
|
Marks target Property as soft-deleted (ie: "trashed") and returns it. |
|
Lookup for a single GA Property. |
|
Returns the singleton data retention settings for this property. |
|
Returns child Properties under the specified parent Account. |
|
Updates a property. |
|
Returns a customized report of data access records. |
|
Updates the singleton data retention settings for this property. |