Hi,
When I called the gmb api ('https://mybusiness.googleapis.com/v4/accounts'
with access token) to get the location listing of our account, I got :
'{ StatusCodeError: 403 - {"error":{"code":403,"message":"Request had
insufficient authentication scopes.","status":"PERMISSION_DENIED"}}.'
and in headers, it said:
'www-authenticate:
'Bearer realm="https://accounts.google.com/", error=
"insufficient_scope", scope="https://www.googleapis.com/auth/business.manage
https://www.googleapis.com/auth/plus.business.manage"''.
I added the scope into my google adword oauth client id, and the access
token was also generated in google adword oauth client id. What's the
reason of this error? Is it because I added the scope to the wrong client?
Maybe I should add it in my google oauth client not the google adword oauth
client?
Thanks!!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/a5484031-4807-446e-a2f0-f672c72c3c72%40googlegroups.com.