Forgot something important , please read below

On Tue, Nov 2, 2010 at 4:05 PM, Olemis Lang <[email protected]> wrote:
> On Tue, Nov 2, 2010 at 3:22 PM, Olemis Lang <[email protected]> wrote:
>> On Tue, Nov 2, 2010 at 1:46 PM, AdWords API Advisor
>> <[email protected]>  wrote:
>>> Hi Olemis,
>>>
>>
>> Thnx for your reply .
>> :o)
>>
>>> If the email you specified is the target account then you shouldn't
>>> specify a clientEmail at all.
>>
>> That's what I thought after reviewing the original code of the app
>> before upgrading it to use v201008 . However , if I omit clientEmail
>> then I get
>>
>> {{{
>> #!python
>>
>> Traceback (most recent call last):
>>  [...]
>>  File 
>> "/path/to/venv/lib/python2.5/site-packages/adspygoogle/adwords/AdWordsWebService.py",
>> line 125, in __ManageSoap
>>    raise e
>> AdWordsRequestError: Code 94: Must specify a client in order to do
>> traffic estimates.
>> }}}
>>
>> The same happens if I set clientEmail to an empty string . So, I
>> suppose something weird is happening .
>>
>> What's wrong ? Is it an error specific to Python library ? How could I
>> work around this ?
>>
>>> A clientEmail is only necessary when
>>> you are authenticating as an MCC user and need to target the request
>>> to a specific client account.
>>>
>>
>> PS: BTW I'm using Python client library.
>>
>
> I'll try to elaborate more on this and document the results I got
> (hopefully you'll find out that I'm an organized person ;o)
>
> || Service || clientEmail = email || Patched || clientEmail = '' || No
> client Email ||
> || Sandbox || Error 1 || ok || Error 3 || Error 3 ||
> || Adwords || Error 1 || Error 2 || Error 3 || Error 3 ||
>
> Errors
> --------
>
> 1- Cannot serialize recursive object
> 2- Code 1: The request did not contain a header named 'email'.
> 3- Code 94: Must specify a client in order to do traffic estimates.
>
> `Patch` column shown above means that SOAPpy was patched by changing
>

... and clientEmail = email ...

> {{{
> #!python
>
> if self.use_refs == 0 :
> }}}
>
> ... to use this instead ...
>
> {{{
> #!python
>
> if self.use_refs == 0 and not isinstance(obj, basestring):
> }}}
>
> inside SOAPBuilder.py (SOAPpy) . The problem with recursiveness is due
> to the fact that (quite often in Python) string objects are singletons
> that share the same identity (i.e. `id`) even if declared in different
> locations .
>


-- 
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

Reply via email to