Hi, I'm not a PHP expert, but it seems to me that you would need to pass a *space-delimited list* of scope strings for the *scope* parameter (see the OAuth2 scope documentation <https://developers.google.com/accounts/docs/OAuth2WebServer#scope>).
Thanks, Josh, AdWords API Team On Friday, January 9, 2015 at 1:55:04 PM UTC-5, VJ wrote: > > Hello, > > I am trying to set multiple scope to get user email as well users > permission to access their adwords, but i cant find any feasible way to add > scope, please advice me how can I set multiple scope to following code in > adwords api??? > > $offline = TRUE; > $extra_para = array(); > $extra_para['approval_prompt'] = 'force'; > > $OAuth2Handler = $user->GetOAuth2Handler(); > $authorizationUrl = > $OAuth2Handler->GetAuthorizationUrl($user->GetOAuth2Info(), $redirectUri, > $offline, $extra_para); > > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [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 Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. 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/af77e5ce-5564-43dd-ae2a-ea740450e615%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
