Can I disable email notifications of changes in a Google Doc via Google Apps Script? - email

I have a Google Form that when submitted, a Google Apps Script generates a Google Doc with the information submitted and some magic behind it. This Google Doc is emailed to various people for collaboration purposes.
Whenever someone makes a comment, I get an email notification of the comment, flooding my inbox. I know I can disable the notifications manually from the Doc, but can I disable them via Google Apps Script to avoid that manual step?
The Google Doc is created by making a copy from a template. I disabled the notification settings in the template, but those settings are not being carried over to the copy.
Any help is greatly appreciated! Thanks!

Related

Lack of permission to publish change

we need help to be able to publish some changes to our gmail addon configuration.
The original developer who submitted the addon for review has since left the company. Now I need to make some changes to the marketplace listing for the gmail addon, because the logo icon images are broken. Fill out the google form to "request access" here https://console.cloud.google.com/apis/api/appsmarket-component.googleapis.com/googleapps_sdk?project=citric-celerity-000&folder&organizationId , then told to come here for more help.
Might be related to this issue
Changes on published apps

Getting Branch's Deeplink key value through Facebook ads

I have created a Branch link with some keys and values.
My app uses those values for multiple reasons. It works well when I open the link directly on my mobile browser or from a message.
But I want to use this link in a Facebook App download ad campaign. I have putted it as the ad deeplink. But when I install and then open the app via the ad thoses values are not sent.
Does anyone has managed to send keys/values via a branch link through a Facebook ad ?
Thanks
Matthias
Jackie from Branch here.
Branch supports deep-linked Facebook ads. We've created an FAQ page exactly for this and there are a few things you can check to diagnose the issue. You can go through them here (https://docs.branch.io/pages/deep-linked-ads/facebook-ads-faq/#troubleshooting-deep-linking). I'd also encourage you to use Facebook's tester tool, as mentioned in our FAQ doc.
Hope this helps. If you continue to experience issues, please feel free to reach out to us directly at integrations#branch.io. When you do, be sure to include your Branch app ID and the ad links you're using so that we can investigate further!

DialogFlow: Google Calendar Event function from Google Actions (Oauth2)?

I have created an agent in DialogFlow that interacts with the user giving her the ability to check for details like demographic from a back-end database. I have achieved this using Fulfillment/Webhook calls and have successfully parsed/returned different types of Responses to the user to play with. I have tested this on both an Android device and the Google Actions Simulator.
Now, what I want to achieve is to give user the ability to "Set a Reminder" on a platform like Google Calendar or similar through my App. By default, Google Assistant does this by simply telling it to "remind me..." and Google creates a reminder in the calendar. But as soon as I invoke my app, the Assistant is out of scope so using the "remind me" command won't work. I want to use the Google Calendar for example to create a reminder through my agent so that the user is notified at the due time.
I understand that when the user invokes an App in Google Assistant, she is using her Google credentials so I guess if I want to use the App to create a reminder, I should have the option. I have had a look at the Calendar API but I am not sure if I should proceed that way. Is there a better way of achieving this?
Please note, I want to use a reminder service that is available to the user without subscribing to a third-party service.
The Calendar API is the way to go. Details here.
In those docs you'll see reference to the access token, which you can get by using the helper intent askForSignIn (example of use here in one of Google's example projects).
Hope this helps!
So for all those who are facing the same issue, here is what I did:
First created an account on https://auth0.com
Followed this guide to configure the necessary settings to link to Google Assistant (ignored the Jovo part)
Used Auth0 guide to configure and link to my Google project credentials (ignored the Admins SDK Service part)
Now when I run my Google Actions App on the device, a button "Link [App Name] to Google" showed up. Clicking on that "signed me in".
Parsed the response in my webhook to grab originalRequest.data.user.accessToken
This is the token mentioned in #lukedavis answer. The next step was to use the token to execute a call to the Calendar API. Upon trying that, I am facing a different problem which I am trying to find the solution for. But the above should assist those who wish get the accessToken.

Developer Access to Google Assistant Conversation History

I am developing a Google Assistant app for Google Home, and about to launch the app. I am wondering, once my app is live on the Google Assistant platform, whether I (as a developer) would have access to all of the conversation histories as users interact with my app.
If so, does Actions on Google / Google have some sort of interface to view / download the history? Or, do I have to log and capture the history myself? I thought the history will be really helpful for me to improve my app.
Many thanks!
It depends a bit on how you have built your Action.
If you have built it with one of the templates - then no, you don't have access to the conversations.
If you have built it with the Actions SDK or with Dialogflow, then you will have access to quite a bit of information that is delivered to your fulfillment webhook. If you have intents that do not send anything to your webhook - you will not get that information.
There are tools that help you examine conversation flow, see where users get stuck or fall out of the conversation, or how they're using your Action. Most of them have good integration with the Actions on Google libraries. I use a combination of Chatbase, Dashbot.io, and Google Analytics.

Link Analytics API to my Google Developers account

When I sign in to Google Developers console and go to the Enabled APIs tab, I see "No enabled APIs". I used to see the Analytics API here and now it's no longer there. That's because the project associated with it is gone.
I believe this happened when I switched my old Google account to the new Google Apps for Work account. It asked me to choose between the two because they had the same email address and I chose to keep the new one.
Unfortunately the old one had all the Developers APIs associated with it. :(
The Analytics API is still working, it's just no longer associated to my account. Is it possible to link it back to my account?
Thanks for your help,
Philip
PS. I can provide my Google email account and the Google Analytics API client id on request if needed.