Google Admin SDK - google-admin-sdk

How to retrieve the Chromedevices assigned to a Calendar? I can retrieve the list of chrome devices or calendars under my domain but could not find the association between calendars and assigned devices?

Related

How to filter web traffic on Google Analytics based on type of user login using Django Authorization

I have a website where I have three different login accounts on a Django site: admin, customers, and sellers. Right now, the traffic for all three accounts is being aggregated together on Google Analytics. Does anyone know how I can tag traffic from each of these accounts so I can filter on my Google Analytics account?
My two guesses are:
I render some type of profile name into the creation of the Google Analytics instance that would allow me to filter in Google Analytics:
ga('create','UA-XXXXXXXX-X','{{ profile_type }}');
I create separate tracking IDs for each profile type and render those in depending on the account logged in. I don't necessarily want three different accounts on the Google Analytics side of things though, I just want to be able to filter between them. An example would be to insert this into the GA snipped when a user is logged in as an admin:
ga('create','UA-{{admin_ga_tracking_code}}')
Filtering by IP is not a solution because my admins and customers are all around the world and change.
Thank you for any insight you can provide!
Figured this out myself. I created a new property within Google Analytics and created a Universal Analytics property for each account type. You can learn more about Universal Analytic properties here:
https://support.google.com/analytics/answer/10269537?hl=en
I then rendered the Universal Analytic property on each base template I created for each different type of account.

it is possible to embed a private report into a web site & filtering access to data for non G users

We're trying to embed a GDS private report in our customer portal and we hope to filter the data using the email of the person connected to our customer portal . some of our users are no google users (they dont have an account gmail) and they're connected to this portal with an email and password form of authentification.
Our data is stored in Google Storage and we use Bigquery for querying and we use BQ connector to connect BQ and Google Data Studio.
There is any solution to do this ? parameters in GDS report URL ? Through API?
Any help will be appreciated.
Taoufiq.
The documentation states that the only sharing options are: a) Making the report public, or b) Have the user authenticate with a google account. Unfortunately, it neither has an API, nor support for parameters through URL yet.
This is possible to do using Community Connectors and some minor development work in your portal. You will need to pass a short lived unique token as a parameter for the embedded report and then have an API or some other way to tie that token to a user identity. This solution guide has instructions for this specific use case.

PowerBI for AD guest users

I have a PowerBI report I want to share with a Guest user of my AD.
I have provided a PowerBI license for this guest user and created a tab in a Teams channel. Unfortunately, he is not able to open the PowerBI report, he got a "The content isn't available".
What is the issue? Is it possible to assign a license to a guest user?
You have two options:
If you want the guest user to just consume the report, then you can share the dashboard with their external email address and they get an email invitation as described here.
If you want the guest user to author the report, then the user needs to sign in specifically to your Power BI tenant. This article and the documentation walk through the steps to find your tenant URL.

In Sitecore 7.5 is there a way to view a user's profile key values?

In Sitecore 7.5 I have created a test campaign. I have also created a test engagement plan. I set up the campaign to automatically enroll users in the initial state of my engagement plan. Then in my engagement plan I have a condition that checks for the value of a specific profile key. I am doing some local testing with test users and I cannot seem to figure out if there is any way for me to view a user's stored profile key values. Does this exist in Sitecore 7.5?
There is a Experience Profile Application in Sitecore 7.5, it is on the Launch Pad, On the login screen choose User Interface: Launch Pad.
Or use this url to /sitecore/shell/sitecore/Client/Applications/Launch Pad
In the Sitecore Experience Profile you can find contacts and see the profile.
The following blog is about adding custom tab with custom profile keys.
http://www.sitecore.net/learn/blogs/technical-blogs/getting-to-know-sitecore/posts/2014/09/using-custom-contact-data-part-1-experience-profile.aspx you need it if your desired key is not there.

application_id for promoted_object for AdSet of Facebook Marketing API

Question about application_id for promoted_object of Facebook Marketing API.
I'm trying to create Ads for mobile applications published to Apple App Store or Google Play Market. These are applications of my clients, they are not mine and I don't have access to them.
I have successfully created AdCampaign object with objective=MOBILE_APP_INSTALLS.
But I can't create AdSet object for this campaign.
AdSet requires promoted_object with application_id and object_store_url fields provided. While I can provide object_store_url (it's just a link to application app store page) but I can't provide application_id for this app because this application is not mine.
At the same time business.facebook.com web interface does not require application_id. It requires application_url only. Screenshots: http://take.ms/jFQyY http://take.ms/CCBGM http://take.ms/pmNap
How can I retrieve application_id using application appstore url?
Or maybe it is possible not to specify application_id field for promoted_object of AdCampaign with objective=MOBILE_APP_INSTALLS at all?
According to the Marketing API documentation for "Creating Ad Sets with Promoted Object", it says "You cannot specify an object_store_url on its own without an application_id, this is something only available via our native interfaces.".
To retrieve the application_id, you may try the Connection Objects API to get the list of connected Applications to your Ad User account. Your clients need to grant you the advertiser role to their Facebook Application first before you can start listing the applications via Connection Objects API.
Connection Objects API is able to return the object_store_urls, which means you don't need to provide the app store URL manually.