Hi, I am trying to download a report through the API. When I set to the
report download format to CSV, it works fine. But, when I switch to XML,
the file that is download is empty. It just contains a blank string that is
300+ characters is length. Any idea what the issue is? I am using the PHP
Client Library. Here is the log that is generated:
[Jan 04 2013 15:56:53.000000 - INFO] POST
/api/adwords/reportdownload/v201209 HTTP/1.1
User-Agent: curl, gzip
Host: adwords.google.com
Accept: */*
Accept-Encoding: gzip
Authorization: [removed]
developerToken: [removed]
clientCustomerId: [removed]
returnMoneyInMicros: false
Content-Length: 637
Expect: 100-continue
Content-Type: multipart/form-data;
boundary=----------------------------e4f66f82fb9b
Parameters:
__rdxml: <?xml version="1.0"?>
<reportDefinition>
<selector>
<fields>Clicks</fields>
<fields>Cost</fields>
<fields>Impressions</fields>
<dateRange>
<min>20121201</min>
<max>20121231</max>
</dateRange>
</selector>
<reportName>50e750229b82d</reportName>
<reportType>ACCOUNT_PERFORMANCE_REPORT</reportType>
<dateRangeType>CUSTOM_DATE</dateRangeType>
<downloadFormat>XML</downloadFormat>
<includeZeroImpressions>false</includeZeroImpressions>
</reportDefinition>
Response Code: 200
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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