Hello Pere,

Do you get the same error if you provide *only* AdWords scope? Can you 
combine those calls to have a shared refresh token for both GA and AdWords 
API?


-Danial, AdWords API Team.


On Thursday, January 16, 2014 12:32:36 AM UTC+4, Pere Kyle wrote:
>
> Since about the beginning of december the oauth flow for our app has been 
> broken. It previously worked for ~3 months with no changes. It seems to 
> have coincided with the new permission page for oauth and only affects 
> functionality after an adwords token has been granted.
>
> Steps to reproduce:
> var clientId = 'ID.apps.googleusercontent.com';
> var scopes = 'https://adwords.google.com/api/adwords/ 
> https://www.googleapis.com/auth/userinfo.profile 
> https://www.googleapis.com/auth/userinfo.email';
> gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
> 'offline', response_type: 'code', prompt: 'select_account',authuser: -1}, 
> handleAuthResult);
>
> This flow works the first time and then subsequently fails even when not 
> trying to auth an Adwords account:
> var scopes = 'https://www.googleapis.com/auth/analytics.readonly 
> https://www.googleapis.com/auth/userinfo.profile 
> https://www.googleapis.com/auth/userinfo.email';
> gapi.auth.authorize({client_id: clientId, scope: scopes, access_type: 
> 'offline', response_type: 'code', approval_prompt: 'force', authuser: -1}, 
> handleAuthResult);
>
> After clicking on Adwords authorized account in account chooser
> ERROR: "*400.* That's an error.
>
> The page you requested is invalid. That's all we know."
>
> In the google account permissions page if I auth GA first and then adwords 
> it will only error after the adwords has been associated. I am desperate 
> for a solution as I cannot seem to fix it on my end, it must be a change in 
> the google permissions system.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to