GAM and Google Reports API: Customer Usage

1,533 views
Skip to first unread message

Steffen

unread,
Feb 6, 2015, 9:44:53 AM2/6/15
to google-ap...@googlegroups.com
Hello,

I wondered if the Google Reports API: Customer Usage is integrated within GAM. I'm especially looking for the fields mentioned here: https://developers.google.com/admin-sdk/reports/v1/reference/usage-ref-appendix-a/customers-docs
Some months ago I was able to get these fileds with "gam print users allfields" but now they are not included anymore. Did I just messed up the api scopes on the Google domain (what scope is needed for this?) or is it something else?


Best 

Steffen

Jay Lee

unread,
Feb 6, 2015, 9:48:24 AM2/6/15
to google-ap...@googlegroups.com
gam report domain

should have these details. For more information, take a look at the Wiki:



Jay Lee

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-manager/e0774214-25eb-47c0-a5c0-c79f42998c45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Steffen

unread,
Feb 6, 2015, 11:19:34 AM2/6/15
to google-ap...@googlegroups.com
Hi Jay,

thank you for your fast reply :)

That's not the output I was looking for. I had a report for each user of the domain with these culomns:

email,date,accounts:is_disabled,accounts:disabled_reason,accounts:drive_used_quota_in_mb,accounts:first_name,accounts:gmail_used_quota_in_mb,accounts:gplus_photos_used_quota_in_mb,accounts:is_2sv_enforced,accounts:is_2sv_enrolled,accounts:is_delegated_admin,accounts:is_super_admin,accounts:is_suspended,accounts:last_name,accounts:num_authorized_apps,accounts:num_roles_assigned,accounts:creation_time,accounts:last_login_time,accounts:last_sso_time,accounts:total_quota_in_mb,accounts:used_quota_in_mb,accounts:used_quota_in_percentage,
docs:num_docs,docs:num_docs_edited,docs:num_docs_externally_visible,docs:num_docs_internally_visible,docs:num_docs_not_edited_for_12months,docs:num_docs_not_edited_for_3months,docs:num_docs_not_edited_for_6months,docs:num_docs_not_viewed_for_12months,docs:num_docs_not_viewed_for_3months,docs:num_docs_not_viewed_for_6months,docs:num_docs_shared_outside_domain,docs:num_docs_viewed,docs:num_docs_with_visibility_anyone_with_link,docs:num_docs_with_visibility_people_at_domain,docs:num_docs_with_visibility_people_at_domain_with_link,docs:num_docs_with_visibility_private,docs:num_docs_with_visibility_public,docs:num_drawings,docs:num_drawings_edited,docs:num_drawings_viewed,docs:num_forms,docs:num_forms_edited,docs:num_forms_viewed,docs:num_presentations,docs:num_presentations_edited,docs:num_presentations_viewed,docs:num_shared_docs,docs:num_spreadsheets,docs:num_spreadsheets_edited,docs:num_spreadsheets_viewed,docs:num_text_documents,docs:num_text_documents_edited,docs:num_text_documents_viewed,docs:num_uploaded_files,docs:num_uploaded_files_edited,docs:num_uploaded_files_viewed,docs:last_interaction_time,
gmail:is_gmail_enabled,gmail:num_emails_exchanged,gmail:num_emails_received,gmail:num_emails_sent,gmail:num_spam_emails_received,gmail:last_access_time,gmail:last_imap_time,gmail:last_interaction_time,gmail:last_pop_time,gmail:last_webmail_time


Best 

Steffen

Jay Lee

unread,
Feb 6, 2015, 11:21:40 AM2/6/15
to google-ap...@googlegroups.com
Looks like you're looking for "gam report users" then. Be aware that the docs reports you referred to no longer work. To see the new Drive reports you need to upgrade to Google Apps Unlimited (or be an EDU customer).


Jay Lee

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

DIEGO GONZALEZ ESPINILLA

unread,
Feb 25, 2015, 9:26:05 AM2/25/15
to google-ap...@googlegroups.com
Hi Jay.

My domain is upgraded to Google Apps Unlimited, but gam report users dont display docs report.

