Hi Eric,

Before I do, can you confirm that this is in fact a correctly formed
request so I can write out the query being the problem:

<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/
encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:ZSI="http://www.zolera.com/schemas/ZSI/"; xmlns:xsd="http://
www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance">
    <SOAP-ENV:Header>
        <RequestHeader xmlns="https://adwords.google.com/api/adwords/
cm/v201008">
            <authToken>--SNIP!--</authToken>
            <userAgent>AwApi-Python-13.0.0|harvester</userAgent>
            <clientCustomerId>4233758376</clientCustomerId>
            <developerToken>--SNIP!--</developerToken>
        </RequestHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body xmlns:ns1="https://adwords.google.com/api/adwords/
cm/v201008">
        <ns1:get xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201008">
            <ns1:selector>
                <ns1:statsSelector>
                    <ns1:dateRange>
                        <ns1:min>20101031</ns1:min>
                        <ns1:max>20101031</ns1:max>
                    </ns1:dateRange>
                </ns1:statsSelector>
            </ns1:selector>
        </ns1:get>
    </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

This query was fired on 2010-11-01 for 2010-10-31 (pulls back
yesterdays data.)

Thanks,
Andy.

On Nov 1, 4:04 pm, AdWords API Advisor <adwordsapiadvi...@google.com>
wrote:
> Hi Andy,
>
> Issues related to the Python client library and not the SOAP API
> itself should be posted here:
>
>  http://code.google.com/p/google-api-adwords-python-lib/issues/list
>
> Best,
> - Eric Koleda, AdWords API Team
>
> On Oct 28, 6:04 pm, Andy <wanabewi...@googlemail.com> wrote:
>
> > Hi,
>
> > I'm running:
>
> > - Python 2.6
> > - adwords_api_python_13.0.0
> > - ZSI
> > - ElementTree
>
> > When i run my code under Ubuntu, everything works nicely. When i run
> > it under RedHat Enterprise Linux, I get the following error:
>
> > Traceback (most recent call last):
> >   File "apiharvester.py", line 40, in <module>
> >     datetime.date.today()-datetime.timedelta(days=1)
> >   File "/home/andy/projects/HarvesterStuff.py", line 104, in
> > fetchAdwordsStats
> >     campaigns = cs.Get(selector)[0]
> >   File "/usr/lib/python2.6/site-packages/adspygoogle/adwords/
> > CampaignService.py", line 83, in Get
> >     'Campaign', self._loc, request)
> >   File "/usr/lib/python2.6/site-packages/adspygoogle/adwords/
> > AdWordsWebService.py", line 255, in CallMethod
> >     self.__ManageSoap(buf, start_time, stop_time, error)
> >   File "/usr/lib/python2.6/site-packages/adspygoogle/adwords/
> > AdWordsWebService.py", line 130, in __ManageSoap
> >     raise Error(e)
> > adspygoogle.common.Errors.Error
>
> > Is there any known differences in how python behaves between the two
> > platforms? If not, how might i go about debugging this please?
>
> > Many thanks in advance for any help.
>
> > Andy.

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

Reply via email to