ga_accounts: List account metadata

View source: R/accounts.R

ga_accountsR Documentation

List account metadata

Description

This gets a list of account meta data, that can be used in other management API functions.

Usage

ga_accounts()

Details

This gets the meta data associated with the accounts you have access to with your user. If you want all information such as web properties and viewIds, use ga_account_list instead.

Value

A data.frame with accountid, name, an R datetime object (POSIXct) when the account was created and last updated, and the effective permissions your user has for those accounts.

See Also

Other account structure functions: ga_account_list(), ga_view(), ga_view_list(), ga_webproperty(), ga_webproperty_list()

Examples


## Not run: 

library(googleAnalyticsR)
ga_auth()
ga_accounts()


## End(Not run)

MarkEdmondson1234/googleAnalyticsR_public documentation built on Sept. 7, 2024, 6:27 a.m.