Hi,
I have created a timeline chart using google visualization that pulls data
from a private google sheet.
I'd like to share this timeline with other people in my organization. When
me or anyone tries to access it now when the sheet is set to private I get
an access_denied error.
My data is connected like so:
var query = new
google.visualization.Query('https://docs.google.com/spreadsheets/d/yourapiyourapi/tq?gid=yourgidyourgid&headers=1&tq='
+ queryString);
query.send(handleQueryResponse);
I get an error saying:
Error in query: ACCESS_DENIED This spreadsheet is not publicly viewable and
requires an OAuth credential. For more information, see
https://support.google.com/docs/?p=gviz_tq_auth
I've read the documentation but everything on stackoverflow is from 2011
and is outdated.
The examples here are not clear:
https://developers.google.com/google-ads/scripts/docs/examples/oauth20-library
Thank you
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-visualization-api/35f09b19-a1f8-4661-aeee-0e9fc565d027%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.