Set options(googleAuthR.scopes.selected = c(https://www.googleapis.com/auth/tagmanager.edit.containers, https://www.googleapis.com/auth/tagmanager.manage.accounts, https://www.googleapis.com/auth/tagmanager.readonly) Then run googleAuthR::gar_auth() to authenticate. See gar_auth for details.

gtm_account(accountId)

Arguments

accountId

accountId to request