I am just trying the google Calendar API explorer and I am sure I have the right calendarId and I am sure the ruleId is my username that has access, but I always get the "Invalid Resource Id", and since I am just playing with the explorer I can't even add my own resource Id as many suggestions.
I posted the explorer below:
https://developers.google.com/apis-explorer/#s/calendar/v3/calendar.acl.get
The id is not just the calendar email (it always contains a prefix of the user kind). Try doing a list of acls first:
https://developers.google.com/apis-explorer/#s/calendar/v3/calendar.acl.list?calendarId=primary&_h=1&
Related
When querying events via the Google Calendar API (V3), I am unable to see the display name of the organizer of the event. The email field is populated however there is no display name.
From previous research I can only find mentions that in order to get the display name to populate, the GSuite user must also activate Google+ on the user's account. Is this seriously the only way to do it? Or are there any other API calls I can use to maybe retrieve this data?
Any help would be appreciated, Thanks!
You can check Daimto's answer from this SO post.
Display name is only added via the web view if it is a gmail account
and google has some way of knowing what the users name is. This might
also work if the user organizer has said user in their google contacts
google might be able to grab it that way as well.
Some time ago, I created a Google Calendar at calendar.google.com using Chrome Browser, and made it public. This was a calendar in addition to the default calendar provided with every Google identity - let's call it calendarX. I then sync'd calendarX with my Thunderbird (Lightning) client, and am still using it today with Thunderbird, to create & view events.
I now need to know the address of calendarX, so that I can share the link with others. So I logged into calendar.google.com with (what I thought were) the credentials of the calendar owner - but calendarX is missing, no reference to it at all.
So maybe I used some other Google identity to create the calendar?
The only clue I have is the calendar properties in Thunderbird (Lightning). It shows:
googleapi://MYEMAIL#MYDOMAIN/?calendar=MYDOMAIN_dq0l2urbXXXXlj9gcn5o2en1bc%40group.calendar.google.com
Doesn't MYEMAIL#MYDOMAIN imply the ownership of calendarX? That's the Google identity I have checked, and calendarX does NOT appear when I log into calendar.google.com with that identity. The default calendar is there, but not calendarX.
So maybe it's owned by some other identity? How can I find out?
Or how can I find the address of calendarX?
Google Calendars can be found by simply logging in your CORRECT email address which was used to create it. There's no tricky process in that. Just make sure it's your email address and not a service account that was used.
As an Admin of the GSuite system, you can add any calendar to your own account. If you can find the calendar ID from a user who has access to the calendar by going into the calendar settings is the way I did it, you can just add the calendar to your account using the calendar ID URL, once it is in your account as a super admin you can see who created the calendar and you can change who has access and the rights. Very simple but not documented anywhere I could find.
I need to catch from a website, the list of users (IDs from User Explorer) that has been entered each day, and all the report from each one (User Report)
I didn't see anything about it in the current API from Google Analytics. Someone knows how to get it?
I saw some questions but from more than 1 year ago, someone knows if there is now any new?
The only thing that I can do for now, is using the automatic report from Google Analytics via email, and send me a report each day with a list of Client IDs en CSV, but I need the report...
Thank you very much!
Capture the Google Analytics Client ID or user id in a custom dimension and hit timestamp. Then you can recreate the user explorer id report yourself using the Google Analytics Reporting API.
I am attempting to bring Doubleclick Campaign Manager dimensions through the GA API and am getting the following error message -
"Restricted dimension(s): (DCM dimensions I entered in the query string) can only be queried under certain conditions. For details see https://developers.google.com/analytics/devguides/reporting/core/dimsmets.
There is no guidance on that referencing site. Has anyone run into and solved this - or is it an auth restriction (shouldn't be: I have admin rights to the property).
thanks
If your property is not Google Analytics 360 you cannot query any of the metrics of the DCM. Take a look again here beside each metrics explanation there is the (Analytics 360 only). That is the only thing I can think if you also have admin rights on the property. Also check if you are authenticated with the correct account in any API or Query Explorer you are using
I'm trying to pull data from a google analytics and put it into a google doc spreadsheet. The main issues seems to be I can't enter my GA Key. All the tutorials have said to enter it in a text box that should be at the end of the resources -> use Google API form. But I see no textbox there, only a message that I have to enable the APIs in the API console to use them.
I've confirmed that I do have Google Analytics enabled in the API console.
The error messages I get are either User does not have sufficient permissions for this profile. or Analytics not defined if I try to type my API key in the text box that says 'Analytics' (which leads me to believe that's defining the variable image).
Since the script is running as "you" you do not need to enter the GA id - it will use the permissions for the account that you were logged in with while creating and authorising that script. That account needs admin permissions for the Google Analytics account you intend to query.
The box that you thought is for the API key holds the name for the analytics object in the script. If you change that you'd need to change all instances of "Analytics" in the script to the name you entered.
For example there is a line in the script that goes:
var accounts = Analytics.Management.Accounts.list();
This will list all accounts connected to the user who authorised that script. You see that the first part is "Analytics" (the global Analytics object in the script), if you enter something in the resources->Google APIs tab you'd need to change that as well - that's why you get an error message "Analytics is not defined" when you change that value.
Hard to tell about your actual problem, probably you are just missing admin permissions in analytics.