Hmmm,

I hope this data can help resolve the problem. Best,

The problem in php is:
107       fclose($file);
108     }
109     $matches = array();
110     if (preg_match(ReportUtils::$REPORT_ERROR_MESSAGE_REGEX,
$result,
111         $matches)) {
112       throw new ReportDownloadException($matches[2]);
113     }
114
115     // Return results.
116     if (isset($path)) {
117       return $downloadSize;

###################################

This is content of download-ed report:
!!!1|||1904|||Unexpected exception???

###################################

This is from request log:
[Mar 17 2011 09:34:01.000000 - INFO] email=hhhhhh@kdkdkkd
effectiveUser=7339911736 service=ReportDefinitionService method=mutate
operators={ADD: 1} responseTime=507
requestId=aea59087d05b266c27fba7f318b267ed operations=1 units=1
server=adwords-sandbox.google.com isFault=false faultMessage=null

###################################

And this is from soap log:
User-Agent: PHP-SOAP/5.3.3-7, gzip
Accept-Encoding: gzip, deflate
Content-Encoding: gzip
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 858

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:ns1="https://adwords.google.com/api/adwords/cm/
v201101" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <ns1:RequestHeader xsi:type="ns1:RequestHeader">
      <ns1:authToken>*****</ns1:authToken>
      <ns1:clientCustomerId>7339911736</ns1:clientCustomerId>
      <ns1:developerToken>b8pFfRA3kkPt0kVPURMQVg</ns1:developerToken>
      <ns1:userAgent>AwApi-PHP-2.5.0-INSERT_COMPANY_NAME_HERE</
ns1:userAgent>
    </ns1:RequestHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <ns1:mutate>
      <ns1:operations>
        <ns1:operator>ADD</ns1:operator>
        <ns1:operand>
          <ns1:selector>
            <ns1:fields>CampaignId</ns1:fields>
            <ns1:fields>AdGroupId</ns1:fields>
            <ns1:fields>CityCriteriaId</ns1:fields>
            <ns1:fields>CountryCriteriaId</ns1:fields>
            <ns1:fields>RegionCriteriaId</ns1:fields>
            <ns1:fields>MetroCriteriaId</ns1:fields>
            <ns1:fields>Impressions</ns1:fields>
            <ns1:fields>Clicks</ns1:fields>
            <ns1:fields>Ctr</ns1:fields>
            <ns1:fields>AverageCpc</ns1:fields>
            <ns1:fields>Cost</ns1:fields>
          </ns1:selector>
          <ns1:reportName>geo performance report #1300351395</
ns1:reportName>
          <ns1:reportType>GEO_PERFORMANCE_REPORT</ns1:reportType>
          <ns1:hasAttachment>false</ns1:hasAttachment>
          <ns1:dateRangeType>LAST_MONTH</ns1:dateRangeType>
          <ns1:downloadFormat>CSV</ns1:downloadFormat>
          <ns1:crossClient>false</ns1:crossClient>
        </ns1:operand>
      </ns1:operations>
    </ns1:mutate>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
SOAPAction: ""
Content-Encoding: gzip
Transfer-Encoding: chunked
Date: Thu, 17 Mar 2011 08:43:16 GMT
Expires: Thu, 17 Mar 2011 08:43:16 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE

<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
  <soap:Header>
    <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <requestId>d959d9bcbeb2857109d676c4078c5f32</requestId>
      <operations>1</operations>
      <responseTime>321</responseTime>
      <units>1</units>
    </ResponseHeader>
  </soap:Header>
  <soap:Body>
    <mutateResponse xmlns="https://adwords.google.com/api/adwords/cm/
v201101">
      <rval>
        <id>1906</id>
        <selector>
          <fields>CampaignId</fields>
          <fields>AdGroupId</fields>
          <fields>CityCriteriaId</fields>
          <fields>CountryCriteriaId</fields>
          <fields>RegionCriteriaId</fields>
          <fields>MetroCriteriaId</fields>
          <fields>Impressions</fields>
          <fields>Clicks</fields>
          <fields>Ctr</fields>
          <fields>AverageCpc</fields>
          <fields>Cost</fields>
        </selector>
        <reportName>geo performance report #1300351395</reportName>
        <reportType>GEO_PERFORMANCE_REPORT</reportType>
        <hasAttachment>false</hasAttachment>
        <dateRangeType>LAST_MONTH</dateRangeType>
        <downloadFormat>CSV</downloadFormat>
        <creationTime>20110317 014316 America/Los_Angeles</
creationTime>
        <crossClient>false</crossClient>
      </rval>
    </mutateResponse>
  </soap:Body>
</soap:Envelope>

On Mar 17, 6:19 am, "Anash P. Oommen" <[email protected]>
wrote:
> Hi Luka,
>
> What errors are you seeing when trying to download the report? Could you
> post the sanitized response from trying to download the report online?
>
> Cheers,
> Anash P. Oommen,
> AdWords API Advisor.

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