If I use gam report docs, always get 0 items.

Regards


El viernes, 6 de febrero de 2015, 17:21:40 (UTC+1), Jay Lee escribió:
Looks like you're looking for "gam report users" then. Be aware that the docs reports you referred to no longer work. To see the new Drive reports you need to upgrade to Google Apps Unlimited (or be an EDU customer).


Jay Lee

On Fri, Feb 6, 2015 at 11:19 AM, Steffen <steffe...@gmail.com> wrote:
Hi Jay,

thank you for your fast reply :)

That's not the output I was looking for. I had a report for each user of the domain with these culomns:

email,date,accounts:is_disabled,accounts:disabled_reason,accounts:drive_used_quota_in_mb,accounts:first_name,accounts:gmail_used_quota_in_mb,accounts:gplus_photos_used_quota_in_mb,accounts:is_2sv_enforced,accounts:is_2sv_enrolled,accounts:is_delegated_admin,accounts:is_super_admin,accounts:is_suspended,accounts:last_name,accounts:num_authorized_apps,accounts:num_roles_assigned,accounts:creation_time,accounts:last_login_time,accounts:last_sso_time,accounts:total_quota_in_mb,accounts:used_quota_in_mb,accounts:used_quota_in_percentage,
docs:num_docs,docs:num_docs_edited,docs:num_docs_externally_visible,docs:num_docs_internally_visible,docs:num_docs_not_edited_for_12months,docs:num_docs_not_edited_for_3months,docs:num_docs_not_edited_for_6months,docs:num_docs_not_viewed_for_12months,docs:num_docs_not_viewed_for_3months,docs:num_docs_not_viewed_for_6months,docs:num_docs_shared_outside_domain,docs:num_docs_viewed,docs:num_docs_with_visibility_anyone_with_link,docs:num_docs_with_visibility_people_at_domain,docs:num_docs_with_visibility_people_at_domain_with_link,docs:num_docs_with_visibility_private,docs:num_docs_with_visibility_public,docs:num_drawings,docs:num_drawings_edited,docs:num_drawings_viewed,docs:num_forms,docs:num_forms_edited,docs:num_forms_viewed,docs:num_presentations,docs:num_presentations_edited,docs:num_presentations_viewed,docs:num_shared_docs,docs:num_spreadsheets,docs:num_spreadsheets_edited,docs:num_spreadsheets_viewed,docs:num_text_documents,docs:num_text_documents_edited,docs:num_text_documents_viewed,docs:num_uploaded_files,docs:num_uploaded_files_edited,docs:num_uploaded_files_viewed,docs:last_interaction_time,
gmail:is_gmail_enabled,gmail:num_emails_exchanged,gmail:num_emails_received,gmail:num_emails_sent,gmail:num_spam_emails_received,gmail:last_access_time,gmail:last_imap_time,gmail:last_interaction_time,gmail:last_pop_time,gmail:last_webmail_time


Best 

Steffen

Am Freitag, 6. Februar 2015 15:48:24 UTC+1 schrieb Jay Lee:
gam report domain

should have these details. For more information, take a look at the Wiki:



Jay Lee


--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

Jay Lee

unread,
Feb 26, 2015, 10:02:36 AM2/26/15
to google-ap...@googlegroups.com
The new report is:

gam report drive

note that the fields differ from what "gam report docs" offered.


Jay Lee

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.

To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

DIEGO GONZALEZ ESPINILLA

unread,
Feb 27, 2015, 9:37:43 AM2/27/15
to google-ap...@googlegroups.com
Thanks Jay.

This report is very very extended, like audit drive document, but simple fileds like num docs, spreadsheets, presentations, or columns docs:num_docs,docs:num_docs_edited,docs:num_docs_externally_visible,docs:num_docs_internally_visible, etc ..  no longer appear.

Is there any way to display those fields?

Regards


Jay Lee



Jay Lee

To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsubscribe...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.

--
You received this message because you are subscribed to the Google Groups "Google Apps Manager" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-manager+unsub...@googlegroups.com.
To post to this group, send email to google-ap...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-apps-manager.
Reply all
Reply to author
Forward
0 new messages