Hi!

I am trying to re-use the example from here:
https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201502/Extensions/AddGoogleMyBusinessLocationExtensions.php

I need to obtain an access token for client's GMB account. I need to 
redirect user to the Google Auth Screen and get it back.
What is the scope I need to set?

For regular Adwords API access I am using the following URL:

$redirectUrl = 'https://accounts.google.com/o/oauth2/auth?' . implode('&', [
   "response_type=code",
   "client_id={$clientId}",
   "redirect_uri={$callbackUrl}",
   "scope=https://adwords.google.com/api%2Fadwords%2F";,
   "access_type=offline",
   "approval_prompt=force",
]);



I am not sure, what I need to set for the GMB account.
Please help.
Thanks.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c6269308-2aff-4477-8c2f-7e8075e1ada7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to