Hi,
I am testing what will be a web app auth flow.
I have created an MCC account, and also have a google developer client ID and secret. I go through the web app flow that I mimic via the Google Sandbox token process. From this process, I am able to get a refresh token. I attempt to run a simply get campaigns script in PHP, and receive the following error:
{
"error": "unauthorized_client",
"error_description": "Unauthorized"
}
My client-id is not associated with a "service account"; it is a regular account which I use for other Google apis. Basically, i am looking for a simply login flow to allow multiple, independent users to grant me access to their accounts. My questions are as follows:
1. Do I need to get a service account if I don't mind it Google asking the user to allow for me to have access to their account when getting a authorization code?
2. Can I simply go through "installed app" procedure as is recommended?
Please let me know if you need me to clarify any steps; thank you very much in advance.
Thanks,
Tim