Hi!

Since last Saturday 29th of January, we are experiencing trouble with 
setting the custom time ranges in our Reports. The problem is easily 
reproducable on our side using the Java Client Library: 

We assemble a new ReportDefinition and an according 
ReportDefinitionOperation (SET) to set the custom date range, ie. 
'20110119-20110119'. We run mutate() on the ReportDefinitionServiceInterfaceand 
inspect the result, which is supposed to be the updated 
ReportDefinition containing the new time range. The time range, however, is 
not updated but remains '20110120-20110120' (which we may have set it to at 
an earlier date).

The following SOAP trace further illustrates the problem. We first set up a 
request to update the time range to '20110119-20110119' and receive as the 
response the incorrectly updated ReportDefinition.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
        <ns1:RequestHeader 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next";
            soapenv:mustUnderstand="0"
            xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201008";>
            <ns1:authToken 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201008";>******</ns1:authToken>
            <ns1:clientCustomerId>XXX-XXX-XXXX</ns1:clientCustomerId>
            <ns1:developerToken>XXXXXXXXXXXXXXXXXXX</ns1:developerToken>
            <ns1:userAgent>AdWords API Java Client Library - v8.2.2 -
                automated-visualmeta-agent</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
            <operations>
                <operator>SET</operator>
                <operand>
                    <id>11940986</id>
                    <selector>
                        <fields>Date</fields>
                        <fields>Id</fields>
                        <fields>KeywordText</fields>
                        <fields>KeywordMatchType</fields>
                        <fields>AdGroupId</fields>
                        <fields>Cost</fields>
                        <fields>Clicks</fields>
                        <dateRange>
                            <min>201101*19*</min>
                            <max>201101*19*</max>
                        </dateRange>
                    </selector>
                    <reportType>KEYWORDS_PERFORMANCE_REPORT</reportType>
                    <hasAttachment>false</hasAttachment>
                    <dateRangeType>CUSTOM_DATE</dateRangeType>
                    <downloadFormat>GZIPPED_CSV</downloadFormat>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>

Please check out the according response below. The erreounus date range is 
marked in red.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
            <requestId>b31721dc355adc94de3183c72fe90038</requestId>
            <operations>1</operations>
            <responseTime>428</responseTime>
            <units>400</units>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <mutateResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201008";>
            <rval>
                <id>11940986</id>
                <selector>
                    <fields>Date</fields>
                    <fields>Id</fields>
                    <fields>KeywordText</fields>
                    <fields>KeywordMatchType</fields>
                    <fields>AdGroupId</fields>
                    <fields>Cost</fields>
                    <fields>Clicks</fields>
                    <dateRange>
                        <min>201101*20*</min>
                        <max>201101*20*</max>
                    </dateRange>
                </selector>
                <reportName>Daily Keywords Information Report</reportName>
                <reportType>KEYWORDS_PERFORMANCE_REPORT</reportType>
                <hasAttachment>false</hasAttachment>
                <dateRangeType>CUSTOM_DATE</dateRangeType>
                <downloadFormat>GZIPPED_CSV</downloadFormat>
                <creationTime>20110121 090436 
America/Los_Angeles</creationTime>
            </rval>
        </mutateResponse>
    </soap:Body>
</soap:Envelope>

Any help will be appreciated! The weird thing is that our code ran fine just 
until last Saturday (Central European Time).

Johannes

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