I am building an application to migrate from Google Apps Calendar to Outlook Web app Calendar. I can retrieve Calendar events from Google Apps using Google Calendar Api v3 except the Recurring events. I am getting the recurrence field as strings defining an RRULE, EXRULE, RDATE or EXDATE rule as defined by the RFC 2445.
"RRULE:FREQ=WEEKLY;UNTIL=20110701T160000Z".
How to parse such Recurrence rules into various EWS managed Api Recurrence functions and patterns ?
Is there a third party library which can help me in this regard ? Or EWS managed api has a built-in functionality to parse such Rules?
Related
Google Analytics 4 allows new custom audiences to be created:
I want to do this programmatically through a web API, but I can't see any documentation. Is it possible to create audiences in Google Analytics 4 using an API?
Google have confirmed that "the creation of audiences is not yet supported in Admin API" and have raised a feature request. They've not given a timeline for implementation but suggested following the Google Analytics API Notify group for future updates.
I need to remember that even after this feature is implemented in the GA Admin grpc API, it will also need to be supported in the .NET client library that I'm using, so there will take some additional time.
Not sure when added, but...
Web API:
https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/properties.audiences/create
.NET client:
https://googleapis.dev/dotnet/Google.Analytics.Admin.V1Alpha/latest/api/Google.Analytics.Admin.V1Alpha.AnalyticsAdminService.AnalyticsAdminServiceClient.html#Google_Analytics_Admin_V1Alpha_AnalyticsAdminService_AnalyticsAdminServiceClient_CreateAudience_Google_Analytics_Admin_V1Alpha_CreateAudienceRequest_Grpc_Core_CallOptions_
So we are using Reporting V3 API in our custom dashboard to retrieve custom reports from multiple GA properties. Now some of our customers have GA4 properties which doesn't show up in properties list. Question is, to support both versions (GA3 and GA4) the only alternative now is to use Reporting V3 and Data API for different properties or did we miss something and there's one API which can be used for both GA versions?
There are two versions of Google analytics now Universal analytics and GA4 they are completely different and have different APIs designed for each one.
Google analytics reporting api allows you to access data from Universal analytics accounts.
Google Analytics GA4 is a completely different system and is not supported by the reporting api to access data behind a GA4 account you will need to use the Google analytics data api
there is also the Google analytics admin API which is the equivalent for the Management api for GA4. so if you want to be able to list a customers GA4 accounts you will need to use that api as well.
Note: The admin api is currently in alpha, and the data api is currently in beta. Take that into account before developing production applications using these apis.
Been using google calendar api for a year now without the need to verify the app. Just this week it just appears to be needed verification because it is using sensitive scopes
I've build a web based on Java using Spring MVC (database MySQL) . Now I'd like to add web analytic functionalities on it. For example, I need to know the duration of each session by user, what kind of transaction performed the most. etc.
What kind of API I can use for this ? Is Spring XD or Google Analytic the one I am looking for ?
You need to install Google Analytics on your pages. Place JavaScript snippet on every page of your application: https://developers.google.com/analytics/devguides/collection/analyticsjs/
You can track transaction via Tracking API. You can use JavaScript API or generic Measurement Protocol. You need to set up events: https://developers.google.com/analytics/devguides/collection/analyticsjs/events .
You can get reports via Core Reporting API: https://developers.google.com/analytics/devguides/reporting/core/v3/ .
Here is Java Quickstart: https://developers.google.com/analytics/devguides/reporting/core/v3/quickstart/service-java
How to generate Google Analytics tracking code programmatic-ally?
I am new to Google Analytics API, can someone please help
It is NOT possible to create new Google Analytics accounts or profiles programmatically using the existing APIs.
There are two APIs available, the Data Export API and the Management API. However, they are bot read-only.
With the Google Analytics Data Export API, you can develop client applications to request data from an existing Analytics profile for an authorized user, and refine the results of the request using query parameters. Currently, the Data Export API supports read-only access to your Google Analytics data.
Currently, the Management API supports read-only access to five components of the Google Analytics Management system: Account data,Profile data, Web property data, Goal data, Advanced segments
Seems like it's finally possible in 2021 with alpha api.
https://developers.google.com/analytics/devguides/config/admin/v1/rest/v1alpha/properties/create#authorization-scopes
It's not currently possible to create Google Analytics accounts automatically at the moment but generating the tracking code is possible.
The only real variation between the tracking code generated each time you create a profile for a new domain is the web property ID. This is in the format UA-XXXXXXX-X. Each X is a number - the first 7 numbers are the account number and the number after the last dash relates to each web property set up for the account.
You can use the accounts feed of the API to get a list of accounts and their profiles. If an account only has one profile then it's possible to use the web property ID of it to automatically generate the tracking code. However, if there's multiple web properties then you would need a way to decide which one to use (present the user with a selection list etc).