I just want to say that I am not a web developer.
I work at a high school and we have a Day 1 - 4 schedule rotation. I'm trying to create some sort of calendar that staff and students can subscribe (not sure if this is the correct word) to so that they can schedule information to existing calendars on their smartphones. Similar to how there are calendars for holidays and stuff like that. Google Calendar API allows you to create projects based on a variety of languages. Would I need to create an Android and iOS app to accomplish this or is there some sort of cross-platform scripting that I can use to implement this?
Sorry if what I'm asking seems weird, I'm very new to this API, but I have done some scripting for Google sheets and other Google products and this seems very different. I'm trying to phrase this question so that it's not opinion-based.
Based from the official documentation, you need to call the events.insert() method to create an event providing at least these parameters:
calendarId
event
But in order to successfully create events, you need to set your OAuth scope to https://www.googleapis.com/auth/calendar and ensures the authenticated user has write access to the calendar with the calendarId you provided (for example by calling calendarList.get() for the calendarId and checking the accessRole).
Check the examples in the documentation.
Related
I know I cant create a campaign on web browser, but I must do it only on the codes.
Do you have any good idea?
I'm sorry I'm bigginer of English and technology:(
Marketo does not provide a way to create programs or campaigns from the api. They must be created within the user interface. The level of complexity within a campaign would make it unwieldy to create from an api. You can list the campaign metadata, and activate/deactivate campaigns, but that's about it.
I would like to use the api like airbnb. I have search and read all posts/stackoveflow/google group that i can. I couldn't find the answer
In general i would like to do the following:
Would like the user to have the ability to insert advertise with full address
I would like to search in my db by city/street/country and radius according to users ads
Does i have to use api key? I have found autocomplete example without the api key and i works fine
Hope it makes sense.. I have looked on this Google group thread and this stackoverflow thread.. But i am not sure if this flow is allowed and optimise.
Thanks
I've released a mobile app (Android) which I track using Google Analytics. As my experience with Google Analytics is little, I did some mistakes by not knowing when to use events versus virtual pageviews.
My app has a login and a signup screen and I'd like to track the conversion rate of users signing up for an account. The app tracks the page views (/Account/Login and /Account/Create Account) and the actual login and account creation as individual events (Category: Account, Action:Logged In and Account Created).
So here's my problem: In order to do a nice funnel analysis, I should have created virtual pageviews instead of events if the user logs in or creates an account. Though I can create a goal based on events it will not tell me the drop off rates in the individual steps the user takes. Only the funnel visualization can do this AFAIK.
Is there a way to automatically create page views using custom filters in Google Analytics? I've tried to setup a filter like this:
Field A -> Extract A Event Category Account
Field B -> Extract B Event Action (Account Created|Logged In)
Output To -> Constructor Request URI /Account/$B1
Field A Required Yes
Field B Required Yes
Override Output Field Yes
Case Sensitive No
However, that doesn't seem to work. I do not see any additional page views or any other changes. Any suggestions?
(Of course I could release an update to the app and I will probably also do this soon, but the above solution would help me with my experiments right now - without having to alter the source code every time I have "a new idea" how to improve the analytics data)
Unfortunately I've found that it's impossible to achieve this without updating the mobile clients. However, moving forward I will take a closer look at Google Tag Manager which allows much greater flexibility.
I'm looking to create a custom alert to notify me whenever X number of people are on the site at once. This data is already available using the Real-Time reports page. However, this does not seem possible via the Intelligence Events section. From there, I'm only able to create custom alerts based off Day, Week, or Month data. Has anybody found another area of Google Analytics that would make this type of report possible?
Google Analytics have just launched a Beta of their Real Time API which might let you do this: http://techcrunch.com/2013/08/01/google-launches-real-time-api-for-analytics-in-invite-only-beta/
You can use the real-time API for that. It's been possible for quite a few years now. You can find all the documentation for that right here. It's typical OAuth + JSON API.
You can also use a paid service. I built one, Metrics Watch. It really depends of your goal and how critical this is to your business/job. If it's critical, I would highly encourage you to look for a paid service, no matter which one.
Hope that helps!
I am working Calendar API (Java).
My specific requirement is I want to add participant to event and at the same time want to specify the participants calendar.
Let us say I have 2 users. User-A and User-B
User-A is creating calendar event and adding User-B as participant
User-A's calendar is Cal-A and User-B's calendar is Cal-B.
Now when User-A adds User-B as participant, an event is created in User-B's calendar but is created in his/her static calendar. Is there is a way, how I can specify (using java api) that the invitation/ event created by User-B should go into User-B's Calendar-B?
Note: in the applicaiton program, I have access to both User-A' calendar and User-B's calendar.
Thanks in advance.
I believe the short answer is no...
Google Calendar, regardless of the API or the language you use, is based on the iCalendar standard, which, from my readings of it, does not have the concept of "Invite a participant and post event invitation on this specific calendar of that participant." If I'm wrong, the quickest way to get your answer and prove me wrong is to find evidence of such a feature in the iCalendar documentation.
I thought I had a workaround, which is "Hey, if you have access to person-B's calendar, why not just create the event on their calendar and add person-A as an attendee?" I did this by sharing one of my sub-calendars of one of my Google Calendar accounts with another. But sure enough, you get the same problem in reverse. Now person-B has the event in the right place, but person-A has it on their default calendar.
So depending on which is your "primary" account, you may want to go that route, but I'm guessing you find that about as appealing as what you're dealing with already.
The only other workaround I found (which was not all that great), is you can access Person-B's calendar and copy the invite to another calendar (the one you want), and then delete it from the main calendar. This will work (I tried it), but obviously it's not as graceful as what you had in mind. If you need specifics on how to copy/delete or how to access a specific non-default calendar, let me know and I'll post some examples.
It is possible (even if the solution isn't nice). If the person knows the ID of your other calendar (which is a valid email address), he can send the invitation to the email address. The ID can be found in the settings of the calendar and has the form ...#group.calendar.google.com.
Have a look at my other answer at a similar question for a list of drawbacks of this solution.