sheets addon returning sampled data from custom table

921 views
Skip to first unread message

Tobias McVey

unread,
May 4, 2016, 4:12:05 AM5/4/16
to google-analytics-spreadsheet-add-on
My custom tables have unsampled data in Google Analytics, and my google sheets reporting addon was fetching unsampled data from them with a daily schedule. 

Yesterday I noticed the addon is returning sampled data, even though the data in my custom tables is unsampled. Why is this happening? How can I fix this?

I have several custom tables, all of them have custom segments, and within Google Analytics they are working as they should. So the issue is related to the addon.

Has the change in the reporting API for Google analytics affected the addon? I see the addon used the Core Reporting API (last version was 3), which appears to be replaced by a new Analytics Reporting API v4.

If this is causing the change, will the google sheets addon be updated to retrieve data using the new v4 Analytics Reporting API?


Philip Walton

unread,
May 17, 2016, 9:36:23 PM5/17/16
to google-analytics-spreadsheet-add-on
Hey Tobias, there was a bug in the API related to this that's been fixed. I believe things should work now. Let me know if it doesn't.

Tobias McVey

unread,
May 18, 2016, 3:50:57 AM5/18/16
to google-analytics-spreadsheet-add-on
Hi Philip

Thank you! All the reports are now fetching unsampled data, and the demos and tools page also works 


In case this happens again, is it possible to create a Google App Script report using GA APIV4 that creates an unsampled report (using management API) if the report is sampled? I see you updated the reporting API but I don't know if you are updating the management API as well.

Philip Walton

unread,
May 18, 2016, 12:57:13 PM5/18/16
to Tobias McVey, google-analytics-spreadsheet-add-on
It's technically possible if you wanted to try doing it yourself, but it's not something I'm planning on adding to this add-on.

One of the main hurdles you'd face is if you're requesting unsampled data and you want to put it in a Google Sheet, you'll likely run into the 2 million cell limit (I think that's still the limit), so even if you get it working, it may not actually be usable with Google Sheets.


--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-analytics-spreadsheet-add-on/a44d757d-0d78-4a62-a07d-646706bf6192%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

anal...@raccoon.ag

unread,
May 19, 2016, 3:02:42 PM5/19/16
to google-analytics-spreadsheet-add-on, tob...@opera.com
Hi, I am still getting this error.

I have an unsampled segmented report on GA but sampled in addon.

We have g.a. premium for this property and it is a report with 2 lines but uses 3kk sessions on GA. on the sheet report we got 1kk sessions and sampled data.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spreadsheet-add-on+unsubscribe@googlegroups.com.

Philip Walton

unread,
May 19, 2016, 3:07:18 PM5/19/16
to anal...@raccoon.ag, google-analytics-spreadsheet-add-on, Tobias McVey
The sampling in the API is different from the sampling in GA for premium properties, you're probably just noticing this difference.

Since you didn't use the words "custom tables" I'm assuming this is a different issue from what Tobias reported.

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

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spread...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-analytics-spreadsheet-add-on/c7a30a50-77ba-49ee-ab04-4f7dff4c34a9%40googlegroups.com.

anal...@raccoon.ag

unread,
May 19, 2016, 3:16:09 PM5/19/16
to google-analytics-spreadsheet-add-on, anal...@raccoon.ag, tob...@opera.com
They are custom tables, with custom segments. In GA there is no sampling, but I get sampled data in the addon
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spreadsheet-add-on+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "google-analytics-spreadsheet-add-on" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-analytics-spreadsheet-add-on+unsubscribe@googlegroups.com.

jul...@torcedores.com

unread,
Mar 30, 2020, 10:55:01 AM3/30/20
to google-analytics-spreadsheet-add-on
Hi Philip, 

I have the same problem. How can I fix this?

Tks.
Reply all
Reply to author
Forward
0 new messages