I'm using Google API PHP Client, to manage my Google Calendar in a web app.
It appears the reminders set through Google Calendar, get re-send by the API class. So I get 2 different notification emails for the same reminder. One is from Google itself, the other is a very simplified plain-text from the API class (I think). The sender from the 2nd one is the email address registered with the Calendar API app.
How do I disable these extra email notifications from the API class?
Edit: Removing the reminder via Google Calendar, also disables the extra reminder from the API class. So it's linked, obviously.
Related
I want to create events in my own google Calendar through PHP API.
Should I use Google Service Account for that ?
I have followed google tutorials, and setup a service account , and
created code to insert events into my calendar. The code is working
fine, the events are not appearing on my calendar.
It seems using service account, it's sending events to some other calendar belonging to the service account , but not to my own calendar.
Note: I have a web application, I just want to send some events in to my own google calendar ( not any other user's just my own single calendar).
What I found so far is that using Service account is the right approach if you want to edit your own google calendar entries through API.
But you need to give permissions to the service account for the calendar you wish to work on using google Calendar settings.
To give permission to service account, you just need to add the service account email ID (auto generated , when creating a service account) on the google calendar settings page , under "permissions" section.
I am creating a system which manages freight shipments for my client. Part of this system is to create Google Calendar events for the different deadlines for each shipment.
I am using the Google Client Library for PHP. Every event I create displays the service email address as the creator. I would like to instead display the name of the system. I know that I can emulate a different account through OAuth, but this seems like it should be unnecessary. I'm sure there are a lot of systems out there that generate and manage events and to create two accounts just to have a user-friendly name seems like a hack-ish solution.
I am sending calendar meeting invitation to user's email.
When receiver accepts invitation then it appears in receivers calendar but I am not able to get response.
Is there any way that I can get response and use it in my website?
Google Service Account is the perfect solution in this case. In this, users do not need any API detail instead site owner needs API detail. Read Google service account documentation and you will find solution of your problem.
We're looking for some specific expertise with respect to sharing access to Google Calendar accounts via the Google Calendar v3 API. Once the calendar is created, we are creating ACL rules to allow access by other email addresses. Our problem lies in having the auto-generated invitation sent to non-Google email addresses. Unlike a Gmail address, which automatically gets the calendar added to the Gmail address' calendar, we've found that if the email address has not been previously linked to a Google account, it does not automatically receive an invite from Google to the Calendar as it would if the the address was shared manually via the web browser interface. We are able to manually have the invitation sent out by manually deleting the API created ACL rule from the calendar's share list and then manually adding the email address again, which prompts to send the invitation. Naturally, we want that invitation sent automatically when the ACL rule is added by the API.
Note, this has nothing to do with sending event notifications. This is for access to view the calendar itself.
Is there anyone with some relevant experience that can enlighten us on this behaviour?
I've downloaded the PHP client library for Google Adwords API. I need to insert my login details in /src/Google/Api/Ads/AdWords/auth.ini. One of the variable is developerToken.
How can I get it?
Directly from the API...
Your assigned Developer Token will be activated once your application
for API access is approved. Your token will be available through your
AdWords API Center—accessible through the My Account menu for the MCC
account you applied with. You'll be able to access the API by
including it in your request headers when interacting with our system.
It is very important that you keep your Contact Email up to date—we
may send you important information regarding disruptions to service
and urgent changes via this channel.
https://developers.google.com/adwords/api/docs/signingup
I understand this might be old, but since Google updated their API, let me share my experience.
You need to create an MCC account (My Client Center), basically if you already have a Google Adwords account you cannot use it to generate developerToken however, you still can you use same Gmail account to create a new MCC account.
Follow below:
https://adwords.google.com/home/tools/manager-accounts/
Click on Start Now
Probably you are already logged in using your Gmail account, in all cases use your Gmail account in the email address field.
Choose name for your account let's say main-account
Do not click save and continue
Check below picture, you need to click, click here in the message below.
You will then redirect to the main dashboard, where you can click on Tools and then under SETUP tab you will find Adwords API Centre where you will be able to generate developerToken
you have to use the developer token from your live account. The token will work fine even if its status is pending