Hi Paul I can confirm I'm not querying the sandbox and am using a valid API key. I've had success for a number of Analytics accounts connecting via the API (and the PHP code) but a couple of accounts have been giving this "Error=Unknown" upon login validation.
And to clarify, this is the url I'm connecting to https://www.google.com/accounts/ClientLogin Thanks Mike On Wednesday, October 24, 2012 1:50:54 AM UTC-7, Paul Matthews wrote: > > Hi Mike, > > Firstly, can I check that you were not querying the sandbox API. As this > accepts slightly different credentials (for more info see this > post<https://developers.google.com/adwords/api/docs/sandbox>). > Secondly, can I check that you followed the signing > up<https://developers.google.com/adwords/api/docs/signingup>guide and have an > approved developer token? > > -Paul, AdWords API Team. > > On Wednesday, 17 October 2012 10:25:22 UTC+1, Mike wrote: >> >> Hi there. So we have a client who tried to connect their Google Analytics >> via the API but was unsuccessful. However with the same credentials we can >> log into Analytics through a browser. So the credentials are correct. >> >> The error we got back was >> code: 403 >> error: Error=Unknown Url= >> https://www.google.com/accounts/ErrorMsg?Email=EMAIL&service=analytics&id=unknown&timeStmp=1350465611&secTok=TOKEN >> >> The account is the Administrator of the Google Analytics account and >> there is only one profile. As a test, another user was added to the >> Analytics account and API authentication was successful. The issue seems to >> be related to the main account. >> >> I'd appreciate any help on the issue. Thanks. >> > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.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 [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
