Skip to main content

GaProperty

A Google Analytics property imported for the current user, including enablement state and importer status surfaced from metadata records rather than live GA lookups. Returned by gaProperties and setEnabledGaProperties.

type GaProperty {
id: Int
name: String
enabledAt: Int
lastSuccessAt: Int
lastError: String
oldestImportedDataAt: Int
accountId: Int
accountName: String
currentTimezone: String
isNew: Boolean
createdAt: Int
}

Fields​

GaProperty.id ● Int scalar​

Google Analytics property ID, accepted by setEnabledGaProperties; not an internal record ID.

GaProperty.name ● String scalar​

GaProperty.enabledAt ● Int scalar​

Import enablement time in Unix seconds; null when disabled.

GaProperty.lastSuccessAt ● Int scalar​

Last successful import time in Unix seconds; null before a successful import.

GaProperty.lastError ● String scalar​

Last stored import error; null when no error is stored.

GaProperty.oldestImportedDataAt ● Int scalar​

Oldest imported data timestamp in Unix seconds; null before data is imported.

GaProperty.accountId ● Int scalar​

GaProperty.accountName ● String scalar​

GaProperty.currentTimezone ● String scalar​

Stored Google Analytics property timezone; null when unavailable.

GaProperty.isNew ● Boolean scalar​

Whether the property is still marked newly discovered; saving enabled properties clears this flag.

GaProperty.createdAt ● Int scalar​

Property record creation time in Unix seconds.

Returned By​

gaProperties query ● setEnabledGaProperties mutation

Member Of​

UserAccount object