On Tue, Oct 26, 2010 at 10:21 AM, Olemis Lang <[email protected]> wrote:
>> On Oct 15, 12:19 pm, AdWords API Advisor
>> <[email protected]> wrote:
>> > On Oct 15, 10:12 am, Stephen <[email protected]> wrote:
>> > >
>> > > I've been writing unit tests to test our new connector for the v2009
>> > > API as its being developed. Sometime yesterday afternoon I started
>> > > getting authentication errors and I'm unsure why, hoping someone can
>> > > point me in the right direction. I've been running these tests all
>> > > week and had no issues, and then all of a sudden I started getting
>> > > these errors:
>
>> > > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/
>> > > envelope/"><soap:Header><ResponseHeader xmlns="https://
>> > > adwords.google.com/api/adwords/cm/
>> > > v200906"><requestId>5ff342e9a250520327ea011f82e8cdf5</
>> > > requestId><operations>2</operations><responseTime>99</
>> > > responseTime><units>2</units></ResponseHeader></
>> > > soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</
>> > > faultcode><faultstring>AuthenticationError.NOT_ADS_USER @ ;
>> > > trigger:'399966687432'</faultstring><detail><ApiExceptionFault
>> > > xmlns="https://adwords.google.com/api/adwords/cm/
>> > > v200906"><message>AuthenticationError.NOT_ADS_USER @ ;
>> > > trigger:'399966687432'</
>> > > message><ApplicationException.Type>ApiException</
>> > > ApplicationException.Type><errors xmlns:xsi="http://www.w3.org/2001/
>> > > XMLSchema-instance" xsi:type="AuthenticationError"><fieldPath></
>> > > fieldPath><trigger>399966687432</
>> > > trigger><ApiError.Type>AuthenticationError</
>> > > ApiError.Type><reason>NOT_ADS_USER</reason></errors></
>> > > ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
>> > > Any help? Why am I no longer an Ads User (?)
>> >
>> > Hi Stephen,
>>`>
>> > Are you making these requests against the sandbox environment? The
>> > sandbox was refreshed yesterday, which means that all accounts were
>> > cleared from the system. In order to reinitialize your account you
>> > must run the method AccountService.getClientAccounts(). More
>> > information is available
>> > here:http://code.google.com/apis/adwords/articles/adwords_api_sandbox_best....
>
> Hi ! I'm experiencing this difficulty as well, against the sandbox and
> using valid values for user name and password and ... I know
> everything is ok because credentials work against v13 sandbox. Now I'm
> testing against v201008 sandbox and auth doesn't work .
>
> I moved forward and tried both GetClientAccounts and GetAccountInfo
> (the former suggested above, the later used in Python client
> unittests ;o) and I always get this error
>
> {{{
> #!python
>
> $ /path/to/virtualenv/bin/python ./adstest.py
> Traceback (most recent call last):
> File "./adstest.py", line 28, in <module>
> account_service.GetAccountInfo()
> File "/path/to/virtualenv/lib/python2.5/site-packages/adspygoogle/
> adwords/AccountService.py", line 64, in GetAccountInfo
> return self.__service.CallMethod(method_name, ())
> File "/path/to/virtualenv/lib/python2.5/site-packages/adspygoogle/
> adwords/AdWordsWebService.py", line 185, in CallMethod
> self._op_config['group'], self._op_config['version']])
> KeyError: 'group'
>
> }}}
>
> Any thoughts or suggestion ?
>
BTW I suppose this is the right forum to post this kind of questions .
If so, I'd like to know :
- Is `group` option mandatory in this case (it wasn't before and
still it is not required for v13 sandbox) ?
- What value should I use if working against the sandbox ?
I'm actually migrating a previous app that worked with v13.
> Thnx in advance !
>
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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