Hi guys, I'm trying to get an AdHoc Report to download through the API Sandbox, but I keep getting the message "Report XML is invalid". I get this after sending this request from the PHP Client Library:
[Nov 10 2011 17:17:05.000000 - ERROR] POST > /api/adwords/reportdownload/v201109 HTTP/1.1 > User-Agent: curl, gzip > Host: adwords-sandbox.google.com > Accept: */* > Accept-Encoding: gzip > Authorization: GoogleLogin auth=***** > developerToken: ***** > clientCustomerId: 7870203836 > returnMoneyInMicros: false > Content-Length: 1180 > Expect: 100-continue > Content-Type: multipart/form-data; > boundary=----------------------------f9503743436c > Parameters: > __rdxml: <?xml version="1.0"?> > <reportDefinition> > <selector> > <fields>CampaignId</fields> > <fields>Id</fields> > <fields>Name</fields> > <fields>Impressions</fields> > <fields>Clicks</fields> > <fields>Cost</fields> > <predicates> > <field>Status</field> > <operator>IN</operator> > <values>ENABLED</values> > <values>PAUSED</values> > </predicates> > <dateRange> > <min> > <date>2011-11-08 17:17:00</date> > <timezone_type>3</timezone_type> > <timezone>Europe/Berlin</timezone> > </min> > <max> > <date>2011-11-08 17:17:00</date> > <timezone_type>3</timezone_type> > <timezone>Europe/Berlin</timezone> > </max> > </dateRange> > </selector> > <reportName>Automatic placements performance report > #1320941824</reportName> > <reportType>AUTOMATIC_PLACEMENTS_PERFORMANCE_REPORT</reportType> > <dateRangeType>CUSTOM_DATE</dateRangeType> > <downloadFormat>GZIPPED_XML</downloadFormat> > <includeZeroImpressions>false</includeZeroImpressions> > </reportDefinition> > Response Code: 400 > Error Message: Report XML is invalid Any clues why I keep getting this message? I'm not seeing what I'm doing wrong. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
