Тарас, добрый день,
Эта проблема должна быть уже исправлена. Дайте знать, если ошибка всё еще появляется. Спасибо. -Даниил, команда AdWords API. Original Message Follows: ------------------------ From: Тарас Бунык<[email protected]> Subject: Re: AwApi-Python-15.1.2 generates INVALID_DATE_RANGE request Date: Tue, 31 Jan 2012 23:52:32 -0800 (PST) > К сожалению могу: > > DEBUG:soap_xml:StartTime: 2012-02-01 09:44:10 > *** Outgoing HTTP headers > ********************************************** > POST /api/adwords/info/v201109/InfoService HTTP/1.0 > Host:adwords-sandbox.google.com > User-agent:SOAPpy 0.12.0 (pywebsvcs.sf.net) > XML-parser: PyXML v0.8.3 > Content-type:text/xml; charset="UTF-8" > Content-length:1539 > SOAPAction:"get" > ************************************************************************ > *** Outgoing SOAP > ****************************************************** > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/ > soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/ > encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:xsi3="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Header xmlns="https://adwords.google.com/api/adwords/info/ > v201109" xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109"> > <RequestHeader> > <cm:developerToken>[email protected]++USD</cm:developerToken> > <cm:userAgent>AwApi-Python-15.1.2|UAPROMAdwordsClient</ > cm:userAgent> > <cm:authToken>Ax1HiK60-eGLyi4PqkOw</cm:authToken> > </RequestHeader> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <get xmlns="https://adwords.google.com/api/adwords/info/v201109" > xmlns:cm="https://adwords.google.com/api/adwords/cm/v201109" > xmlns:info="https://adwords.google.com/api/adwords/info/v201109"> > <selector xsi3:type="info:InfoSelector"> > <info:dateRange xsi3:type="cm:DateRange"> > <cm:min>20120201</cm:min> > <cm:max>20120201</cm:max> > </info:dateRange> > <info:clientEmails>[email protected]</ > info:clientEmails> > <info:includeSubAccounts>true</info:includeSubAccounts> > <info:apiUsageType>UNIT_COUNT_FOR_CLIENTS</info:apiUsageType> > </selector> > </get> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > ************************************************************************ > *** Incoming HTTP headers > ********************************************** > HTTP/1.? 500 Internal Server Error > Content-Type: text/xml; charset=UTF-8 > Date: Wed, 01 Feb 2012 07:44:11 GMT > Expires: Wed, 01 Feb 2012 07:44:11 GMT > Cache-Control: private, max-age=0 > X-Content-Type-Options: nosniff > X-Frame-Options: SAMEORIGIN > X-XSS-Protection: 1; mode=block > Server: GSE > ************************************************************************ > *** Incoming SOAP > ****************************************************** > <?xml version="1.0" encoding="UTF-8"?> > <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader xmlns="https://adwords.google.com/api/adwords/info/ > v201109" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ > v201109"> > <ns2:requestId>0004b7e23ecb3ba80a0d9b07000068c8</ns2:requestId> > <ns2:serviceName>InfoService</ns2:serviceName> > <ns2:methodName>get</ns2:methodName> > <ns2:operations>1</ns2:operations> > <ns2:responseTime>479</ns2:responseTime> > <ns2:units>1</ns2:units> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[ApiUsageError.INVALID_DATE_RANGE @ > selector.dateRange]</faultstring> > <detail> > <ApiExceptionFault xmlns="https://adwords.google.com/api/adwords/ > info/v201109" xmlns:ns2="https://adwords.google.com/api/adwords/cm/ > v201109"> > <ns2:message>[ApiUsageError.INVALID_DATE_RANGE @ > selector.dateRange]</ns2:message> > <ns2:ApplicationException.Type>ApiException</ > ns2:ApplicationException.Type> > <ns2:errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="ApiUsageError"> > <ns2:fieldPath>selector.dateRange</ns2:fieldPath> > <ns2:trigger/> > <ns2:errorString>ApiUsageError.INVALID_DATE_RANGE</ > ns2:errorString> > <ns2:ApiError.Type>ApiUsageError</ns2:ApiError.Type> > <reason>INVALID_DATE_RANGE</reason> > </ns2:errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > ************************************************************************ > EndTime: 2012-02-01 09:44:11 > > On Jan 31, 1:30 pm, Danial Klimkin <[email protected]> > wrote: > > Тарас, добрый день, > > > > Проверил только что такой запрос и не получил ошибки. Вы все еще можете > > воспроизвести проблему? > > > > -Даниил, команда AdWords API. > > -- > =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ > 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 > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
